  :root {
            --gold-light: #f0e491;
            --gold-medium: #bbc863;
            --green-medium: #658c58;
            --green-dark: #31694e;
            --gradient-primary: linear-gradient(135deg, var(--gold-light), var(--gold-medium));
            --gradient-secondary: linear-gradient(135deg, var(--gold-medium), var(--green-medium));
            --gradient-dark: linear-gradient(135deg, var(--green-medium), var(--green-dark));
            --gradient-gold: linear-gradient(135deg, #ffd700, #ffed4e, var(--gold-light));
            --shadow-soft: 0 8px 32px rgba(240, 228, 145, 0.1);
            --shadow-medium: 0 15px 35px rgba(49, 105, 78, 0.15);
            --shadow-hard: 0 25px 50px rgba(0, 0, 0, 0.25);
            --text-light: #ffffff;
            --text-dark: #1a1a1a;
        }

        /* Reset & Base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        html {
            overflow-x: hidden;
        }

        body {
            font-family: 'Tajawal', 'Poppins', sans-serif;
            background: linear-gradient(135deg, #0f172a, #1a1a2e, #16213e);
            color: var(--text-light);
            line-height: 1.6;
            overflow-x: hidden;
            position: relative;
            min-height: 100vh;
            perspective: 1000px;
            transform-style: preserve-3d;
        }

        /* 3D Background Canvas */
        #three-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.6;
        }

        /* Floating Coins - مثل index.php تماماً */
        .floating-coins {
            position: fixed;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
        }

        .coin {
            position: absolute;
            transform-style: preserve-3d;
            animation: floatCoin 25s infinite linear;
            opacity: 0.8;
            filter: drop-shadow(0 5px 15px rgba(240, 228, 145, 0.5));
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        @keyframes floatCoin {
            0% {
                transform: translateY(100vh) translateX(0) rotate(0deg) scale(1);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) translateX(100px) rotate(360deg) scale(1.2);
                opacity: 0;
            }
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(15, 23, 42, 0.8);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--gradient-primary);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--gradient-secondary);
        }

        /* Header - Fixed Layout */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            backdrop-filter: blur(20px) saturate(180%);
            background: rgba(15, 23, 42, 0.95);
            border-bottom: 1px solid rgba(240, 228, 145, 0.2);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
            direction: ltr !important;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: 900;
            color: var(--gold-light);
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            direction: ltr !important;
            flex-shrink: 0;
        }

        .logo::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--gradient-gold);
            transition: width 0.3s ease;
        }

        .logo:hover::after {
            width: 100%;
        }

        .logo-image {
            height: 40px;
            width: auto;
            margin-right: 10px;
            filter: drop-shadow(0 5px 15px rgba(240, 228, 145, 0.3));
            transition: all 0.3s ease;
            object-fit: contain;
        }

        .logo:hover .logo-image {
            transform: scale(1.05) rotate(5deg);
        }

        .nav-center {
            display: flex;
            align-items: center;
            gap: 20px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            direction: ltr !important;
        }

        @media (max-width: 992px) {
            .nav-center {
                display: none;
            }
        }

        .nav-center a {
            text-decoration: none;
            color: var(--text-light);
            font-weight: 600;
            font-size: 14px;
            position: relative;
            padding: 8px 0;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            white-space: nowrap;
        }

        .nav-center a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-gold);
            transition: width 0.3s ease;
        }

        .nav-center a:hover {
            color: var(--gold-light);
        }

        .nav-center a:hover::after {
            width: 100%;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 10px;
            direction: ltr !important;
            flex-shrink: 0;
        }

        .lang-selector {
            position: relative;
        }

        .lang-btn {
            background: transparent;
            color: var(--text-light);
            border: 2px solid rgba(240, 228, 145, 0.5);
            padding: 8px 15px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            white-space: nowrap;
            min-width: 100px;
            justify-content: space-between;
            font-size: 14px;
        }

        .lang-btn:hover {
            background: rgba(240, 228, 145, 0.1);
            border-color: var(--gold-light);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(240, 228, 145, 0.2);
        }

        .lang-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 15px;
            padding: 15px;
            margin-top: 10px;
            min-width: 150px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            border: 1px solid rgba(240, 228, 145, 0.2);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            z-index: 1001;
        }

        .lang-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .lang-option {
            padding: 12px 15px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 5px 0;
            font-size: 14px;
        }

        .lang-option:hover {
            background: rgba(240, 228, 145, 0.1);
            transform: translateX(10px);
        }

        .lang-flag {
            width: 22px;
            height: 16px;
            border-radius: 3px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        }

        .login-btn {
            padding: 8px 20px;
            background: var(--gradient-gold);
            color: var(--text-dark);
            border: none;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 8px 25px rgba(240, 228, 145, 0.4);
            text-decoration: none;
            display: inline-block;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            font-size: 14px;
        }

        .login-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: 0.5s;
        }

        .login-btn:hover::before {
            left: 100%;
        }

        .login-btn:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 12px 30px rgba(240, 228, 145, 0.6);
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: transparent;
            border: none;
            color: var(--gold-light);
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            margin-left: 15px;
        }

        /* Login Section - Three Dimensional Container */
        .login-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 120px 20px 60px;
            overflow: hidden;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        .login-container {
            background: linear-gradient(145deg, 
                rgba(30, 41, 59, 0.95), 
                rgba(15, 23, 42, 0.98));
            padding: 50px 40px;
            border-radius: 30px;
            width: 100%;
            max-width: 500px;
            box-shadow: 
                /* الطبقة الأولى: ظل بعمق */
                0 50px 100px rgba(0, 0, 0, 0.5),
                /* الطبقة الثانية: ظل ثلاثي الأبعاد */
                20px 20px 60px rgba(0, 0, 0, 0.3),
                -20px -20px 60px rgba(240, 228, 145, 0.05),
                /* الظلال الداخلية للعمق */
                inset 0 10px 30px rgba(255, 255, 255, 0.05),
                inset 0 -10px 30px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            animation: float3D 6s ease-in-out infinite;
        }

        @keyframes float3D {
            0%, 100% { 
                transform: 
                    translateY(0px) 
                    rotateX(0deg) 
                    rotateY(0deg);
                box-shadow: 
                    0 50px 100px rgba(0, 0, 0, 0.5),
                    20px 20px 60px rgba(0, 0, 0, 0.3),
                    -20px -20px 60px rgba(240, 228, 145, 0.05);
            }
            50% { 
                transform: 
                    translateY(-10px) 
                    rotateX(2deg) 
                    rotateY(1deg);
                box-shadow: 
                    0 60px 120px rgba(0, 0, 0, 0.6),
                    25px 25px 70px rgba(0, 0, 0, 0.4),
                    -25px -25px 70px rgba(240, 228, 145, 0.08);
            }
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--gradient-gold);
            transform: translateZ(20px);
        }

        .login-container::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 300%;
            height: 300%;
            background: radial-gradient(circle, 
                rgba(240, 228, 145, 0.1) 0%, 
                rgba(187, 200, 99, 0.05) 30%, 
                transparent 70%);
            transform: translate(-50%, -50%);
            z-index: -1;
            animation: pulse3D 4s infinite alternate;
        }

        @keyframes pulse3D {
            0% { 
                transform: translate(-50%, -50%) scale(0.8) rotate(0deg); 
                opacity: 0.2; 
            }
            100% { 
                transform: translate(-50%, -50%) scale(1.2) rotate(180deg); 
                opacity: 0.4; 
            }
        }

        /* إضافة حواف ثلاثية الأبعاد */
        .login-container .corner {
            position: absolute;
            width: 30px;
            height: 30px;
            border: 2px solid var(--gold-light);
            opacity: 0.3;
        }

        .login-container .corner-tl {
            top: 10px;
            left: 10px;
            border-right: none;
            border-bottom: none;
            border-top-left-radius: 8px;
        }

        .login-container .corner-tr {
            top: 10px;
            right: 10px;
            border-left: none;
            border-bottom: none;
            border-top-right-radius: 8px;
        }

        .login-container .corner-bl {
            bottom: 10px;
            left: 10px;
            border-right: none;
            border-top: none;
            border-bottom-left-radius: 8px;
        }

        .login-container .corner-br {
            bottom: 10px;
            right: 10px;
            border-left: none;
            border-top: none;
            border-bottom-right-radius: 8px;
        }

        .login-header {
            text-align: center;
            margin-bottom: 40px;
            transform-style: preserve-3d;
        }

        .login-title {
            font-size: 36px;
            font-weight: 900;
            background: linear-gradient(to right, 
                var(--gold-light), 
                var(--gold-medium), 
                var(--green-medium));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 
                0 10px 30px rgba(0, 0, 0, 0.3),
                0 5px 15px rgba(240, 228, 145, 0.2);
            animation: titleGlow 3s infinite alternate;
            transform: translateZ(20px);
        }

        @keyframes titleGlow {
            0% { 
                text-shadow: 
                    0 10px 30px rgba(240, 228, 145, 0.3),
                    0 5px 15px rgba(240, 228, 145, 0.2);
            }
            100% { 
                text-shadow: 
                    0 15px 40px rgba(187, 200, 99, 0.5),
                    0 8px 25px rgba(240, 228, 145, 0.3);
            }
        }

        .login-subtitle {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.7;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            transform: translateZ(15px);
        }

        /* Form Toggle - Three Dimensional */
        .form-toggle {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 8px;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            box-shadow: 
                inset 0 5px 15px rgba(0, 0, 0, 0.2),
                0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateZ(10px);
        }

        .toggle-bg {
            position: absolute;
            top: 8px;
            height: calc(100% - 16px);
            width: 50%;
            background: var(--gradient-gold);
            border-radius: 15px;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1;
            box-shadow: 
                0 5px 15px rgba(240, 228, 145, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.2);
        }

        .toggle-bg.login {
            right: 8px;
            width: calc(50% - 8px);
            transform: translateZ(5px);
        }

        .toggle-bg.signup {
            left: 8px;
            width: calc(50% - 8px);
            transform: translateZ(5px);
        }

        .form-toggle button {
            background: transparent;
            border: none;
            font-weight: 700;
            color: var(--text-light);
            padding: 15px 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 15px;
            position: relative;
            z-index: 2;
            flex: 1;
            font-size: 18px;
            font-family: 'Tajawal', 'Poppins', sans-serif;
            transform-style: preserve-3d;
            transform: translateZ(10px);
        }

        .form-toggle button.active {
            color: var(--text-dark);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        /* Forms - Three Dimensional */
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 25px;
            transform-style: preserve-3d;
        }

       .form-group {
    position: relative;
    transform-style: preserve-3d;
}

        .form-input {
    width: 100%;
    padding: 18px 45px 18px 20px; /* زيادة padding على اليمين لعمل مساحة للعين */
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text);
    font-size: 16px;
    font-family: 'Tajawal', 'Poppins', sans-serif;
    transition: all 0.3s ease;
    direction: ltr;
    transform-style: preserve-3d;
    box-shadow: 
        inset 0 5px 15px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateZ(10px);
}


        .form-input:focus {
            outline: none;
            border-color: var(--gold-light);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 
                0 0 0 3px rgba(240, 228, 145, 0.2),
                inset 0 5px 20px rgba(240, 228, 145, 0.1),
                0 8px 25px rgba(240, 228, 145, 0.2);
            transform: translateY(-2px) translateZ(15px);
        }

        .form-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .password-toggle {
    position: absolute;
    left: auto; /* تغيير من left */
    right: 15px; /* وضعها على اليمين */
    top: 50%;
    transform: translateY(-50%) translateZ(20px);
    background: none;
    border: none;
    color: var(--gold-light);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(240, 228, 145, 0.1);
}

