@font-face {
    font-family: 'Somalia';
    src: url('fonts/somalia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0a0a0f 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #bfa763, #d4c178);
    box-shadow: 
        0 0 40px rgba(191, 167, 99, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #8b7355, #bfa763);
    box-shadow: 
        0 0 50px rgba(191, 167, 99, 0.2),
        inset 0 0 25px rgba(255, 255, 255, 0.1);
    top: 70%;
    left: 80%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #bfa763, #d4c178);
    box-shadow: 
        0 0 30px rgba(191, 167, 99, 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #8b7355, #bfa763);
    box-shadow: 
        0 0 45px rgba(191, 167, 99, 0.25),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    top: 30%;
    left: 70%;
    animation-delay: -15s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    background: linear-gradient(45deg, #bfa763, #d4c178);
    box-shadow: 
        0 0 60px rgba(191, 167, 99, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    top: 80%;
    left: 30%;
    animation-delay: -3s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

.container {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
    justify-content: center;
    padding: 20px;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.login-card, .signup-card {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(191, 167, 99, 0.3);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    min-width: 380px;
    height: fit-content;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(191, 167, 99, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out;
    transform-style: preserve-3d;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-panel {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(191, 167, 99, 0.3);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    min-width: 380px;
    height: fit-content;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(191, 167, 99, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideInRight 0.8s ease-out 0.3s backwards;
    transform-style: preserve-3d;
}

.panel-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-card::before, .signup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #bfa763, transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.logo-3d {
    display: inline-block;
    position: relative;
    transform-style: preserve-3d;
    animation: logoFloat 3s ease-in-out infinite;
}

.skull-icon {
    position: relative;
    font-size: 42px;
    filter: drop-shadow(0 10px 20px rgba(191, 167, 99, 0.4));
    text-shadow: 
        0 0 20px rgba(191, 167, 99, 0.5),
        0 0 40px rgba(191, 167, 99, 0.3);
}

.skull-face {
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

.crossbones {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.7;
    z-index: 1;
    animation: rotate 8s linear infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-8px) rotateY(15deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) scale(0.6) rotate(0deg); }
    to { transform: translate(-50%, -50%) scale(0.6) rotate(360deg); }
}

.title {
    font-family: 'Somalia', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #bfa763, #d4c178, #bfa763);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleGlow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(191, 167, 99, 0.3);
    flex-shrink: 0;
}

@keyframes titleGlow {
    from { 
        filter: drop-shadow(0 0 10px rgba(191, 167, 99, 0.3));
        background-position: 0% 50%;
    }
    to { 
        filter: drop-shadow(0 0 20px rgba(191, 167, 99, 0.6));
        background-position: 100% 50%;
    }
}

.login-form, .signup-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-group {
    position: relative;
    margin-bottom: 18px;
    animation: slideIn 0.6s ease-out backwards;
}

.input-group:nth-child(1) { animation-delay: 0.1s; }
.input-group:nth-child(2) { animation-delay: 0.2s; }
.input-group:nth-child(3) { animation-delay: 0.3s; }
.input-group:nth-child(4) { animation-delay: 0.4s; }

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.icon-3d {
    font-size: 18px;
    filter: drop-shadow(0 4px 8px rgba(191, 167, 99, 0.4));
    animation: iconBob 2s ease-in-out infinite;
    transition: all 0.3s ease;
    text-shadow: 
        0 0 10px rgba(191, 167, 99, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.input-group:focus-within .icon-3d {
    transform: scale(1.2) rotateY(20deg);
    filter: drop-shadow(0 6px 12px rgba(191, 167, 99, 0.6));
    text-shadow: 
        0 0 15px rgba(191, 167, 99, 0.7),
        0 2px 6px rgba(0, 0, 0, 0.4);
}

@keyframes iconBob {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    z-index: 3;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(191, 167, 99, 0.3));
}

.password-toggle:hover {
    background: rgba(191, 167, 99, 0.1);
    transform: translateY(-50%) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(191, 167, 99, 0.5));
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(191, 167, 99, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus {
    outline: none;
    border-color: #bfa763;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 0 0 3px rgba(191, 167, 99, 0.15),
        0 8px 32px rgba(191, 167, 99, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #bfa763, #d4c178, #bfa763);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    color: #0a0a0f;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 18px 0;
    animation: slideIn 0.6s ease-out 0.5s backwards;
    box-shadow: 
        0 8px 25px rgba(191, 167, 99, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(191, 167, 99, 0.4),
        0 0 50px rgba(191, 167, 99, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    background-position: 100% 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 
        0 5px 15px rgba(191, 167, 99, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.form-links {
    text-align: center;
    animation: slideIn 1s ease-out 0.8s backwards;
    margin-top: auto;
    flex-shrink: 0;
}

.link-animated {
    color: #bfa763;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 10px;
    font-size: 14px;
}

.link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #bfa763, #d4c178);
    transition: width 0.3s ease;
}

.link-animated:hover {
    color: #d4c178;
    transform: translateY(-1px);
    text-shadow: 0 0 10px rgba(191, 167, 99, 0.5);
}

.link-animated:hover::after {
    width: 100%;
}

.signup-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.welcome-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #bfa763, #d4c178);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(191, 167, 99, 0.3);
    flex-shrink: 0;
}

.subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    font-size: 15px;
    flex-shrink: 0;
}

.section-title {
    color: #bfa763;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    text-shadow: 0 0 10px rgba(191, 167, 99, 0.3);
}

.section-title::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #bfa763, #d4c178);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.4);
}

.notice-section, .features-section {
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(191, 167, 99, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex: 1;
}

.notice-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 13px;
}

.features-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 14px;
}

.feature-item:hover {
    color: #bfa763;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 16px;
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(191, 167, 99, 0.4));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notice-section, .auth-features-section {
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(191, 167, 99, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex: 1;
}

.auth-features-list {
    list-style: none;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 14px;
}

.auth-feature-item:hover {
    color: #bfa763;
    transform: translateX(5px);
}

.telegram-section {
    text-align: center;
    padding: 18px;
    background: rgba(191, 167, 99, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(191, 167, 99, 0.2);
    box-shadow: 
        0 4px 15px rgba(191, 167, 99, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin-top: auto;
    flex-shrink: 0;
}

.telegram-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 13px;
}

.telegram-link {
    color: #bfa763;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.telegram-link:hover {
    color: #d4c178;
    text-shadow: 0 0 15px rgba(191, 167, 99, 0.6);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    .container {
        gap: 20px;
        padding: 15px;
    }
}

@media (max-width: 1200px) {
    .container {
        gap: 20px;
        padding: 15px;
    }
    
    .login-card, .signup-card, .info-panel {
        min-width: 350px;
        min-height: 580px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
        align-items: center;
    }
    
    .login-card, .signup-card, .info-panel {
        max-width: 100%;
        min-width: auto;
        width: 100%;
        max-width: 500px;
        min-height: auto;
        padding: 25px 20px;
        height: auto;
    }
    
    .title {
        font-size: 26px;
    }
    
    .welcome-title {
        font-size: 24px;
    }
    
    .skull-icon {
        font-size: 38px;
    }
    
    input {
        padding: 15px 45px 15px 45px;
        font-size: 15px;
    }
    
    .btn-primary {
        padding: 15px;
        font-size: 15px;
    }
    
    .floating-shapes .shape {
        opacity: 0.08;
    }
    
    .shape-1, .shape-3 {
        width: 60px;
        height: 60px;
    }
    
    .shape-2, .shape-4, .shape-5 {
        width: 80px;
        height: 80px;
    }
    
    .notice-section, .features-section {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .telegram-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }
    
    .login-card, .signup-card, .info-panel {
        padding: 20px 15px;
        border-radius: 16px;
        margin: 5px 0;
    }
    
    .title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .welcome-title {
        font-size: 22px;
    }
    
    .skull-icon {
        font-size: 36px;
    }
    
    input {
        padding: 14px 45px 14px 45px;
        font-size: 15px;
    }
    
    .icon-3d {
        font-size: 18px;
    }
    
    .password-toggle {
        font-size: 16px;
        right: 12px;
    }
    
    .btn-primary {
        padding: 14px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .notice-section, .features-section {
        padding: 15px;
    }
    
    .telegram-section {
        padding: 15px;
    }
    
    .floating-shapes .shape {
        opacity: 0.05;
    }
}

@media (max-width: 360px) {
    .login-card, .signup-card, .info-panel {
        padding: 15px 10px;
    }
    
    .title {
        font-size: 22px;
    }
    
    .welcome-title {
        font-size: 20px;
    }
    
    input {
        padding: 12px 40px 12px 40px;
        font-size: 14px;
    }
    
    .icon-3d {
        font-size: 16px;
    }
    
    .password-toggle {
        font-size: 14px;
        right: 10px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .icon-3d, .skull-icon {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .container {
        flex-direction: row;
        align-items: center;
        padding: 10px;
        gap: 15px;
    }
    
    .login-card, .signup-card, .info-panel {
        padding: 20px 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    .skull-icon {
        font-size: 32px;
    }
    
    .title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .input-group {
        margin-bottom: 15px;
    }
    
    .btn-primary {
        margin: 15px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-shapes {
        display: none;
    }
}

input:focus-visible, .btn-primary:focus-visible, .password-toggle:focus-visible {
    outline: 2px solid #bfa763;
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #0a0a0f;
        color: #ffffff;
    }
}

.landing-page {
    overflow-x: hidden;
}

.landing-page .background-animation {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 30%, #0f1419 70%, #0a0a0f 100%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(191, 167, 99, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(191, 167, 99, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 1px solid rgba(191, 167, 99, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo-3d {
    transform: scale(0.8);
}

.nav-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #bfa763, #d4c178);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #bfa763;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #bfa763, #d4c178);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, #bfa763, #d4c178);
    color: #0a0a0f;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(191, 167, 99, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 167, 99, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #bfa763;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(191, 167, 99, 0.1);
    border: 1px solid rgba(191, 167, 99, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #bfa763;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.title-main {
    display: block;
    font-family: 'Somalia', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #bfa763, #d4c178, #bfa763);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleGlow 3s ease-in-out infinite;
}

.title-sub {
    display: block;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero.primary {
    background: linear-gradient(135deg, #bfa763, #d4c178);
    color: #0a0a0f;
    box-shadow: 0 8px 25px rgba(191, 167, 99, 0.3);
}

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(191, 167, 99, 0.5);
}

.btn-hero:hover {
    transform: translateY(-3px);
}

.btn-hero.primary:hover {
    box-shadow: 0 15px 35px rgba(191, 167, 99, 0.4);
}

.btn-hero.secondary:hover {
    border-color: #bfa763;
    background: rgba(191, 167, 99, 0.1);
}

.btn-icon {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1s ease-out 0.3s backwards;
}

.ship-container {
    position: relative;
    transform-style: preserve-3d;
    animation: shipFloat 6s ease-in-out infinite;
}

.ship-image {
    position: relative;
    text-align: center;
}

.ship-body {
    font-size: 120px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: shipBob 3s ease-in-out infinite;
}

.ship-flag {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 40px;
    animation: flagWave 2s ease-in-out infinite;
}

.water-waves {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
}

.wave {
    font-size: 30px;
    color: rgba(191, 167, 99, 0.6);
    position: absolute;
    animation: waveMove 4s ease-in-out infinite;
}

.wave-1 { left: 0; animation-delay: 0s; }
.wave-2 { left: 50px; animation-delay: 0.5s; }
.wave-3 { left: 100px; animation-delay: 1s; }

@keyframes shipFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes shipBob {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes flagWave {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes waveMove {
    0%, 100% { transform: translateY(0px) scaleX(1); }
    50% { transform: translateY(-5px) scaleX(1.1); }
}

/* Status Section */
.status-section {
    padding: 80px 0;
    background: rgba(22, 33, 62, 0.5);
    border-top: 1px solid rgba(191, 167, 99, 0.2);
    border-bottom: 1px solid rgba(191, 167, 99, 0.1);
}

.status-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.status-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(191, 167, 99, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.status-icon {
    font-size: 24px;
    filter: drop-shadow(0 4px 8px rgba(191, 167, 99, 0.4));
}

.status-header h3 {
    font-size: 20px;
    color: #bfa763;
    font-weight: 600;
}

.status-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #bfa763, #d4c178);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: countUp 2s ease-out;
}

.status-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.status-updates {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.update-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(191, 167, 99, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.update-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(191, 167, 99, 0.4);
    transform: translateX(5px);
}

.update-icon {
    font-size: 24px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(191, 167, 99, 0.1);
    border: 1px solid rgba(191, 167, 99, 0.3);
}

.update-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.update-icon.alert {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
}

.update-text {
    flex: 1;
}

.update-title {
    display: block;
    font-weight: 600;
    color: #bfa763;
    margin-bottom: 4px;
}

.update-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: rgba(15, 52, 96, 0.5);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.landing-section-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #bfa763, #d4c178);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.landing-section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.landing-feature-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(191, 167, 99, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(191, 167, 99, 0.1), transparent);
    transition: left 0.5s;
}

.landing-feature-card:hover::before {
    left: 100%;
}

.landing-feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(191, 167, 99, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.landing-feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 16px rgba(191, 167, 99, 0.4));
    animation: iconFloat 3s ease-in-out infinite;
}

.landing-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #bfa763;
    margin-bottom: 15px;
}

.landing-feature-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: rgba(26, 26, 46, 0.8);
    border-top: 1px solid rgba(191, 167, 99, 0.2);
}

.landing-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.landing-cta-content {
    padding: 0 20px;
}

.landing-cta-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #bfa763, #d4c178);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.landing-cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
}

.landing-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.landing-btn-cta.primary {
    background: linear-gradient(135deg, #bfa763, #d4c178);
    color: #0a0a0f;
    box-shadow: 0 8px 25px rgba(191, 167, 99, 0.3);
}

.landing-btn-cta.secondary {
    background: transparent;
    color: #bfa763;
    border: 2px solid rgba(191, 167, 99, 0.5);
}

.landing-btn-cta:hover {
    transform: translateY(-3px);
}

.landing-btn-cta.primary:hover {
    box-shadow: 0 15px 35px rgba(191, 167, 99, 0.4);
}

.landing-btn-cta.secondary:hover {
    border-color: #bfa763;
    background: rgba(191, 167, 99, 0.1);
}

/* Footer */
.footer {
    background: #0a0a0f;
    border-top: 1px solid rgba(191, 167, 99, 0.2);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-3d {
    transform: scale(0.8);
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #bfa763, #d4c178);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-section h4 {
    color: #bfa763;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #bfa763;
    transform: translateX(5px);
}

.telegram-link {
    align-items: center;
    gap: 8px;
}

.link-icon {
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(191, 167, 99, 0.2);
    color: rgba(255, 255, 255, 0.5);
}


@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(191, 167, 99, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 15px 0;
        text-align: center;
        border-bottom: 1px solid rgba(191, 167, 99, 0.1);
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(191, 167, 99, 0.1);
        color: #bfa763;
        transform: none;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-btn {
        margin-top: 20px;
        padding: 12px 24px;
        text-align: center;
        border-radius: 8px;
        display: block;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Hide hero visual elements in mobile */
    .hero-visual,
    .ship-container,
    .ship-image,
    .ship-body,
    .ship-flag,
    .water-waves {
        display: none !important;
    }
    
    /* Hero Mobile */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-line {
        font-size: 1.2rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .ship-body {
        font-size: 80px;
    }
    
    .ship-flag {
        font-size: 30px;
    }
    
    /* Status Mobile */
    .status-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .status-updates {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .update-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .update-text {
        text-align: center;
    }
    
    .status-value {
        font-size: 2rem;
    }
    
    /* Features Mobile */
    .landing-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .landing-feature-card {
        padding: 25px 20px;
    }
    
    .landing-feature-icon {
        font-size: 2.5rem;
    }
    
    .landing-feature-title {
        font-size: 1.1rem;
    }
    
    .landing-section-title {
        font-size: 2rem;
    }
    
    .landing-section-subtitle {
        font-size: 1rem;
    }
    
    /* CTA Mobile */
    .cta-section {
        padding: 60px 0;
    }
    
    .landing-cta-container {
        padding: 0 15px;
    }
    
    .landing-cta-content {
        padding: 0 10px;
    }
    
    .landing-cta-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .landing-cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .landing-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .landing-btn-cta {
        padding: 14px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-line {
        font-size: 1rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .status-card {
        padding: 25px 15px;
    }
    
    .status-updates {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .update-item {
        padding: 15px;
        flex-direction: row;
        text-align: left;
    }
    
    .landing-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .landing-feature-card {
        padding: 25px 15px;
    }
    
    .landing-feature-icon {
        font-size: 2rem;
    }
    
    .landing-feature-title {
        font-size: 1.2rem;
    }
    
    /* CTA Section Mobile 480px */
    .cta-section {
        padding: 40px 0;
    }
    
    .landing-cta-container {
        padding: 0 10px;
    }
    
    .landing-cta-content {
        padding: 0 5px;
    }
    
    .landing-cta-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .landing-cta-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }
    
    .landing-btn-cta {
        padding: 12px 20px;
        font-size: 13px;
        max-width: 250px;
    }
    
    .ship-body {
        font-size: 60px;
    }
    
    .ship-flag {
        font-size: 20px;
        top: -10px;
        right: 10px;
    }
    
    .wave {
        font-size: 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-container,
    .status-container,
    .features-content,
    .cta-content,
    .footer-content {
        padding: 0 15px;
    }
    
    .landing-btn-cta {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .landing-feature-card,
    .status-card,
    .update-item {
        padding: 20px 15px;
    }
}

/* Landing Page Animations */
@keyframes countUp {
    from { 
        transform: translateY(20px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes titleGlow {
    0%, 100% { 
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(191, 167, 99, 0.3));
    }
    50% { 
        background-position: 100% 50%;
        filter: drop-shadow(0 0 30px rgba(191, 167, 99, 0.6));
    }
}

/* Scroll-triggered animations for landing page */
.landing-page .landing-feature-card,
.landing-page .update-item,
.landing-page .status-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.landing-page .landing-feature-card.animate-in,
.landing-page .update-item.animate-in,
.landing-page .status-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced floating shapes for landing page */
.landing-page .shape-6 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #bfa763, #8b7355);
    box-shadow: 
        0 0 100px rgba(191, 167, 99, 0.2),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    top: 60%;
    left: 5%;
    animation-delay: -8s;
}

body:not(.landing-page) .login-card h1,
body:not(.landing-page) .signup-card h1 {
    font-size: 2rem !important;
}

body:not(.landing-page) .login-card h2,
body:not(.landing-page) .signup-card h2 {
    font-size: 1.5rem !important;
}

body:not(.landing-page) .login-card p,
body:not(.landing-page) .signup-card p {
    font-size: 1rem !important;
}

body:not(.landing-page) .logo-container h1 {
    font-size: 1.8rem !important;
}

body:not(.landing-page) .welcome-text {
    font-size: 1rem !important;
}

body:not(.landing-page) .btn {
    font-size: 1rem !important;
    padding: 12px 24px !important;
}

body:not(.landing-page) input {
    font-size: 1rem !important;
}

body:not(.landing-page) label {
    font-size: 0.9rem !important;
}

.landing-page .hero-title {
    font-size: 4rem;
}

.landing-page .title-line {
    font-size: 1.5rem;
}

.landing-page .title-sub {
    font-size: 2rem;
}

.landing-page .hero-description {
    font-size: 1.2rem;
}

.landing-page .landing-section-title {
    font-size: 3rem;
}

.landing-page .landing-section-subtitle {
    font-size: 1.2rem;
}

.landing-page .landing-feature-title {
    font-size: 1.5rem;
}

.landing-page .status-value {
    font-size: 3rem;
}

.landing-page .landing-cta-title {
    font-size: 3rem;
}

.landing-page .landing-cta-description {
    font-size: 1.2rem;
}

/* ====================================
   DASHBOARD STYLES
   ==================================== */

.dashboard-page {
    background: #1a1a1a;
    overflow-x: hidden;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

/* Mobile Menu Button */
.mobile-header {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1001;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid #bfa763;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: #bfa763;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn:hover span {
    background: #d4c178;
}

.mobile-title {
    color: #bfa763;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(191, 167, 99, 0.3);
    font-family: 'Somalia', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Styles */
.dashboard-sidebar {
    width: 280px;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-right: 1px solid #bfa763;
    padding: 2rem 0;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1002;
    box-shadow: 2px 0 10px rgba(191, 167, 99, 0.1);
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 2rem 2rem;
    border-bottom: 1px solid #333;
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-header .logo-3d {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.sidebar-username {
    color: #bfa763;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(191, 167, 99, 0.3);
}

.sidebar-nav {
    padding: 0 1rem;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #cccccc;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #bfa763, #d4c178);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-item:hover::before,
.nav-item.active::before {
    width: 100%;
}

.nav-item:hover,
.nav-item.active {
    color: #1a1a1a;
    transform: translateX(5px);
}

.nav-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.nav-text {
    font-weight: 500;
}

.sidebar-footer {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    right: 1rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #ff6b6b;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    position: relative;
    overflow: hidden;
}

.logout-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #ff6b6b;
    transition: width 0.3s ease;
    z-index: -1;
}

.logout-btn:hover::before {
    width: 100%;
}

.logout-btn:hover {
    color: #1a1a1a;
    transform: translateX(5px);
    border-color: #ff6b6b;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background: #1a1a1a;
    overflow-x: hidden;
    min-width: 0;
    width: calc(100% - 280px);
    max-width: calc(100vw - 280px);
    box-sizing: border-box;
}


.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #bfa763;
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bfa763, #d4c178);
}

.dashboard-title {
    color: #bfa763;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 20px rgba(191, 167, 99, 0.3);
}

.dashboard-subtitle {
    color: #cccccc;
    font-size: 1.1rem;
    margin: 0.5rem 0 0;
    opacity: 0.8;
}

.btn-check-cc {
    background: linear-gradient(145deg, #8b5cf6, #7c3aed);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-check-cc:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Dashboard Content */
.dashboard-content {
    max-width: 1400px;
}

.section-title {
    color: #bfa763;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #bfa763, #d4c178);
    border-radius: 2px;
}

/* Stats Section */
.stats-section {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid #bfa763;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bfa763, #d4c178);
}

.stat-header {
    margin-bottom: 1rem;
}

.stat-label {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    color: #bfa763;
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 0 20px rgba(191, 167, 99, 0.3);
}

.stat-value.balance {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

/* Contact Section */
.contact-section {
    margin-bottom: 3rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #333;
}

.contact-text {
    color: #cccccc;
    font-size: 1.1rem;
    margin: 0;
}

.contact-link {
    color: #bfa763;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #d4c178;
    text-shadow: 0 0 10px rgba(191, 167, 99, 0.5);
}

/* Activity Section */
.activity-section {
    margin-bottom: 3rem;
}

.activity-list {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 2rem;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-item:hover {
    background: rgba(191, 167, 99, 0.05);
    border-radius: 12px;
    margin: 0 -1rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.activity-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.activity-icon.success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid #4ade80;
}

.activity-icon.fail {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
}

.activity-icon.warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid #fbbf24;
}

.activity-details {
    flex: 1;
}

.activity-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-desc {
    color: #cccccc;
    font-size: 0.9rem;
    opacity: 0.8;
}

.activity-time {
    color: #888888;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 3rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.action-btn {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(191, 167, 99, 0.1), transparent);
    transition: left 0.6s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    border-color: #bfa763;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(191, 167, 99, 0.15);
}

.action-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.action-btn:hover .action-icon {
    filter: grayscale(0);
}

.action-text {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.action-btn:hover .action-text {
    color: #bfa763;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-header {
        display: flex;
    }
    
    .sidebar-overlay {
        display: block;
        pointer-events: none;
    }
    
    .sidebar-overlay.active {
        pointer-events: all;
    }
    
    .dashboard-sidebar {
        transform: translateX(-100%);
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
        z-index: 1002;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 1rem;
        padding-top: 5rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-top: 1rem;
    }
    
    .dashboard-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-header {
        padding: 1.5rem;
    }
    
    .dashboard-title {
        font-size: 1.8rem;
    }
    
    .dashboard-main {
        margin-left: 0;
        padding: 1rem;
        padding-top: 80px;
        min-height: calc(100vh - 80px);
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .mobile-header {
        top: 0;
        left: 0;
        right: 0;
        position: fixed;
        display: flex;
        z-index: 1001;
        background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
        border-bottom: 1px solid #333;
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        gap: 0.8rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-main {
        padding: 0.5rem;
        padding-top: 5rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .dashboard-sidebar {
        width: 250px;
    }
    
    .mobile-title {
        font-size: 1rem;
    }
}

@media (min-width: 1025px) {
    .mobile-header {
        display: none;
    }
    
    .sidebar-overlay {
        display: none !important;
        visibility: hidden !important;
    }
    
    .dashboard-sidebar {
        transform: translateX(0);
        position: fixed;
    }
    
    .dashboard-main {
        margin-left: 280px;
        padding: 2rem;
    }
}

/* ====================================
   HITS LIST STYLES
   ==================================== */

.hits-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #bfa763;
    position: relative;
    overflow: hidden;
}

.hits-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bfa763, #d4c178);
}

.hits-title {
    color: #bfa763;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 20px rgba(191, 167, 99, 0.3);
}

.hits-subtitle {
    color: #cccccc;
    font-size: 1.1rem;
    margin: 0.5rem 0 0;
    opacity: 0.8;
}

.btn-download {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(191, 167, 99, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 167, 99, 0.4);
}

/* Hits Controls */
.hits-controls {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-container {
    display: flex;
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid #333;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
}

.search-input::placeholder {
    color: #888888;
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #bfa763;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(191, 167, 99, 0.1);
}

.filter-container {
    min-width: 200px;
}

.filter-select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid #333;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
}

.filter-select option {
    background: #2a2a2a;
    color: #ffffff;
}

/* Hits Table */
.hits-table-section {
    margin-bottom: 2rem;
}

.table-container {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #333;
    overflow: hidden;
}

.table-header {
    background: linear-gradient(145deg, #333, #2a2a2a);
    border-bottom: 1px solid #bfa763;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 0.8fr 0.6fr;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
    align-items: center;
}

.table-body .table-row:hover {
    background: rgba(191, 167, 99, 0.05);
}

.table-body .table-row:last-child {
    border-bottom: none;
}

.table-cell {
    display: flex;
    align-items: center;
    word-break: break-word;
}

.table-header .table-cell {
    color: #bfa763;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.table-body .table-cell {
    color: #cccccc;
    font-size: 0.95rem;
}

.date-col {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.card-col {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.status-col {
    justify-content: center;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.cvv-matched {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid #4ade80;
}

.status-badge.approved {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.status-badge.declined {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.reward-col {
    color: #4ade80;
    font-weight: 600;
    justify-content: center;
}

.action-col {
    justify-content: center;
}

.delete-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.delete-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.1);
}

/* Pagination */
.pagination-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #333;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    color: #cccccc;
    font-size: 0.95rem;
}

.pagination-info span {
    color: #bfa763;
    font-weight: 600;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border: 1px solid #444;
    color: #cccccc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    border-color: #bfa763;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0 1rem;
}

.pagination-page {
    padding: 0.8rem 1rem;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border: 1px solid #444;
    color: #cccccc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
}

.pagination-page:hover {
    background: linear-gradient(145deg, #444, #333);
    border-color: #bfa763;
}

.pagination-page.active {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    border-color: #bfa763;
}

.pagination-dots {
    color: #888888;
    padding: 0 0.5rem;
    font-weight: bold;
}

/* Responsive Design for Hits List */
@media (max-width: 1200px) {
    .table-row {
        grid-template-columns: 1fr 1.5fr 1fr 0.8fr 0.6fr;
        gap: 0.8rem;
        padding: 1.2rem;
    }
    
    .card-col {
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    .hits-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hits-title {
        font-size: 2rem;
    }
    
    .hits-controls {
        flex-direction: column;
    }
    
    .search-container {
        min-width: 100%;
    }
    
    .hits-table-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    .hits-table-section .table-container {
        min-width: 800px;
    }
    
    .hits-table-section .table-row {
        display: grid !important;
        grid-template-columns: 1fr 1.5fr 1fr 0.8fr 0.6fr !important;
        gap: 0.8rem !important;
        padding: 1.2rem !important;
        align-items: center !important;
        border-bottom: 1px solid #333 !important;
        margin-bottom: 0 !important;
    }
    
    .hits-table-section .table-cell {
        display: block !important;
        padding: 0 !important;
        border-bottom: none !important;
        justify-content: initial !important;
        flex-direction: initial !important;
        align-items: initial !important;
        gap: initial !important;
    }
    
    .hits-table-section .table-cell:before {
        display: none !important;
        content: none !important;
    }
    
    .hits-table-section .table-header {
        display: block !important;
    }
    
    .pagination-section {
        flex-direction: column;
        text-align: center;
    }
    
    .pagination-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hits-content {
        padding: 0;
    }
    
    .hits-table-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .hits-table-section .table-container {
        min-width: 800px;
    }
    
    .card-col {
        font-size: 0.75rem;
        word-break: break-all;
    }
    
    .pagination-pages {
        margin: 0.5rem 0;
    }
    
    .pagination-page,
    .pagination-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
  
    .hits-table-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .hits-table-section .table-container {
        min-width: 800px;
    }
    
    .hits-table-section .table-row {
        display: grid !important;
        grid-template-columns: 1fr 1.5fr 1fr 0.8fr 0.6fr !important;
        padding: 1rem !important;
    }
    
    .hits-table-section .table-cell {
        display: block !important;
        border-bottom: none !important;
        flex-direction: initial !important;
        align-items: initial !important;
        gap: initial !important;
    }
    
    .hits-table-section .table-cell:before {
        display: none !important;
    }
    
    .hits-table-section .status-badge {
        align-self: initial !important;
    }
    
    .hits-table-section .delete-btn {
        align-self: initial !important;
        width: auto;
        padding: 0.5rem 1rem;
    }
}

/* ====================================
   CC CHECKER STYLES
   ==================================== */

.checker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #bfa763;
    position: relative;
    overflow: hidden;
}

.checker-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bfa763, #d4c178);
}

.checker-title {
    color: #bfa763;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 20px rgba(191, 167, 99, 0.3);
    text-align: center;
    width: 100%;
}

.btn-back {
    background: linear-gradient(145deg, #333, #2a2a2a);
    color: #bfa763;
    border: 1px solid #bfa763;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Checker Grid */
.checker-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-section {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #333;
    padding: 2rem;
}

.input-container label {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.card-textarea {
    width: 100%;
    min-height: 400px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    padding: 1rem;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
}

.card-textarea:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
}

.card-textarea::placeholder {
    color: #666666;
}

.controls-section {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #333;
    padding: 2rem;
    min-width: 300px;
    height: fit-content;
}

.gate-selector,
.threads-selector {
    margin-bottom: 2rem;
}

.gate-selector label,
.threads-selector label {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.gate-select,
.threads-select {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid #444;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23bfa763' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 3rem;
}

.gate-select:focus,
.threads-select:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
    background: linear-gradient(145deg, #333, #2a2a2a);
}

.gate-select option,
.threads-select option {
    background: #2a2a2a;
    color: #ffffff;
    padding: 0.5rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-start {
    background: linear-gradient(145deg, #4ade80, #22c55e);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-start:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.4);
}

.btn-start:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-stop {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-stop:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-stop:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-generate {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 167, 99, 0.4);
}

.processing-info {
    color: #cccccc;
    font-size: 0.9rem;
    text-align: center;
}

.processing-info span {
    color: #bfa763;
    font-weight: 600;
}

/* Results Section */
.results-section {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #333;
    padding: 2rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-box {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #444;
    background: linear-gradient(145deg, #333, #2a2a2a);
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.success-stat .stat-value {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

.ccn-stat .stat-value {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.dead-stat .stat-value {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.total-stat .stat-value {
    color: #bfa763;
    text-shadow: 0 0 10px rgba(191, 167, 99, 0.3);
}

.results-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.result-box {
    border-radius: 12px;
    border: 1px solid #444;
    background: linear-gradient(145deg, #333, #2a2a2a);
    overflow: hidden;
}

.result-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #444, #333);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #555;
}

.result-title {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.copy-btn {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(191, 167, 99, 0.3);
}

.result-content {
    padding: 1rem;
    min-height: 200px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #cccccc;
    line-height: 1.4;
    background: #1a1a1a;
}

.result-content::-webkit-scrollbar {
    width: 8px;
}

.result-content::-webkit-scrollbar-track {
    background: #333;
}

.result-content::-webkit-scrollbar-thumb {
    background: #bfa763;
    border-radius: 4px;
}

/* CC Generator Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #bfa763;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #bfa763, #d4c178);
    border-radius: 20px 20px 0 0;
}

.modal-header h3 {
    color: #bfa763;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(191, 167, 99, 0.3);
}

.modal-close {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: bold;
}

.modal-close:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

/* Custom Scrollbar */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    border-radius: 4px;
    border: 1px solid #333;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #d4c178, #bfa763);
}

.generator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-row .form-group.checkbox-group {
    width: fit-content;
}

.form-group label {
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    padding: 1.2rem 1.5rem;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border: 1px solid #444;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #bfa763;
    box-shadow: 0 0 15px rgba(191, 167, 99, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.form-group input:disabled,
.form-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(145deg, #222, #1a1a1a);
}

.form-group input::placeholder {
    color: #666666;
    font-style: italic;
}

.form-group option {
    background: #2a2a2a;
    color: #ffffff;
    padding: 0.5rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border-radius: 12px;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.1);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #bfa763;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.checkbox-group input[type="checkbox"]:hover {
    transform: scale(1.1);
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    color: #ffffff;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.btn-generate-paste {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(191, 167, 99, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-generate-paste::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-generate-paste:hover::before {
    left: 100%;
}

.btn-generate-paste:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(191, 167, 99, 0.4);
}

.btn-generate-paste:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(191, 167, 99, 0.3);
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: calc(95vh - 100px);
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .checkbox-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .generator-form {
        gap: 1.2rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 1rem 1.2rem;
    }
    
    .btn-generate-paste {
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 0.25rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .checkbox-group {
        padding: 0.8rem 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .checkbox-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .btn-generate-paste {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
}

/* Responsive Design for Checker */
@media (max-width: 1200px) {
    .checker-grid {
        grid-template-columns: 1fr;
    }
    
    .controls-section {
        min-width: 100%;
    }
    
    .results-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .checker-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .checker-title {
        font-size: 2rem;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .checker-title {
        font-size: 1.8rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .card-textarea {
        min-height: 300px;
    }
    
    .controls-section {
        padding: 1.5rem;
    }
    
    .action-buttons {
        gap: 0.8rem;
    }
    
    .btn-start,
    .btn-stop,
    .btn-generate {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Proxy Manager Styles */
.proxy-header {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 20px;
    border: 1px solid #bfa763;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.proxy-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #bfa763;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(191, 167, 99, 0.3);
}

.proxy-subtitle {
    color: #cccccc;
    font-size: 1.1rem;
    margin: 0.5rem 0 0 0;
    opacity: 0.8;
}

.btn-import, .btn-test-all {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-import:hover, .btn-test-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 167, 99, 0.4);
}

.btn-test-all {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    color: #ffffff;
}

.btn-test-all:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Proxy Stats */
.proxy-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 15px;
    border: 1px solid #333;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #bfa763;
    box-shadow: 0 0 15px rgba(191, 167, 99, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(191, 167, 99, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(191, 167, 99, 0.2);
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #bfa763;
    margin: 0;
    line-height: 1;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Proxy Controls */
.proxy-controls {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 15px;
    border: 1px solid #333;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: end;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.control-group label {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 600;
}

.control-select, .control-input {
    padding: 0.8rem 1rem;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.control-select:focus, .control-input:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
}

/* Proxy Table */
.proxy-table-section {
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.proxy-table-section .table-container {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 15px;
    border: 1px solid #333;
    overflow: hidden;
    min-width: 800px;
    width: 100%;
}

.proxy-table-section .table-header {
    background: linear-gradient(145deg, #333, #2a2a2a);
    border-bottom: 1px solid #444;
}

.proxy-table-section .table-row {
    display: grid;
    grid-template-columns: 40px 180px 70px 130px 100px 90px 110px 90px;
    gap: 0.8rem;
    padding: 0.8rem;
    align-items: center;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
}

.proxy-table-section .table-row:hover {
    background: rgba(191, 167, 99, 0.05);
}

.proxy-table-section .table-cell {
    color: #ffffff;
    font-size: 0.9rem;
}

.proxy-table-section .table-header .table-cell {
    color: #bfa763;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Proxy specific cells */
.proxy-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.proxy-address {
    font-weight: 600;
    color: #ffffff;
}

.proxy-auth {
    color: #888;
    font-size: 0.7rem;
}

.proxy-type {
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.proxy-type.socks5 {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.proxy-type.socks4 {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.proxy-type.http {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid #a855f7;
}

.country-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-flag {
    font-size: 1.2rem;
}

.country-name {
    font-size: 0.8rem;
    color: #cccccc;
}

.speed-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.speed-icon {
    font-size: 0.8rem;
}

.speed-value {
    font-size: 0.8rem;
    font-weight: 600;
}

.speed-fast .speed-value {
    color: #22c55e;
}

.speed-medium .speed-value {
    color: #f59e0b;
}

.speed-slow .speed-value {
    color: #ef4444;
}

.speed-unknown {
    color: #666;
    font-style: italic;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
}

.status-badge.slow {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.status-badge.dead {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.status-badge.untested {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
    border: 1px solid #6b7280;
}

.recent-test {
    color: #22c55e;
    font-size: 0.8rem;
}

.today-test {
    color: #f59e0b;
    font-size: 0.8rem;
}

.old-test {
    color: #6b7280;
    font-size: 0.8rem;
}

.never-tested {
    color: #666;
    font-style: italic;
    font-size: 0.8rem;
}

.test-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
    color: #3b82f6;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.test-btn:hover {
    background: #3b82f6;
    color: #ffffff;
}

/* Copy Button for Proxy Table */
.proxy-copy-btn {
    background: rgba(191, 167, 99, 0.2);
    border: 1px solid #bfa763;
    color: #bfa763;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 0.3rem;
}

.proxy-copy-btn:hover {
    background: #bfa763;
    color: #1a1a1a;
}

/* Delete Button */
.delete-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.delete-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Type Column Styling */
.proxy-table-section .table-cell.type-cell {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action buttons container */
.proxy-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    min-width: 180px;
}

/* Country info styling */
.country-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-flag {
    font-size: 1.2rem;
}

.country-name {
    font-size: 0.85rem;
    color: #cccccc;
    font-weight: 500;
}

/* Responsive action buttons */
@media (max-width: 1200px) {
    .proxy-actions {
        gap: 0.3rem;
        min-width: 150px;
    }
    
    .proxy-copy-btn,
    .test-btn,
    .delete-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 968px) {
    .proxy-actions {
        flex-direction: column;
        gap: 0.2rem;
        min-width: auto;
        width: 100%;
    }
    
    .proxy-copy-btn,
    .test-btn,
    .delete-btn {
        width: 100%;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        text-align: center;
    }
}

/* Proxy Settings Modal Styles */
.proxy-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.proxy-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.proxy-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.proxy-form .form-group label {
    color: #bfa763;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proxy-form input,
.proxy-form select {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    padding: 0.8rem;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.proxy-form input:focus,
.proxy-form select:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
    background: linear-gradient(145deg, #333, #2a2a2a);
}

.proxy-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23bfa763' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 3rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-test-proxy,
.btn-save-proxy,
.btn-random-proxy {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    min-width: 120px;
}

.btn-save-proxy {
    background: linear-gradient(145deg, #22c55e, #16a34a);
}

.btn-random-proxy {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
}

.btn-test-proxy:hover,
.btn-save-proxy:hover,
.btn-random-proxy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-save-proxy:hover {
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-random-proxy:hover {
    box-shadow: 0 4px 12px rgba(191, 167, 99, 0.3);
}

.btn-proxy-settings {
    background: linear-gradient(145deg, #6b7280, #4b5563);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    min-width: 120px;
}

.btn-proxy-settings:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
    background: linear-gradient(145deg, #4b5563, #374151);
}

.proxy-status {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.proxy-status.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: #22c55e;
}

.proxy-status.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.proxy-status.testing {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
    color: #3b82f6;
}

.proxy-status.hidden {
    display: none;
}

@media (max-width: 768px) {
    .proxy-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-test-proxy,
    .btn-save-proxy,
    .btn-random-proxy {
        width: 100%;
    }
}

/* Import Modal */
.import-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.import-form textarea {
    background: linear-gradient(145deg, #333, #2a2a2a);
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
}

.import-form textarea:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
}

.import-form textarea::placeholder {
    color: #666;
}

.form-hint {
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 0;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #bfa763;
}

.checkbox-label {
    color: #cccccc;
    font-size: 0.9rem;
}

.btn-import-confirm {
    background: linear-gradient(145deg, #bfa763, #d4c178);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-import-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(191, 167, 99, 0.4);
    background: linear-gradient(145deg, #d4c178, #bfa763);
}

.btn-import-confirm:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(191, 167, 99, 0.3);
}

.btn-import-confirm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Design for Proxy Manager */
@media (max-width: 1200px) {
    .proxy-header {
        padding: 1.2rem;
    }
    
    .proxy-title {
        font-size: 1.8rem;
    }
    
    .proxy-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.8rem;
    }
    
    .proxy-table-section .table-row {
        grid-template-columns: 35px 160px 60px 120px 90px 80px 100px 80px;
        gap: 0.6rem;
        padding: 0.7rem;
    }
}

@media (max-width: 1024px) {
    .proxy-header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .proxy-controls {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .control-group {
        min-width: auto;
        width: 100%;
    }

    .proxy-table-section .table-row {
        grid-template-columns: 30px 140px 55px 110px 80px 70px 90px 70px;
        gap: 0.4rem;
        padding: 0.6rem;
        font-size: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
        min-height: 70px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .proxy-header {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .proxy-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
    }
    
    .proxy-subtitle {
        font-size: 0.9rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .btn-import, .btn-test-all {
        flex: 1;
        min-width: 120px;
        max-width: 200px;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    .proxy-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-card {
        padding: 0.8rem;
        min-height: 60px;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }

    .proxy-controls {
        padding: 0.8rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .control-group {
        width: 100%;
        min-width: auto;
    }
    
    .control-select, .control-input {
        padding: 0.7rem;
        font-size: 0.8rem;
        width: 100%;
        box-sizing: border-box;
    }

    .proxy-table-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    
    .proxy-table-section .table-container {
        min-width: 900px;
    }
    
    .proxy-table-section .table-row {
        display: grid !important;
        grid-template-columns: 40px 180px 70px 130px 100px 90px 110px 90px !important;
        gap: 0.8rem !important;
        padding: 0.8rem !important;
        align-items: center !important;
        border-bottom: 1px solid #333 !important;
        margin-bottom: 0 !important;
    }
    
    .proxy-table-section .table-cell {
        display: block !important;
        padding: 0 !important;
        border-bottom: none !important;
        justify-content: initial !important;
        flex-direction: initial !important;
        align-items: initial !important;
        gap: initial !important;
    }
    
    .proxy-table-section .table-cell:before {
        display: none !important;
        content: none !important;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        margin: 2rem auto;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 1rem;
        flex-wrap: wrap;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .import-tabs {
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
        min-width: 120px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .form-group {
        width: 100%;
        min-width: auto;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.8rem;
        padding: 0.7rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    textarea {
        min-height: 150px;
        resize: vertical;
    }
    
    .btn-import-confirm {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .api-note {
        padding: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .api-note small {
        font-size: 0.7rem;
    }
    
    .proxy-info {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.2rem;
    }
    
    .proxy-address {
        font-size: 0.8rem;
        text-align: right;
    }
    
    .proxy-auth {
        font-size: 0.6rem;
        text-align: right;
    }
    
    .country-info {
        gap: 0.3rem;
        justify-content: flex-end;
    }
    
    .country-flag {
        font-size: 0.9rem;
    }
    
    .country-name {
        font-size: 0.7rem;
    }
    
    .speed-indicator {
        gap: 0.2rem;
        justify-content: flex-end;
    }
    
    .speed-value {
        font-size: 0.7rem;
    }
    
    .test-btn, .delete-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.6rem;
        margin-right: 0.2rem;
    }
    
    .proxy-controls {
        padding: 0.8rem;
    }
    
    .proxy-controls input,
    .proxy-controls select {
        height: 35px;
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .proxy-header {
        padding: 0.6rem;
    }
    
    .proxy-title {
        font-size: 1.3rem;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-import, .btn-test-all {
        width: 100%;
        max-width: none;
    }

    .proxy-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 0.6rem;
        min-height: 50px;
    }
    
    .stat-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .stat-value {
        font-size: 1rem;
    }

    .proxy-controls {
        padding: 0.6rem;
    }
    
    .control-group label {
        font-size: 0.7rem;
    }
    
    .control-select, .control-input {
        padding: 0.6rem;
        font-size: 0.7rem;
    }
    
  
    .proxy-table-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .proxy-table-section .table-container {
        min-width: 900px;
    }
    
    .proxy-table-section .table-row {
        display: grid !important;
        grid-template-columns: 40px 180px 70px 130px 100px 90px 110px 90px !important;
    }
    
    .proxy-table-section .table-cell {
        display: block !important;
        border-bottom: none !important;
    }
    
    .proxy-table-section .table-cell:before {
        display: none !important;
    }
}

/* Proxy Settings in Checker */
.proxy-settings {
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border-radius: 15px;
    border: 1px solid #333;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.proxy-toggle {
    margin-bottom: 1rem;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.proxy-checkbox {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 26px;
    background: #333;
    border-radius: 13px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #666;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.proxy-checkbox:checked + .toggle-slider {
    background: #bfa763;
    border-color: #bfa763;
}

.proxy-checkbox:checked + .toggle-slider::before {
    transform: translateX(24px);
    background: #ffffff;
}

.toggle-text {
    color: #cccccc;
    font-weight: 600;
    font-size: 1rem;
}

.proxy-config {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proxy-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.proxy-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.proxy-input-group label {
    color: #cccccc;
    font-size: 0.9rem;
    font-weight: 600;
}

.proxy-input {
    padding: 0.8rem 1rem;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.proxy-input:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
}

.proxy-input::placeholder {
    color: #666;
}

.proxy-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.proxy-type-select {
    padding: 0.8rem 1rem;
    background: linear-gradient(145deg, #333, #2a2a2a);
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

.proxy-type-select:focus {
    border-color: #bfa763;
    box-shadow: 0 0 10px rgba(191, 167, 99, 0.2);
}

.btn-test-proxy, .btn-random-proxy {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-test-proxy:hover, .btn-random-proxy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-random-proxy {
    background: linear-gradient(145deg, #10b981, #059669);
}

.btn-random-proxy:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Import Modal Tabs */
.import-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.tab-btn {
    background: none;
    border: none;
    color: #cccccc;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #bfa763;
}

.tab-btn.active {
    color: #bfa763;
    border-bottom-color: #bfa763;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.api-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.api-note {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 1rem;
}

.api-note small {
    color: #3b82f6;
    font-size: 0.8rem;
    line-height: 1.4;
}

.proxy-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 20px;
}

.proxy-status.testing {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.proxy-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.proxy-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.proxy-status.hidden {
    display: none;
}

/* Responsive Proxy Settings */
@media (max-width: 1024px) {
    .proxy-settings {
        padding: 1.2rem;
    }
    
    .proxy-row {
        gap: 0.8rem;
    }
    
    .proxy-controls {
        gap: 0.8rem;
    }
    
    .btn-test-proxy, .btn-random-proxy {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .proxy-settings {
        padding: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .toggle-label {
        gap: 0.8rem;
    }
    
    .toggle-text {
        font-size: 0.9rem;
    }
    
    .proxy-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .proxy-input-group label {
        font-size: 0.8rem;
    }
    
    .proxy-input, .proxy-type-select {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .proxy-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    
    .btn-test-proxy, .btn-random-proxy {
        padding: 0.8rem;
        font-size: 0.8rem;
        width: 100%;
    }
    
    .proxy-type-select {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .proxy-settings {
        padding: 0.8rem;
        border-radius: 12px;
    }
    
    .toggle-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    
    .toggle-slider {
        width: 45px;
        height: 24px;
    }
    
    .toggle-slider::before {
        width: 18px;
        height: 18px;
        top: 2px;
        left: 2px;
    }
    
    .proxy-checkbox:checked + .toggle-slider::before {
        transform: translateX(21px);
    }
    
    .toggle-text {
        font-size: 0.8rem;
    }
    
    .proxy-config {
        gap: 0.8rem;
    }
    
    .proxy-input-group {
        gap: 0.4rem;
    }
    
    .proxy-input-group label {
        font-size: 0.7rem;
    }
    
    .proxy-input, .proxy-type-select {
        padding: 0.6rem;
        font-size: 0.7rem;
        border-radius: 6px;
    }
    
    .btn-test-proxy, .btn-random-proxy {
        padding: 0.7rem;
        font-size: 0.7rem;
        border-radius: 6px;
    }
}

@media (max-width: 768px) {
    .import-tabs {
        margin-bottom: 1rem;
    }
    
    .tab-btn {
        flex: 1;
        text-align: center;
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .api-note {
        padding: 0.6rem;
    }
    
    .api-note small {
        font-size: 0.7rem;
    }
}