.password-toggle:hover {
    color: var(--text-dark);
    background: var(--gold-light);
    transform: translateY(-50%) translateZ(25px) scale(1.1);
    box-shadow: 0 5px 15px rgba(240, 228, 145, 0.3);
}

        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 10px 0;
            transform: translateZ(10px);
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transform-style: preserve-3d;
        }

        .remember-me input {
            display: none;
        }

        .checkbox-custom {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            transform-style: preserve-3d;
            box-shadow: 
                inset 0 2px 5px rgba(0, 0, 0, 0.2),
                0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .remember-me input:checked + .checkbox-custom {
            background: var(--gradient-gold);
            border-color: transparent;
            box-shadow: 
                0 0 15px rgba(240, 228, 145, 0.4),
                inset 0 2px 5px rgba(255, 255, 255, 0.3);
            transform: translateZ(5px);
        }

        .remember-me input:checked + .checkbox-custom::after {
            content: '✓';
            color: var(--text-dark);
            font-size: 14px;
            font-weight: bold;
            transform: translateZ(5px);
        }

        .forgot-password {
            color: var(--gold-light);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            transform-style: preserve-3d;
        }

        .forgot-password:hover {
            color: var(--gold-medium);
            text-decoration: underline;
            transform: translateZ(5px);
        }

        /* Submit Button - Three Dimensional */
        .submit-btn {
            padding: 18px;
            background: var(--gradient-gold);
            color: var(--text-dark);
            border: none;
            border-radius: 15px;
            font-size: 18px;
            font-weight: 800;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 
                0 12px 30px rgba(240, 228, 145, 0.4),
                inset 0 2px 5px rgba(255, 255, 255, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-family: 'Tajawal', 'Poppins', sans-serif;
            transform-style: preserve-3d;
            transform: translateZ(15px);
        }

        .submit-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.4), 
                transparent);
            transition: 0.5s;
            transform: translateZ(1px);
        }

        .submit-btn:hover::before {
            left: 100%;
        }

        .submit-btn:hover {
            transform: translateY(-5px) translateZ(20px);
            box-shadow: 
                0 20px 40px rgba(240, 228, 145, 0.6),
                inset 0 2px 5px rgba(255, 255, 255, 0.4);
        }

        /* Bonus Notice - Three Dimensional */
        .bonus-notice {
            background: var(--gradient-gold);
            color: var(--text-dark);
            padding: 18px 20px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 25px;
            font-weight: 800;
            box-shadow: 
                0 10px 30px rgba(240, 228, 145, 0.4),
                inset 0 2px 5px rgba(255, 255, 255, 0.3);
            animation: pulseBonus 2s infinite;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            transform: translateZ(20px);
            white-space: normal;
            word-wrap: break-word;
            line-height: 1.5;
        }

        @keyframes pulseBonus {
            0% { 
                box-shadow: 
                    0 10px 30px rgba(240, 228, 145, 0.4),
                    inset 0 2px 5px rgba(255, 255, 255, 0.3);
            }
            50% { 
                box-shadow: 
                    0 15px 40px rgba(240, 228, 145, 0.6),
                    0 0 20px rgba(240, 228, 145, 0.3),
                    inset 0 2px 5px rgba(255, 255, 255, 0.4);
            }
            100% { 
                box-shadow: 
                    0 10px 30px rgba(240, 228, 145, 0.4),
                    inset 0 2px 5px rgba(255, 255, 255, 0.3);
            }
        }

        .bonus-notice i {
            margin-left: 8px;
            transform: translateZ(5px);
        }

        .referral-notice {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            padding: 15px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 25px;
            font-weight: 700;
            box-shadow: 
                0 8px 25px rgba(102, 126, 234, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.2);
            transform-style: preserve-3d;
            transform: translateZ(15px);
            white-space: normal;
            word-wrap: break-word;
            line-height: 1.5;
        }

        .referral-notice i {
            margin-left: 8px;
            transform: translateZ(5px);
        }

        /* Social Login */
        .social-login {
            margin-top: 30px;
            text-align: center;
            transform-style: preserve-3d;
        }

        .social-divider {
            display: flex;
            align-items: center;
            margin: 25px 0;
            color: var(--text-light);
            transform: translateZ(10px);
        }

        .social-divider::before,
        .social-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(255, 255, 255, 0.2);
            transform: translateZ(5px);
        }

        .social-divider span {
            padding: 0 15px;
            font-size: 14px;
            transform: translateZ(10px);
        }

        .social-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            transform-style: preserve-3d;
        }

        .social-btn {
            flex: 1;
            padding: 14px;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-light);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-family: 'Tajawal', 'Poppins', sans-serif;
            transform-style: preserve-3d;
            transform: translateZ(10px);
            box-shadow: 
                0 5px 15px rgba(0, 0, 0, 0.1),
                inset 0 2px 5px rgba(255, 255, 255, 0.05);
        }

        .social-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px) translateZ(15px);
            box-shadow: 
                0 10px 25px rgba(0, 0, 0, 0.2),
                inset 0 2px 5px rgba(255, 255, 255, 0.1);
        }

        .social-btn.google {
            background: #4285F4;
            border-color: #4285F4;
            color: white;
        }

        .social-btn.google:hover {
            background: #357ae8;
            border-color: #357ae8;
            transform: translateY(-3px) translateZ(15px);
        }

        /* Verification Box */
        .verification-box {
            text-align: center;
            animation: fadeIn 0.5s ease;
            transform-style: preserve-3d;
        }

        .verification-box h3 {
            color: var(--gold-light);
            margin-bottom: 20px;
            font-size: 24px;
            font-weight: 700;
            transform: translateZ(20px);
        }

        .verification-box p {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 30px;
            line-height: 1.6;
            transform: translateZ(15px);
        }

        .verification-code-container {
            direction: ltr;
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 30px 0;
            transform-style: preserve-3d;
        }

        .verification-input {
            width: 50px;
            height: 65px;
            text-align: center;
            font-size: 28px;
            font-weight: bold;
            border: 2px solid var(--gold-light);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.08);
            color: white;
            transition: all 0.3s ease;
            text-transform: uppercase;
            font-family: monospace;
            transform-style: preserve-3d;
            transform: translateZ(15px);
            box-shadow: 
                0 5px 15px rgba(0, 0, 0, 0.2),
                inset 0 2px 5px rgba(255, 255, 255, 0.1);
        }

        .verification-input:focus {
            outline: none;
            border-color: var(--gold-medium);
            background: rgba(255, 255, 255, 0.12);
            box-shadow: 
                0 0 20px rgba(240, 228, 145, 0.5),
                0 10px 25px rgba(240, 228, 145, 0.2),
                inset 0 2px 5px rgba(255, 255, 255, 0.2);
            transform: scale(1.05) translateZ(20px);
        }

        .verification-input.error {
            border-color: #ff4757;
            animation: shake 0.5s ease-in-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0) translateZ(15px); }
            25% { transform: translateX(-5px) translateZ(15px); }
            75% { transform: translateX(5px) translateZ(15px); }
        }

        .resend-code {
            color: var(--gold-light);
            cursor: pointer;
            margin-top: 20px;
            display: inline-block;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            transform-style: preserve-3d;
            transform: translateZ(10px);
        }

        .resend-code:hover {
            color: var(--gold-medium);
            text-decoration: underline;
            transform: translateZ(15px);
        }

        /* Security Alert */
        .security-alert {
            background: rgba(255, 107, 53, 0.1);
            border: 1px solid var(--secondary);
            color: var(--text-light);
            padding: 12px;
            border-radius: 10px;
            margin: 15px 0;
            font-size: 13px;
            text-align: center;
            transform-style: preserve-3d;
            transform: translateZ(10px);
        }

        /* Reset Form */
        .reset-form {
            margin-top: 20px;
            transform-style: preserve-3d;
        }

        .reset-instructions {
            color: var(--text-light);
            text-align: center;
            margin-bottom: 25px;
            font-size: 15px;
            line-height: 1.6;
            transform: translateZ(15px);
        }

        /* Alerts */
        .alert {
            padding: 15px 20px;
            border-radius: 15px;
            margin-bottom: 25px;
            text-align: center;
            font-weight: 600;
            animation: fadeInDown 0.5s ease;
            transform-style: preserve-3d;
            transform: translateZ(20px);
            box-shadow: 
                0 10px 25px rgba(0, 0, 0, 0.2),
                inset 0 2px 5px rgba(255, 255, 255, 0.1);
        }

        .alert-danger {
            background: rgba(255, 71, 87, 0.1);
            border: 1px solid #ff4757;
            color: #ff6b81;
        }

        .alert-success {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid var(--success);
            color: var(--success);
        }

        /* Login Footer */
        .login-footer {
            text-align: center;
            margin-top: 30px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            line-height: 1.6;
            transform-style: preserve-3d;
            transform: translateZ(10px);
        }

        .login-footer a {
            color: var(--gold-light);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .login-footer a:hover {
            color: var(--gold-medium);
            text-decoration: underline;
            transform: translateZ(5px);
        }

        /* Hidden Class */
        .hidden {
            display: none !important;
        }

        /* Animations */
        @keyframes fadeInDown {
            0% {opacity: 0; transform: translateY(-20px) translateZ(20px);}
            100% {opacity: 1; transform: translateY(0) translateZ(20px);}
        }

        @keyframes fadeIn {
            0% {opacity: 0;}
            100% {opacity:1;}
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .header {
                padding: 12px 15px;
            }
            
            .nav-center {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .login-container {
                padding: 40px 30px;
                margin: 0 15px;
                max-width: 90%;
            }
            
            .login-title {
                font-size: 28px;
            }
            
            .form-toggle button {
                padding: 12px 20px;
                font-size: 16px;
            }
            
            .verification-input {
                width: 40px;
                height: 55px;
                font-size: 24px;
            }
            
            .social-buttons {
                flex-direction: column;
            }
            
            .bonus-notice,
            .referral-notice {
                font-size: 14px;
                padding: 15px;
            }
        }

        @media (max-width: 480px) {
            .login-container {
                padding: 30px 20px;
                max-width: 95%;
            }
            
            .login-title {
                font-size: 24px;
            }
            
            .form-toggle button {
                padding: 10px 15px;
                font-size: 14px;
            }
            
            .form-input {
                padding: 15px;
            }
            
            .verification-input {
                width: 35px;
                height: 50px;
                font-size: 22px;
            }
            
            .verification-code-container {
                gap: 8px;
            }
            
            .bonus-notice,
            .referral-notice {
                font-size: 13px;
                padding: 12px;
            }
        }

        /* Footer */
        .footer {
            background: var(--gradient-dark);
            padding: 40px 20px;
            position: relative;
            text-align: center;
            transform-style: preserve-3d;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 14px;
            position: relative;
            padding: 0 10px;
        }

        .footer-links a:hover {
            color: var(--gold-light);
        }

        .footer p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 13px;
        }