        :root {
            --primary: #f9df68;
            --primary-dark: #d4b85a;
            --primary-light: #fef3c7;
            --success: #10b981;
            --success-dark: #059669;
            --danger: #ef4444;
            --danger-dark: #dc2626;
            --warning: #f59e0b;
            --text-main: #e2e8f0;
            --text-sub: #8b9cb8;
            --text-color: #e2e8f0;
            --text-secondary: #8b9cb8;
            --bg-color: #0d1117;
            --card-color: #151b28;
            --border-color: rgba(255, 255, 255, 0.08);
            --border-color-light: rgba(255, 255, 255, 0.08);
            --header-bg: #231F1E;
            --footer-bg: #231F1E;
            --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
            --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.14);
            --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.18);
            --radius-sm: 10px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --space-1: 4px;
            --space-2: 8px;
            --space-3: 12px;
            --space-4: 16px;
            --space-5: 24px;
            --space-6: 32px;
            --space-7: 40px;
            --space-8: 56px;
            --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            --transition-fast: all 0.15s ease;
            --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            --container-max: 1200px;
            --container-narrow: 560px;
            --glow-primary: 0 0 20px rgba(249, 223, 104, 0.3);
            --glow-success: 0 0 20px rgba(16, 185, 129, 0.3);
            --glow-danger: 0 0 20px rgba(239, 68, 68, 0.3);
        }
        
        [data-theme="dark"] {
            --bg-color: #0f1419;
            --card-color: #111827;
            --text-main: #f1f5f9;
            --text-sub: #94a3b8;
            --text-color: #f1f5f9;
            --text-secondary: #94a3b8;
            --border-color: rgba(255, 255, 255, 0.12);
            --border-color-light: rgba(255, 255, 255, 0.12);
            --glow-primary: 0 0 25px rgba(249, 223, 104, 0.4);
            --glow-success: 0 0 25px rgba(16, 185, 129, 0.4);
            --glow-danger: 0 0 25px rgba(239, 68, 68, 0.4);
        }

        * { 
            box-sizing: border-box; 
            -webkit-tap-highlight-color: transparent;
            margin: 0;
            padding: 0;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body { 
            margin: 0; 
            padding: 0; 
            font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
            background: #0d1117;
            background-image: 
                radial-gradient(ellipse at 10% 20%, rgba(249, 223, 104, 0.07) 0%, transparent 55%),
                radial-gradient(ellipse at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 55%);
            color: #e2e8f0; 
            display: flex; 
            flex-direction: column; 
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        [data-theme="dark"] body {
            background: #0d1117 !important;
            background-image: 
                radial-gradient(ellipse at 10% 20%, rgba(249, 223, 104, 0.07) 0%, transparent 55%),
                radial-gradient(ellipse at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 55%) !important;
        }
        
        img { max-width: 100%; display: block; }
        a { color: inherit; text-decoration: none; }
        button, input, select, textarea { font-family: inherit; }
        
        .container { 
            width: 100%; 
            max-width: var(--container-max); 
            margin: 0 auto;
            padding: 0 var(--space-4);
        }
        .container-narrow {
            max-width: var(--container-narrow);
        }
        
        /* Utility Classes */
        .flex { display: flex; }
        .flex-col { flex-direction: column; }
        .items-center { align-items: center; }
        .items-start { align-items: flex-start; }
        .items-stretch { align-items: stretch; }
        .justify-center { justify-content: center; }
        .justify-between { justify-content: space-between; }
        .justify-start { justify-content: flex-start; }
        .justify-end { justify-content: flex-end; }
        .relative { position: relative; }
        .sr-only { 
            position: absolute; 
            width: 1px; 
            height: 1px; 
            padding: 0; 
            margin: -1px; 
            overflow: hidden; 
            clip: rect(0, 0, 0, 0); 
            white-space: nowrap; 
            border-width: 0; 
        }
        .gap-2 { gap: 0.5rem; }
        .gap-4 { gap: 1rem; }
        .w-1\/3 { width: 33.333333%; }
        .w-max { width: max-content; }
        .h-full { height: 100%; }
        .p-1 { padding: 0.25rem; }
        .pb-2 { padding-bottom: 0.5rem; }
        .pt-4 { padding-top: 1rem; }
        .py-4 { padding-top: 1rem; padding-bottom: 1rem; }
        .mb-2\.5 { margin-bottom: 0.625rem; }
        .mb-0 { margin-bottom: 0; }
        .text-sm { font-size: 0.875rem; }
        .text-base { font-size: 1rem; }
        .text-2xl { font-size: 1.5rem; }
        .text-primary { color: var(--primary); }
        .text-black { color: #000; }
        .text-gray-400 { color: #9ca3af; }
        .opacity-75 { opacity: 0.75; }
        .overflow-hidden { overflow: hidden; }
        .ltr\:mr-1 { margin-right: 0.25rem; }
        .rtl\:ml-1 { margin-left: 0.25rem; }
        .lg\:flex-row { }
        @media (min-width: 1024px) {
            .lg\:flex-row { flex-direction: row; }
        }
        .md\:mb-0 { }
        @media (min-width: 768px) {
            .md\:mb-0 { margin-bottom: 0; }
        }
        .hover\:text-primary:hover { color: var(--primary); }
        .da-tm { direction: ltr; }
        .hidden { display: none; }
        .align-center { align-items: center; }
        .shrink-0 { flex-shrink: 0; }
        .text-center { text-align: center; }
        .text-lg { font-size: 1.125rem; }
        .mb-1 { margin-bottom: 0.25rem; }
        .mb-5 { margin-bottom: 1.25rem; }
        .last\:mb-0:last-child { margin-bottom: 0; }
        .block { display: block; }
        .leading-none { line-height: 1; }
        .da-brdr { border-color: rgba(255,255,255,0.08); }
        .\!justify-center { justify-content: center !important; }
        .da-cp { }
        @media (min-width: 768px) {
            .md\:flex-row { flex-direction: row; }
            .md\:gap-4 { gap: 1rem; }
            .md\:items-center { align-items: center; }
            .md\:max-w-xs { max-width: 20rem; }
            .md\:\!mb-0 { margin-bottom: 0 !important; }
        }
        
        /* Layout */
        .main-content { 
            padding: 0 0 60px;
            flex-grow: 1; 
            position: relative;
        }

        /* ===== HERO – full-viewport split-screen ===== */
        .hero {
            min-height: calc(100vh - 60px);
            min-height: calc(100svh - 60px);
            display: flex;
            align-items: center;
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
        
        .hero .container {
            position: relative;
            z-index: 1;
            max-width: var(--container-max);
        }
        
        .hero-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 48px;
            align-items: center;
        }

        /* Right column – copy */
        .hero-copy {
            text-align: right;
        }
        
        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            border-radius: 999px;
            background: rgba(249, 223, 104, 0.1);
            border: 1px solid rgba(249, 223, 104, 0.22);
            color: var(--primary);
            font-weight: 700;
            font-size: 13px;
            margin-bottom: 20px;
        }
        
        .hero-copy h1 {
            font-size: clamp(28px, 4.5vw, 46px);
            line-height: 1.2;
            margin-bottom: 18px;
            color: #f1f5f9;
            font-weight: 800;
        }
        
        .hero-copy p {
            color: #8b9cb8;
            font-size: 16px;
            line-height: 1.75;
            margin-bottom: 28px;
            max-width: 520px;
            margin-right: 0;
            margin-left: auto;
        }
        
        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 32px;
            justify-content: flex-end;
        }
        
        .cta-btn {
            border-radius: 12px;
            padding: 14px 28px;
            font-weight: 700;
            border: 1px solid transparent;
            transition: all 0.25s ease;
            font-size: 15px;
            display: inline-block;
            cursor: pointer;
        }
        
        .cta-btn.primary {
            background: var(--primary);
            color: #111827;
            box-shadow: 0 4px 24px rgba(249, 223, 104, 0.35);
        }
        .cta-btn.primary:hover {
            box-shadow: 0 8px 32px rgba(249, 223, 104, 0.5);
            transform: translateY(-2px);
        }
        
        .cta-btn.secondary {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.15);
            color: #cbd5e1;
        }
        .cta-btn.secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.25);
        }

        /* Price cards */
        .hero-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 14px;
        }
        
        .hero-stat {
            background: rgba(249, 223, 104, 0.06);
            border: 1px solid rgba(249, 223, 104, 0.15);
            padding: 20px 16px;
            border-radius: 16px;
            text-align: center;
            transition: all 0.25s ease;
        }
        .hero-stat:hover {
            border-color: rgba(249, 223, 104, 0.35);
            background: rgba(249, 223, 104, 0.1);
        }
        
        .hero-stat small {
            display: block;
            color: #8b9cb8;
            margin-bottom: 8px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .hero-stat strong {
            color: var(--primary);
            font-size: 24px;
            font-weight: 800;
        }

        /* Left column – Steps (vertical cards, not a grey box) */
        .hero-steps {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }
        
        .hero-steps-title {
            color: #cbd5e1;
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 4px;
            text-align: center;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }
        
        .step-card {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.07);
            border-radius: 16px;
            transition: all 0.3s ease;
        }
        .step-card:hover {
            background: rgba(255, 255, 255, 0.06);
            border-color: rgba(249, 223, 104, 0.2);
            transform: translateX(-4px);
        }
        
        .step-num {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 18px;
            flex-shrink: 0;
            color: #111827;
            background: var(--primary);
            box-shadow: 0 4px 16px rgba(249, 223, 104, 0.3);
        }
        
        .step-text {
            flex: 1;
        }
        .step-text h4 {
            color: #f1f5f9;
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .step-text p {
            color: #8b9cb8;
            font-size: 13px;
            line-height: 1.5;
            margin: 0;
        }

        /* Scroll hint */
        .hero-scroll-hint {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255,255,255,0.25);
            font-size: 22px;
            animation: bounceDown 2s infinite;
        }
        @keyframes bounceDown {
            0%, 100% { transform: translateX(-50%) translateY(0); }
            50% { transform: translateX(-50%) translateY(10px); }
        }

        /* Responsive */
        @media (max-width: 900px) {
            .hero {
                min-height: auto;
                padding: 40px 0;
            }
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .hero-copy {
                text-align: center;
            }
            .hero-copy p {
                margin-left: auto;
                margin-right: auto;
            }
            .hero-actions {
                justify-content: center;
            }
            .step-card:hover {
                transform: none;
            }
        }
        
        @media (max-width: 480px) {
            .hero { padding: 28px 0; }
            .hero-actions { flex-direction: column; }
            .cta-btn { width: 100%; text-align: center; }
            .hero-stats { grid-template-columns: 1fr; }
            .step-num { width: 38px; height: 38px; font-size: 16px; }
        }
        
        /* Order Summary Bar */
        .order-summary-bar {
            background: linear-gradient(135deg, #141a26 0%, #1a1f2e 100%);
            border: 1px solid rgba(249, 223, 104, 0.2);
            border-radius: 14px;
            padding: 16px 20px;
            margin-bottom: 20px;
            display: none;
        }
        
        .order-summary-bar.visible {
            display: block;
            animation: fadeInUp 0.4s ease;
        }
        
        .order-summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #94a3b8;
            font-size: 14px;
            padding: 4px 0;
        }
        
        .order-summary-row.total {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 8px;
            padding-top: 10px;
            color: var(--primary);
            font-weight: 700;
            font-size: 18px;
        }
        
        .order-summary-row span:last-child {
            color: #f1f5f9;
            font-weight: 600;
        }
        
        .order-summary-row.total span:last-child {
            color: var(--primary);
        }

        /* Header */
        .header { 
            background-color: var(--header-bg) !important; 
            padding: 12px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1); 
            box-shadow: 0 2px 16px rgba(0,0,0,0.12);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        @media (min-width: 768px) {
            .header {
                padding: 16px 0;
            }
        }
        
        .header .text-primary {
            color: var(--primary) !important;
        }
        
        .header .text-black {
            color: #fff !important;
        }
        
        .header-container { 
            width: 100%;
        }
        
        .header-row {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            gap: var(--space-3);
        }
        
        .header-side {
            display: flex;
            align-items: center;
            gap: var(--space-2);
        }
        
        .header-center {
            display: flex;
            justify-content: center;
        }
        
        .header-actions {
            justify-content: flex-end;
        }
        
        @media (max-width: 720px) {
            .header {
                padding: 8px 0;
            }
            .header-row {
                grid-template-columns: auto 1fr auto;
                gap: 8px;
            }
            .logo-light {
                height: 2rem !important;
            }
            .currency-selector-wrapper {
                transform: scale(0.85);
                transform-origin: left center;
            }
        }
        
        .navbar-brand { 
            display: inline-block; 
            text-decoration: none; 
        }
        
        .logo-light { 
            height: 2.5rem;
            width: auto; 
            object-fit: contain;
            transition: var(--transition);
        }
        
        @media (min-width: 768px) {
            .logo-light {
                height: 3.5rem;
            }
        }
        
        .logo-light:hover { 
            transform: scale(1.05); 
        }
        
        .header-btn { 
            background: none; 
            border: none; 
            color: #fff; 
            cursor: pointer; 
            padding: 6px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        @media (min-width: 768px) {
            .header-btn {
                padding: 8px;
            }
        }
        
        .header-btn i {
            font-size: 18px;
        }
        
        @media (min-width: 768px) {
            .header-btn i {
                font-size: 20px;
            }
        }
        
        .header-btn:hover { 
            transform: scale(1.1); 
        }

        /* Header Login / Account Button */
        .header-login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            color: #fff;
            text-decoration: none;
            transition: all 0.25s ease;
            cursor: pointer;
        }
        .header-login-btn:hover {
            background: var(--primary);
            color: #111;
            border-color: var(--primary);
            transform: scale(1.08);
        }
        .header-login-btn i {
            font-size: 15px;
        }
        .header-account-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            cursor: pointer;
        }
        .header-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            color: #111;
            font-size: 15px;
            font-family: 'Tajawal', sans-serif;
            border: 2px solid rgba(249, 223, 104, 0.4);
            transition: all 0.25s ease;
        }
        .header-account-btn:hover .header-avatar {
            border-color: var(--primary);
            box-shadow: 0 0 12px rgba(249, 223, 104, 0.4);
            transform: scale(1.08);
        }
        
        /* Footer */
        .footer-container { 
            background-color: #231F1E !important; 
            padding: 20px 15px;
            border-top: 1px solid rgba(255,255,255,0.1); 
            margin-top: auto;
        }
        
        @media (min-width: 768px) {
            .footer-container {
                padding: 30px 20px;
            }
        }
        
        .footer-container * {
            color: #ffffff !important;
        }
        
        .footer-container a {
            color: #ffffff !important;
        }
        
        .footer-container a:hover {
            color: var(--primary) !important;
        }
        
        .footer-container .footer-description,
        .footer-container .copyrights,
        .footer-container .sbc-certificate p {
            color: rgba(255,255,255,0.8) !important;
        }
        
        .footer-container .footer-list a {
            color: #9ca3af !important;
            transition: color 0.2s ease !important;
        }
        
        .footer-container .footer-list a:hover {
            color: var(--primary) !important;
        }
        
        .footer-container .menu-list h3,
        .footer-container .title,
        .footer-container .footer-social h3 {
            color: #ffffff !important;
        }
        
        .footer-container .container { 
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }
        
        .footer-top, .footer-middle {
            padding: 20px 15px;
            border-bottom: 1px solid var(--border-color-light);
        }
        
        @media (min-width: 768px) {
            .footer-top, .footer-middle {
                padding: 30px 20px;
            }
        }
        
        .footer-profile {
            margin-bottom: 20px;
        }
        
        @media (min-width: 768px) {
            .footer-profile {
                margin-bottom: 0;
            }
        }
        
        .footer-profile .logo-light {
            height: 3rem;
        }
        
        @media (min-width: 768px) {
            .footer-profile .logo-light {
                height: 5rem;
            }
        }
        
        .footer-description {
            font-size: 13px;
            margin-top: 15px;
        }
        
        @media (min-width: 768px) {
            .footer-description {
                font-size: 14px;
            }
        }
        
        .menu-list {
            margin-bottom: 20px;
        }
        
        @media (min-width: 768px) {
            .menu-list {
                margin-bottom: 0;
            }
        }
        
        .menu-list h3, .title {
            font-size: 14px;
            margin-bottom: 12px;
        }
        
        @media (min-width: 768px) {
            .menu-list h3, .title {
                font-size: 16px;
                margin-bottom: 15px;
            }
        }
        
        .footer-list {
            display: flex;
            flex-direction: column;
            text-align: right;
            align-items: flex-end;
        }
        
        .footer-list a {
            font-size: 12px;
            margin-bottom: 10px;
        }
        
        @media (min-width: 768px) {
            .footer-list a {
                font-size: 14px;
                margin-bottom: 12px;
            }
        }
        
        .footer-bottom {
            padding: 15px;
        }
        
        @media (min-width: 768px) {
            .footer-bottom {
                padding: 20px;
            }
        }
        
        .sbc-certificate {
            margin-bottom: 15px;
        }
        
        @media (min-width: 1024px) {
            .sbc-certificate {
                margin-bottom: 0;
            }
        }
        
        .copyrights {
            font-size: 11px;
            text-align: center;
        }
        
        @media (min-width: 768px) {
            .copyrights {
                font-size: 14px;
                text-align: right;
            }
        }
        
        .footer-social h3 {
            color: #1e293b;
            margin: 0;
        }
        
        .flex-center { 
            display: flex; 
            align-items: center; 
            justify-content: center; 
        }
        
        .icon { 
            font-size: 1rem; 
        }
        
        .md\:flex-row {
            flex-direction: column;
        }
        
        @media (min-width: 768px) {
            .md\:flex-row {
                flex-direction: row;
            }
        }
        
        .md\:items-center {
            align-items: flex-start;
        }
        
        @media (min-width: 768px) {
            .md\:items-center {
                align-items: center;
            }
        }
        
        .md\:gap-4 {
            gap: 1rem;
        }
        
        .md\:max-w-xs {
            max-width: 100%;
        }
        
        @media (min-width: 768px) {
            .md\:max-w-xs {
                max-width: 20rem;
            }
        }
        
        .md\:!mb-0 {
            margin-bottom: 0.5rem;
        }
        
        @media (min-width: 768px) {
            .md\:!mb-0 {
                margin-bottom: 0;
            }
        }
        
        .align-center {
            align-items: center;
        }
        
        .da-brdr {
            border: none;
        }
        
        .da-cp {
            cursor: pointer;
        }
        
        .text-lg {
            font-size: 1.125rem;
        }
        
        .mb-1 {
            margin-bottom: 0.25rem;
        }
        
        .shrink-0 {
            flex-shrink: 0;
        }
        
        .follow {
            font-weight: 600;
        }
        
        .social-links {
            gap: 0.5rem;
        }
        
        @media (min-width: 768px) {
            .social-links {
                gap: 1rem;
            }
        }
        
        .contact-links {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
        }
        
        .pay-mada, .pay-mastercard, .pay-visa, .pay-stc_pay, .pay-apple_pay, .pay-cod {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 35px;
            height: 20px;
            overflow: hidden;
        }
        
        @media (min-width: 768px) {
            .pay-mada, .pay-mastercard, .pay-visa, .pay-stc_pay, .pay-apple_pay, .pay-cod {
                width: 48px;
                height: 28px;
            }
        }
        
        .pay-mada img, .pay-mastercard img, .pay-visa img, .pay-stc_pay img, .pay-apple_pay img, .pay-cod img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            width: 100%;
            height: 100%;
        }
        
        .sbc-link {
            width: 35px;
            height: 35px;
            overflow: hidden;
        }
        
        @media (min-width: 768px) {
            .sbc-link {
                width: 48px;
                height: 32px;
            }
        }
        
        .sbc-link img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        /* Splash Screen */
        #splash-screen { 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 9999; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            flex-direction: column; 
            transition: opacity 0.6s ease-out, visibility 0.6s; 
            opacity: 1; 
            visibility: visible;
        }
        
        #splash-screen.hidden { 
            opacity: 0; 
            pointer-events: none; 
            visibility: hidden;
        }
        
        .splash-logo-container { 
            background: transparent; 
            width: 200px; 
            height: 200px; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            animation: logo-float 3s ease-in-out infinite;
            padding: 20px;
            position: relative;
        }
        
        .splash-logo { 
            max-width: 100%; 
            max-height: 100%; 
            object-fit: contain;
            animation: logo-pulse 2s ease-in-out infinite;
            filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
        }
        
        @keyframes logo-float {
            0%, 100% { 
                transform: translateY(0px); 
            } 
            50% { 
                transform: translateY(-15px); 
            } 
        }
        
        @keyframes logo-pulse {
            0%, 100% { 
                transform: scale(1); 
                opacity: 1;
            } 
            50% { 
                transform: scale(1.05); 
                opacity: 0.95;
            } 
        }
        
        .splash-text { 
            margin-top: 30px; 
            color: #ffffff; 
            font-size: 18px; 
            font-weight: 600;
            letter-spacing: 1px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            animation: text-fade 2s ease-in-out infinite;
        }
        
        @keyframes text-fade {
            0%, 100% { 
                opacity: 1; 
            } 
            50% { 
                opacity: 0.7; 
            } 
        }
        
        .splash-loader {
            margin-top: 20px;
            width: 60px;
            height: 4px;
            background: rgba(255,255,255,0.3);
            border-radius: 2px;
            overflow: hidden;
            position: relative;
        }
        
        .splash-loader::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: #ffffff;
            border-radius: 2px;
            animation: loader-slide 1.5s ease-in-out infinite;
        }
        
        @keyframes loader-slide {
            0% {
                left: -100%;
            }
            100% {
                left: 100%;
            }
        }

        /* Main Card */
        .card { 
            background: #151b28; 
            border-radius: 20px;
            padding: 24px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.07);
            text-align: center; 
            position: relative; 
            overflow: hidden; 
            animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            transition: var(--transition);
        }
        
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, 
                var(--primary) 0%, 
                var(--success) 50%, 
                var(--primary) 100%);
            opacity: 1;
        }
        
        @media (min-width: 768px) {
            .card {
                border-radius: 28px;
                padding: 36px;
            }
        }
        
        [data-theme="dark"] .card {
            background: #151b28;
        }
        
        @keyframes fadeInUp {
            from { 
                opacity: 0; 
                transform: translateY(30px) scale(0.95); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0) scale(1); 
            }
        }
        
        @keyframes fadeIn {
            from { 
                opacity: 0; 
                transform: translateY(20px) scale(0.98); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0) scale(1); 
            }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        @keyframes shimmer {
            0% {
                background-position: -1000px 0;
            }
            100% {
                background-position: 1000px 0;
            }
        }
        
        /* Tabs */
        .tabs-container {
            margin-bottom: 25px;
        }
        
        .tabs {
            display: flex;
            gap: 10px;
            border-bottom: 2px solid var(--border-color-light);
            margin-bottom: 20px;
        }
        
        .tab {
            flex: 1;
            padding: 14px 20px;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            color: var(--text-secondary);
            font-size: 15px;
            font-weight: 700;
            font-family: 'Tajawal', sans-serif;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
        }
        
        .tab::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary);
            transform: scaleX(0);
            transform-origin: center;
            transition: transform 0.3s ease;
        }
        
        @media (min-width: 768px) {
            .tab {
                font-size: 17px;
                padding: 16px 28px;
            }
        }
        
        .tab:hover {
            color: var(--text-color);
            background: rgba(249, 223, 104, 0.05);
        }
        
        .tab.active {
            color: var(--primary);
            font-weight: 800;
        }
        
        .tab.active::after {
            transform: scaleX(1);
        }
        
        .tab-content {
            display: none;
            text-align: right;
        }
        
        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease-out;
        }
        
        /* Multi-Step Form */
        .form-steps {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
            position: relative;
        }
        
        .step-indicator {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            border: 3px solid rgba(255,255,255,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            color: var(--text-secondary);
            position: relative;
            z-index: 2;
            transition: var(--transition-bounce);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            will-change: transform, box-shadow;
        }
        
        .step-indicator::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 50%;
            border: 2px solid var(--primary);
            opacity: 0;
            transform: scale(0.8);
            transition: var(--transition);
        }
        
        .step-indicator.active {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-color: var(--primary);
            color: #1e293b;
            transform: scale(1.15);
            box-shadow: 
                0 4px 15px rgba(249, 223, 104, 0.4),
                var(--glow-primary);
        }
        
        .step-indicator.active::before {
            opacity: 0.5;
            transform: scale(1.3);
        }
        
        .step-indicator.completed {
            background: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%);
            border-color: var(--success);
            color: transparent;
            box-shadow: 
                0 4px 15px rgba(16, 185, 129, 0.4),
                var(--glow-success);
        }
        
        .step-indicator.completed::after {
            content: '✓';
            position: absolute;
            font-size: 20px;
            font-weight: 900;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }
        
        .step-line {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 2px;
            background: rgba(255,255,255,0.1);
            z-index: 1;
        }
        
        .step-content {
            display: none;
        }
        
        .step-content.active {
            display: block;
            animation: fadeIn 0.3s ease-out;
        }
        
        /* Platform Select - Stage 1 */
        .platform-select {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            justify-content: center;
        }
        
        .platform-btn {
            flex: 1;
            padding: 28px 18px;
            border: 3px solid transparent;
            border-radius: 20px;
            color: #fff;
            font-size: 16px;
            font-weight: 700;
            font-family: 'Tajawal', sans-serif;
            cursor: pointer;
            transition: var(--transition-bounce);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            min-height: 150px;
            justify-content: center;
            box-shadow: 
                0 4px 15px rgba(0,0,0,0.2),
                inset 0 1px 0 rgba(255,255,255,0.2);
            will-change: transform, box-shadow;
        }
        
        .platform-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0.95;
            transition: opacity 0.4s ease;
            background: inherit;
        }
        
        .platform-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }
        
        .platform-btn:hover::before {
            opacity: 1;
        }
        
        .platform-btn:hover::after {
            width: 300px;
            height: 300px;
        }
        
        .platform-btn:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 
                0 15px 40px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.3),
                0 0 30px rgba(255,255,255,0.2);
        }
        
        .platform-btn:active {
            transform: translateY(-4px) scale(1.01);
            transition: var(--transition-fast);
        }
        
        .platform-btn.active {
            border-color: rgba(255,255,255,0.6);
            transform: translateY(-6px) scale(1.04);
            box-shadow: 
                0 20px 50px rgba(0,0,0,0.5),
                inset 0 1px 0 rgba(255,255,255,0.4),
                0 0 40px rgba(255,255,255,0.3);
            animation: pulseGlow 2s ease-in-out infinite;
        }
        
        .platform-btn.active::before {
            opacity: 1;
        }
        
        @keyframes pulseGlow {
            0%, 100% {
                box-shadow: 
                    0 20px 50px rgba(0,0,0,0.5),
                    inset 0 1px 0 rgba(255,255,255,0.4),
                    0 0 40px rgba(255,255,255,0.3);
            }
            50% {
                box-shadow: 
                    0 25px 60px rgba(0,0,0,0.6),
                    inset 0 1px 0 rgba(255,255,255,0.5),
                    0 0 60px rgba(255,255,255,0.5);
            }
        }
        
        .platform-btn-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        
        .platform-logo {
            width: 60px;
            height: 60px;
            object-fit: contain;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
        }
        
        .platform-name {
            font-size: 18px;
            font-weight: 800;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        /* PS/Xbox (Console) - Blue/Green Gradient */
        .platform-btn[data-platform="CONSOLE"] {
            background: linear-gradient(135deg, #0066cc 0%, #00cc66 100%);
        }
        
        /* PC - Orange Gradient */
        .platform-btn[data-platform="PC"] {
            background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
        }
        
        .step-navigation {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }
        
        .step-btn {
            flex: 1;
            padding: 16px 20px;
            border: none;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 700;
            font-family: 'Tajawal', sans-serif;
            cursor: pointer;
            transition: var(--transition-bounce);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
        }
        
        .step-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
            transform: translate(-50%, -50%);
            transition: width 0.5s ease, height 0.5s ease;
        }
        
        .step-btn:hover::before {
            width: 300px;
            height: 300px;
        }
        
        .step-btn.next {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #1e293b;
            box-shadow: 
                0 4px 15px rgba(249, 223, 104, 0.3),
                inset 0 1px 0 rgba(255,255,255,0.3);
        }
        
        .step-btn.prev {
            background: rgba(255,255,255,0.08);
            color: var(--text-color);
            border: 2px solid rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
        }
        
        .step-btn:hover {
            transform: translateY(-3px) scale(1.02);
        }
        
        .step-btn.next:hover {
            box-shadow: 
                0 8px 25px rgba(249, 223, 104, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.4),
                var(--glow-primary);
            background: linear-gradient(135deg, var(--primary) 0%, #f0c850 100%);
        }
        
        .step-btn.prev:hover {
            background: rgba(255,255,255,0.12);
            border-color: rgba(255,255,255,0.25);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }
        
        .step-btn:active {
            transform: translateY(-1px) scale(0.98);
            transition: var(--transition-fast);
        }
        
        .step-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            pointer-events: none;
        }
        
        /* Calculator */
        .calculator-section {
            margin-bottom: 25px;
        }
        
        .range-slider-container {
            margin-bottom: 20px;
        }
        
        .range-slider {
            width: 100%;
            height: 10px;
            border-radius: 10px;
            background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 100%);
            outline: none;
            -webkit-appearance: none;
            appearance: none;
            transition: var(--transition);
        }
        
        [data-theme="dark"] .range-slider {
            background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.15) 100%);
        }
        
        .range-slider:hover {
            background: linear-gradient(90deg, #cbd5e1 0%, #94a3b8 100%);
        }
        
        [data-theme="dark"] .range-slider:hover {
            background: linear-gradient(90deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.2) 100%);
        }
        
        .range-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            cursor: pointer;
            box-shadow: 
                0 3px 10px rgba(249, 223, 104, 0.4),
                0 0 0 4px rgba(249, 223, 104, 0.1),
                inset 0 1px 0 rgba(255,255,255,0.3);
            transition: var(--transition);
            border: 2px solid #ffffff;
        }
        
        .range-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 
                0 4px 15px rgba(249, 223, 104, 0.6),
                0 0 0 6px rgba(249, 223, 104, 0.15),
                inset 0 1px 0 rgba(255,255,255,0.4);
        }
        
        .range-slider::-webkit-slider-thumb:active {
            transform: scale(1.1);
        }
        
        .range-slider::-moz-range-thumb {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            cursor: pointer;
            border: 2px solid #ffffff;
            box-shadow: 
                0 3px 10px rgba(249, 223, 104, 0.4),
                0 0 0 4px rgba(249, 223, 104, 0.1);
            transition: var(--transition);
        }
        
        .range-slider::-moz-range-thumb:hover {
            transform: scale(1.2);
            box-shadow: 
                0 4px 15px rgba(249, 223, 104, 0.6),
                0 0 0 6px rgba(249, 223, 104, 0.15);
        }
        
        .range-slider::-moz-range-thumb:active {
            transform: scale(1.1);
        }
        
        .amount-input-group {
            margin-bottom: 20px;
        }
        
        .amount-input {
            width: 100%;
            padding: 16px 20px;
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 14px;
            direction: ltr;
            text-align: left;
            color: var(--text-color);
            font-size: 20px;
            font-weight: 800;
            font-family: 'Tajawal', sans-serif;
            transition: var(--transition);
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            letter-spacing: 1px;
        }
        
        [data-theme="dark"] .amount-input {
            background: rgba(255,255,255,0.06);
            border-color: rgba(255,255,255,0.12);
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }
        
        .amount-input:hover {
            border-color: rgba(249, 223, 104, 0.4);
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }
        
        .amount-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 
                0 0 0 4px rgba(249, 223, 104, 0.15),
                0 6px 16px rgba(0,0,0,0.12);
            transform: translateY(-2px);
        }
        
        .price-display {
            background: linear-gradient(135deg, var(--primary) 0%, #f0c850 100%);
            padding: 24px;
            border-radius: 18px;
            margin-bottom: 25px;
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 8px 25px rgba(249, 223, 104, 0.3),
                inset 0 1px 0 rgba(255,255,255,0.3);
            animation: scaleIn 0.5s ease-out;
        }
        
        .price-display::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                45deg,
                transparent 30%,
                rgba(255,255,255,0.1) 50%,
                transparent 70%
            );
            animation: shimmer 3s infinite;
        }
        
        .price-label {
            font-size: 15px;
            color: #1e293b;
            margin-bottom: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.9;
        }
        
        .price-value {
            font-size: 36px;
            font-weight: 900;
            color: #1e293b;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1;
        }
        
        @media (min-width: 768px) {
            .price-value {
                font-size: 44px;
            }
            .price-display {
                padding: 28px;
            }
        }
        
        /* Form Groups */
        .form-group {
            margin-bottom: 20px;
            text-align: right;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-color);
        }
        
        .form-label .required {
            color: var(--danger);
            margin-right: 3px;
        }
        
        .form-hint {
            font-size: 12px;
            color: var(--text-secondary);
            margin-top: 4px;
        }
        
        .form-hint.error {
            color: var(--danger);
        }
        
        /* Backup Codes Row */
        .backup-codes-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 15px;
            width: 100%;
        }
        
        .backup-code-input {
            width: 100%;
            padding: 14px;
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            color: var(--text-color);
            font-size: 17px;
            font-weight: 800;
            font-family: 'Tajawal', sans-serif;
            text-align: center;
            direction: ltr;
            transition: var(--transition);
            box-sizing: border-box;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            letter-spacing: 2px;
        }
        
        [data-theme="dark"] .backup-code-input {
            background: rgba(255,255,255,0.06);
            border-color: rgba(255,255,255,0.12);
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }
        
        .backup-code-input:hover {
            border-color: rgba(249, 223, 104, 0.4);
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }
        
        .backup-code-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 
                0 0 0 4px rgba(249, 223, 104, 0.15),
                0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-1px);
        }
        
        .backup-code-input.error {
            border-color: var(--danger);
            background: rgba(239, 68, 68, 0.1);
            animation: shake 0.4s ease;
        }
        
        .backup-code-input.valid {
            border-color: var(--success);
            background: rgba(16, 185, 129, 0.08);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-8px); }
            75% { transform: translateX(8px); }
        }
        
        .backup-codes-help {
            text-align: center;
            margin-bottom: 15px;
        }
        
        .backup-codes-help a {
            color: var(--primary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            background: rgba(249, 223, 104, 0.1);
            border: 2px solid var(--primary);
            border-radius: 10px;
            transition: var(--transition);
        }
        
        .backup-codes-help a:hover {
            background: rgba(249, 223, 104, 0.2);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(249, 223, 104, 0.3);
        }
        
        .backup-codes-help a i {
            font-size: 16px;
        }
        
        /* Checkbox */
        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            margin-bottom: 20px;
            padding: 20px;
            background: linear-gradient(135deg, 
                rgba(249, 223, 104, 0.12) 0%,
                rgba(249, 223, 104, 0.18) 100%);
            border-radius: 14px;
            border: 2px solid rgba(249, 223, 104, 0.4);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .checkbox-group::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.5s ease;
        }
        
        .checkbox-group:hover::before {
            left: 100%;
        }
        
        .checkbox-group:hover {
            background: linear-gradient(135deg, 
                rgba(249, 223, 104, 0.18) 0%,
                rgba(249, 223, 104, 0.25) 100%);
            border-color: rgba(249, 223, 104, 0.6);
            transform: translateX(-2px);
            box-shadow: 0 4px 12px rgba(249, 223, 104, 0.2);
        }
        
        .checkbox-input {
            width: 24px;
            height: 24px;
            margin-top: 2px;
            cursor: pointer;
            flex-shrink: 0;
            accent-color: var(--primary);
            border-radius: 6px;
            transition: var(--transition);
        }
        
        .checkbox-input:hover {
            transform: scale(1.1);
        }
        
        .checkbox-input:checked {
            box-shadow: 0 0 0 4px rgba(249, 223, 104, 0.2);
        }
        
        .checkbox-label {
            font-size: 14px;
            color: var(--text-color);
            line-height: 1.8;
            cursor: pointer;
            font-weight: 600;
            user-select: none;
            transition: var(--transition);
        }
        
        .checkbox-group:hover .checkbox-label {
            color: var(--text-color);
        }
        
        /* Payment Method Select */
        .payment-method-select {
            margin-bottom: 25px;
        }
        
        .payment-method-dropdown {
            width: 100%;
            padding: 16px 50px 16px 18px;
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 14px;
            color: var(--text-color);
            font-size: 16px;
            font-weight: 700;
            font-family: 'Tajawal', sans-serif;
            cursor: pointer;
            transition: var(--transition);
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 16px center;
            background-size: 20px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
            position: relative;
        }
        
        .payment-method-dropdown option {
            padding: 12px 16px;
            font-size: 15px;
            font-weight: 600;
            background: #ffffff;
            color: var(--text-color);
            min-height: 44px;
            line-height: 1.5;
        }
        
        .payment-method-dropdown option:first-child {
            color: var(--text-secondary);
            font-style: italic;
        }
        
        .payment-method-dropdown option:not(:first-child) {
            font-weight: 700;
        }
        
        [data-theme="dark"] .payment-method-dropdown {
            background-color: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.15);
            color: var(--text-color);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f8fafc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }
        
        [data-theme="dark"] .payment-method-dropdown option {
            background: #1a1f2e;
            color: var(--text-color);
        }
        
        [data-theme="dark"] .payment-method-dropdown option:first-child {
            color: var(--text-secondary);
        }
        
        .payment-method-dropdown:hover {
            border-color: rgba(249, 223, 104, 0.5);
            box-shadow: 0 4px 12px rgba(249, 223, 104, 0.15);
            transform: translateY(-1px);
            background-color: #fafafa;
        }
        
        [data-theme="dark"] .payment-method-dropdown:hover {
            background-color: rgba(255,255,255,0.1);
        }
        
        .payment-method-dropdown:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 
                0 0 0 4px rgba(249, 223, 104, 0.15),
                0 6px 16px rgba(0,0,0,0.12);
            background-color: var(--card-color);
            transform: translateY(-2px);
        }
        
        [data-theme="dark"] .payment-method-dropdown:focus {
            background-color: rgba(255,255,255,0.12);
            box-shadow: 
                0 0 0 4px rgba(249, 223, 104, 0.2),
                0 6px 16px rgba(0,0,0,0.3);
        }
        
        .payment-method-dropdown:invalid {
            color: var(--text-secondary);
        }
        
        .payment-method-dropdown:valid:not(:placeholder-shown) {
            color: var(--text-color);
        }
        
        /* Payment Fields Container */
        .payment-fields-container {
            margin-top: 20px;
        }
        
        .payment-field-group {
            margin-bottom: 20px;
        }
        
        /* Payment Method Info */
        .payment-method-info {
            margin-bottom: 24px;
            padding: 20px;
            background: linear-gradient(135deg, 
                rgba(249, 223, 104, 0.12) 0%,
                rgba(249, 223, 104, 0.18) 100%);
            border-radius: 16px;
            border: 2px solid rgba(249, 223, 104, 0.4);
            text-align: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(249, 223, 104, 0.15);
            animation: scaleIn 0.4s ease-out;
        }
        
        .payment-method-info::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;
        }
        
        .payment-method-info:hover::before {
            left: 100%;
        }
        
        .payment-method-info img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            margin-bottom: 12px;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
            transition: var(--transition);
        }
        
        .payment-method-info:hover img {
            transform: scale(1.05);
            filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
        }
        
        .payment-fee {
            font-size: 15px;
            color: var(--text-secondary);
            margin-top: 8px;
            font-weight: 600;
        }
        
        .form-input {
            width: 100%;
            padding: 14px 18px;
            background: #ffffff;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            color: var(--text-color);
            font-size: 15px;
            font-family: 'Tajawal', sans-serif;
            transition: var(--transition);
            text-align: right;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        [data-theme="dark"] .form-input {
            background: rgba(255,255,255,0.06);
            border-color: rgba(255,255,255,0.12);
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }
        
        .form-input:hover {
            border-color: rgba(249, 223, 104, 0.4);
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--card-color);
            box-shadow: 
                0 0 0 4px rgba(249, 223, 104, 0.15),
                0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-1px);
        }
        
        [data-theme="dark"] .form-input:focus {
            background: rgba(255,255,255,0.08);
            box-shadow: 
                0 0 0 4px rgba(249, 223, 104, 0.2),
                0 4px 12px rgba(0,0,0,0.3);
        }
        
        /* Country Code Selector for Payment Phone Fields */
        .country-code-select {
            font-family: 'Tajawal', sans-serif;
            font-size: 15px;
            font-weight: 500;
            padding: 12px 35px 12px 12px;
            border-radius: 12px;
            border: 2px solid var(--border-color-light);
            background: var(--card-color);
            color: var(--text-color);
            cursor: pointer;
            transition: var(--transition);
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f9df68' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            background-size: 12px;
            direction: ltr;
            text-align: left;
            width: 100%;
        }
        
        .country-code-select:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            background-color: rgba(0, 0, 0, 0.05);
        }
        
        [data-theme="dark"] .country-code-select:disabled {
            background-color: rgba(255, 255, 255, 0.03);
        }
        
        .country-code-select:hover {
            border-color: rgba(249, 223, 104, 0.5);
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }
        
        .country-code-select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 
                0 0 0 4px rgba(249, 223, 104, 0.15),
                0 4px 12px rgba(0,0,0,0.1);
        }
        
        [data-theme="dark"] .country-code-select {
            background-color: rgba(255,255,255,0.05);
        }
        
        [data-theme="dark"] .country-code-select:focus {
            background-color: rgba(255,255,255,0.08);
            box-shadow: 
                0 0 0 4px rgba(249, 223, 104, 0.2),
                0 4px 12px rgba(0,0,0,0.3);
        }
        
        .country-code-select option {
            padding: 8px;
            background: var(--card-color);
            color: var(--text-color);
        }
        
        [data-theme="dark"] .country-code-select option {
            background: #1a1f2e;
            color: #f1f5f9;
        }
        
        .phone-input-with-code {
            direction: ltr;
        }
        
        @media (max-width: 640px) {
            .country-code-select {
                font-size: 14px;
                padding: 10px 30px 10px 10px;
                background-size: 10px;
                background-position: right 8px center;
            }
        }
        
        .form-input.error {
            border-color: var(--danger);
            background: rgba(239, 68, 68, 0.1);
            animation: shake 0.4s ease;
        }
        
        [data-theme="dark"] .form-input.error {
            background: rgba(239, 68, 68, 0.15);
            border-color: var(--danger);
        }
        
        .form-textarea {
            width: 100%;
            padding: 12px 15px;
            background: #f8fafc;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            color: var(--text-color);
            font-size: 14px;
            font-family: 'Tajawal', sans-serif;
            transition: var(--transition);
            text-align: right;
            resize: vertical;
            min-height: 100px;
        }
        
        [data-theme="dark"] .form-textarea {
            background: rgba(255,255,255,0.05);
            border-color: rgba(255,255,255,0.1);
        }
        
        .form-textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--card-color);
        }
        
        .submit-btn {
            width: 100%;
            padding: 18px 24px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: #1e293b;
            border: none;
            border-radius: 14px;
            font-size: 17px;
            font-weight: 800;
            font-family: 'Tajawal', sans-serif;
            cursor: pointer;
            transition: var(--transition-bounce);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 15px rgba(249, 223, 104, 0.3),
                inset 0 1px 0 rgba(255,255,255,0.3);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            will-change: transform, box-shadow;
        }
        
        .submit-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }
        
        .submit-btn:hover::before {
            width: 400px;
            height: 400px;
        }
        
        .submit-btn:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 
                0 12px 30px rgba(249, 223, 104, 0.4),
                inset 0 1px 0 rgba(255,255,255,0.4),
                var(--glow-primary);
            background: linear-gradient(135deg, var(--primary) 0%, #f0c850 100%);
        }
        
        .submit-btn:active {
            transform: translateY(-1px) scale(0.98);
            transition: var(--transition-fast);
        }
        
        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            pointer-events: none;
            background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
        }
        
        .submit-btn.loading {
            pointer-events: none;
        }
        
        .submit-btn.loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(30, 41, 59, 0.3);
            border-top-color: #1e293b;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        /* Status Display */
        .status-display {
            margin-top: 20px;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
        }
        
        .status-display.success {
            background: rgba(16, 185, 129, 0.1);
            border: 2px solid var(--success);
        }
        
        .status-display.error {
            background: rgba(239, 68, 68, 0.1);
            border: 2px solid var(--danger);
        }
        
        .status-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .status-display.success .status-title {
            color: var(--success);
        }
        
        .status-display.error .status-title {
            color: var(--danger);
        }
        
        .status-info {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .status-item {
            display: flex;
            justify-content: space-between;
            padding: 10px;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
        }
        
        [data-theme="dark"] .status-item {
            background: rgba(255,255,255,0.05);
        }
        
        .status-label {
            font-weight: 600;
            color: var(--text-secondary);
        }
        
        .status-value {
            font-weight: 700;
            color: var(--text-color);
        }
        
        .error-form {
            margin-top: 20px;
            padding: 20px;
            background: rgba(239, 68, 68, 0.05);
            border-radius: 12px;
            border: 1px solid rgba(239, 68, 68, 0.2);
        }
        
        .error-form .form-group {
            margin-bottom: 15px;
        }
        
        .error-message {
            color: var(--danger);
            font-size: 13px;
            margin-top: 5px;
            display: none;
        }
        
        .error-message.show {
            display: block;
        }
        
        /* WhatsApp */
        .whatsapp-opener { 
            position: fixed !important; 
            bottom: 24px; 
            right: 24px; 
            background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
            color: #FFF; 
            border-radius: 50%; 
            width: 64px; 
            height: 64px; 
            font-size: 30px; 
            box-shadow: 
                0 6px 25px rgba(37, 211, 102, 0.5),
                0 0 0 0 rgba(37, 211, 102, 0.7),
                inset 0 1px 0 rgba(255,255,255,0.3);
            display: flex; 
            justify-content: center; 
            align-items: center; 
            cursor: pointer; 
            z-index: 9999 !important; 
            transition: var(--transition-bounce);
            animation: float 3s ease-in-out infinite, pulseWhatsApp 2s ease-in-out infinite;
            overflow: hidden;
            will-change: transform, box-shadow;
        }
        
        .whatsapp-opener::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }
        
        .whatsapp-opener:hover::before {
            width: 300px;
            height: 300px;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-12px) rotate(5deg); }
        }
        
        @keyframes pulseWhatsApp {
            0%, 100% {
                box-shadow: 
                    0 6px 25px rgba(37, 211, 102, 0.5),
                    0 0 0 0 rgba(37, 211, 102, 0.7),
                    inset 0 1px 0 rgba(255,255,255,0.3);
            }
            50% {
                box-shadow: 
                    0 8px 30px rgba(37, 211, 102, 0.7),
                    0 0 0 12px rgba(37, 211, 102, 0),
                    inset 0 1px 0 rgba(255,255,255,0.4);
            }
        }
        
        .whatsapp-opener:hover { 
            transform: scale(1.2) translateY(-8px) rotate(5deg); 
            box-shadow: 
                0 12px 40px rgba(37, 211, 102, 0.7),
                0 0 0 18px rgba(37, 211, 102, 0.15),
                inset 0 1px 0 rgba(255,255,255,0.4);
            background: linear-gradient(135deg, #2fe576 0%, #25d366 100%);
        }
        
        .whatsapp-opener:active {
            transform: scale(1.1) translateY(-4px);
            transition: var(--transition-fast);
        }
        
        #whatsapp-popup-backdrop {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 9997;
        }
        
        #whatsapp-popup-backdrop.show {
            display: block;
        }
        
        #whatsapp-popup { 
            display: none; 
            position: fixed; 
            bottom: 85px; 
            right: 20px; 
            width: 320px; 
            max-width: calc(100vw - 40px);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.95) 100%);
            backdrop-filter: blur(20px);
            border-radius: 20px; 
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
            z-index: 9998 !important; 
            overflow: hidden; 
            animation: slideUpBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }
        
        @keyframes slideUpBounce {
            0% { 
                opacity: 0; 
                transform: translateY(30px) scale(0.9); 
            }
            60% {
                transform: translateY(-5px) scale(1.02);
            }
            100% { 
                opacity: 1; 
                transform: translateY(0) scale(1); 
            }
        }
        
        #whatsapp-popup.show { 
            display: block; 
        }
        
        .popup-header { 
            background: linear-gradient(135deg, var(--primary) 0%, #f0c850 100%);
            color: #1e293b; 
            padding: 18px 20px; 
            text-align: center; 
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .popup-close-btn {
            background: rgba(0, 0, 0, 0.1);
            border: none;
            color: #1e293b;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .popup-close-btn:hover {
            background: rgba(0, 0, 0, 0.2);
            transform: rotate(90deg);
        }
        
        .popup-header h4 {
            flex: 1;
            margin: 0;
            font-size: 15px;
        }
        
        .contact-list { 
            padding: 8px 0; 
            max-height: 350px;
            overflow-y: auto;
        }
        
        .contact-item { 
            display: flex; 
            align-items: center; 
            gap: 14px;
            padding: 14px 20px; 
            text-decoration: none; 
            color: #1e293b; 
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        
        .contact-item:hover { 
            background: rgba(37, 211, 102, 0.08);
        }
        
        .contact-item i {
            font-size: 22px;
            color: #25d366;
        }
        
        .contact-item span {
            flex: 1;
            font-size: 14px;
            font-weight: 600;
        }
        
        /* Notification */
        .notification-toast {
            position: fixed;
            top: 24px;
            right: 24px;
            max-width: 440px;
            width: calc(100% - 48px);
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.12) 0%,
                rgba(255, 255, 255, 0.08) 50%,
                rgba(255, 255, 255, 0.12) 100%);
            backdrop-filter: blur(40px) saturate(180%);
            border-radius: 18px;
            box-shadow: 
                0 10px 40px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            z-index: 10001;
            opacity: 0;
            transform: translateX(500px) scale(0.9);
            transition: var(--transition-bounce);
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.25);
        }
        
        [data-theme="dark"] .notification-toast {
            background: linear-gradient(135deg, 
                rgba(30, 41, 59, 0.95) 0%,
                rgba(26, 31, 46, 0.95) 50%,
                rgba(30, 41, 59, 0.95) 100%);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }
        
        .notification-toast.show {
            opacity: 1;
            transform: translateX(0) scale(1);
        }
        
        .notification-toast::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--success), var(--primary));
            transform: scaleX(0);
            transform-origin: left;
            animation: progressLine 5s linear forwards;
        }
        
        .notification-toast.error::before {
            background: linear-gradient(90deg, var(--danger), #dc2626);
        }
        
        .notification-toast.warning::before {
            background: linear-gradient(90deg, var(--warning), #f59e0b);
        }
        
        @keyframes progressLine {
            to {
                transform: scaleX(1);
            }
        }
        
        .notification-content {
            display: flex;
            align-items: flex-start;
            padding: 18px;
            gap: 12px;
        }
        
        .notification-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #10b981, #059669);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
        }
        
        .notification-toast.error .notification-icon {
            background: linear-gradient(135deg, var(--danger), #dc2626);
            box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
        }
        
        .notification-toast.warning .notification-icon {
            background: linear-gradient(135deg, var(--warning), #f59e0b);
            box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
        }
        
        .notification-toast.error {
            border: 1px solid rgba(239, 68, 68, 0.3);
        }
        
        .notification-toast.warning {
            border: 1px solid rgba(245, 158, 11, 0.3);
        }
        
        .notification-toast.error .notification-title {
            color: var(--danger);
        }
        
        .notification-toast.warning .notification-title {
            color: var(--warning);
        }
        
        [data-theme="dark"] .notification-toast.error {
            background: linear-gradient(135deg, 
                rgba(30, 41, 59, 0.95) 0%,
                rgba(26, 31, 46, 0.95) 50%,
                rgba(30, 41, 59, 0.95) 100%);
            border: 1px solid rgba(239, 68, 68, 0.4);
        }
        
        [data-theme="dark"] .notification-toast.warning {
            background: linear-gradient(135deg, 
                rgba(30, 41, 59, 0.95) 0%,
                rgba(26, 31, 46, 0.95) 50%,
                rgba(30, 41, 59, 0.95) 100%);
            border: 1px solid rgba(245, 158, 11, 0.4);
        }
        
        .notification-body {
            flex: 1;
            min-width: 0;
        }
        
        .notification-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 6px;
        }
        
        .notification-message {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.6;
            white-space: pre-line;
        }
        
        .notification-close {
            flex-shrink: 0;
            background: none;
            border: none;
            color: var(--text-secondary);
            cursor: pointer;
            padding: 4px;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
            opacity: 0.6;
        }
        
        .notification-close:hover {
            opacity: 1;
            background: rgba(0, 0, 0, 0.05);
        }
        
        /* Loading Spinner */
        .loading-spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(30, 41, 59, 0.2);
            border-top-color: #1e293b;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Smooth Scroll */
        * {
            scroll-behavior: smooth;
        }
        
        /* Selection */
        ::selection {
            background: var(--primary);
            color: #1e293b;
        }
        
        ::-moz-selection {
            background: var(--primary);
            color: #1e293b;
        }
        
        /* Focus Visible */
        *:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }
        
        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }
        
        ::-webkit-scrollbar-track {
            background: var(--bg-color);
        }
        
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: 5px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        }
        
        /* Currency Selector Styling */
        .currency-selector-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            padding: 8px 12px;
            background: linear-gradient(135deg, 
                rgba(249, 223, 104, 0.1) 0%,
                rgba(249, 223, 104, 0.05) 100%);
            border-radius: 16px;
            border: 2px solid rgba(249, 223, 104, 0.3);
            backdrop-filter: blur(10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px rgba(249, 223, 104, 0.15);
        }
        
        .currency-selector-wrapper:hover {
            border-color: rgba(249, 223, 104, 0.6);
            box-shadow: 0 6px 20px rgba(249, 223, 104, 0.25);
            transform: translateY(-2px);
            background: linear-gradient(135deg, 
                rgba(249, 223, 104, 0.15) 0%,
                rgba(249, 223, 104, 0.08) 100%);
        }
        
        .currency-icon-wrapper {
            position: relative;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, 
                var(--primary) 0%,
                var(--primary-dark) 100%);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(249, 223, 104, 0.4);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .currency-icon-wrapper::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 14px;
            background: linear-gradient(135deg, 
                var(--primary) 0%,
                var(--primary-dark) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
            filter: blur(8px);
        }
        
        .currency-selector-wrapper:hover .currency-icon-wrapper::before {
            opacity: 0.6;
        }
        
        .currency-selector-wrapper:hover .currency-icon-wrapper {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 6px 20px rgba(249, 223, 104, 0.6);
        }
        
        .currency-icon {
            font-size: 20px;
            color: #1e293b;
            transition: all 0.3s ease;
            z-index: 1;
        }
        
        .currency-selector-wrapper:hover .currency-icon {
            transform: scale(1.1);
        }
        
        .currency-select {
            background: transparent;
            border: none;
            color: var(--text-color);
            font-family: 'Tajawal', sans-serif;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            outline: none;
            padding: 6px 32px 6px 12px;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f9df68' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 12px;
            transition: all 0.3s ease;
            min-width: 160px;
            display: none !important; /* Hide select dropdown, use popup instead */
            pointer-events: none;
        }
        
        .currency-select:hover {
            color: var(--primary);
        }
        
        .currency-select:focus {
            color: var(--primary);
        }
        
        .currency-select option {
            background: var(--bg-color);
            color: var(--text-color);
            padding: 12px;
            font-weight: 500;
        }
        
        .currency-select option:hover {
            background: var(--primary);
            color: #1e293b;
        }
        
        .currency-select option:checked {
            background: var(--primary);
            color: #1e293b;
        }
        
        /* Dark mode adjustments for currency selector */
        [data-theme="dark"] .currency-selector-wrapper {
            background: linear-gradient(135deg, 
                rgba(249, 223, 104, 0.15) 0%,
                rgba(249, 223, 104, 0.08) 100%);
            border-color: rgba(249, 223, 104, 0.4);
        }
        
        [data-theme="dark"] .currency-selector-wrapper:hover {
            border-color: rgba(249, 223, 104, 0.6);
            background: linear-gradient(135deg, 
                rgba(249, 223, 104, 0.2) 0%,
                rgba(249, 223, 104, 0.12) 100%);
        }
        
        [data-theme="dark"] .currency-select option {
            background: #1e293b;
            color: #f1f5f9;
        }
        
        /* Responsive for currency selector */
        @media (max-width: 768px) {
            .currency-selector-wrapper {
                padding: 6px 10px;
                gap: 8px;
            }
            
            .currency-icon-wrapper {
                width: 36px;
                height: 36px;
            }
            
            .currency-icon {
                font-size: 18px;
            }
            
            .currency-select {
                font-size: 13px;
                padding: 5px 28px 5px 10px;
                min-width: 140px;
            }
        }
        
        @media (max-width: 640px) {
            .header-container .flex.items-stretch {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
            
            .header-container .flex.items-stretch > div:first-child {
                width: auto;
                justify-content: flex-start;
                order: 1;
            }
            
            .header-container .flex.items-stretch > div:nth-child(2) {
                order: 2;
                flex: 1;
                justify-content: center;
            }
            
            .header-container .flex.items-stretch > div:last-child {
                width: auto;
                justify-content: flex-end;
                order: 3;
                margin-top: 0;
            }
            
            .currency-selector-wrapper {
                padding: 6px;
                gap: 0;
                cursor: pointer;
            }
            
            .currency-icon-wrapper {
                width: 40px;
                height: 40px;
            }
            
            .currency-icon {
                font-size: 20px;
            }
            
            .currency-select {
                display: none;
            }
        }
        
        /* Currency popup for all devices */
        .currency-mobile-popup {
            position: fixed;
            z-index: 10001;
            background: var(--card-color);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease;
        }
        
        /* Desktop: centered modal */
        @media (min-width: 641px) {
            .currency-mobile-popup {
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                border-radius: 20px;
                padding: 32px;
                min-width: 400px;
                max-width: 500px;
            }
        }
        
        /* Mobile: bottom sheet */
        @media (max-width: 640px) {
            .currency-mobile-popup {
                bottom: 0;
                left: 0;
                right: 0;
                border-radius: 20px 20px 0 0;
                padding: 24px;
            }
        }
        
        .currency-mobile-popup-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--border-color);
        }
        
        .currency-mobile-popup-header h4 {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
            color: var(--text-color);
        }
        
        @media (min-width: 641px) {
            .currency-mobile-popup-header h4 {
                font-size: 20px;
            }
        }
        
        .currency-mobile-close {
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 24px;
            cursor: pointer;
            padding: 4px 8px;
            transition: all 0.2s ease;
            border-radius: 8px;
        }
        
        .currency-mobile-close:hover {
            background: rgba(0, 0, 0, 0.05);
        }
        
        [data-theme="dark"] .currency-mobile-close:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        .currency-mobile-options {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .currency-mobile-option {
            padding: 16px;
            background: rgba(249, 223, 104, 0.1);
            border: 2px solid rgba(249, 223, 104, 0.3);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 16px;
            font-weight: 600;
            color: var(--text-color);
        }
        
        @media (min-width: 641px) {
            .currency-mobile-option {
                padding: 20px;
                font-size: 17px;
            }
        }
        
        .currency-mobile-option:hover,
        .currency-mobile-option.active {
            background: rgba(249, 223, 104, 0.2);
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(249, 223, 104, 0.3);
        }
        
        /* Backdrop for popup */
        .currency-popup-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 10000;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        /* Responsive Enhancements */
        @media (max-width: 640px) {
            .main-content {
                padding: 15px;
                background: linear-gradient(180deg, 
                    rgba(249, 223, 104, 0.04) 0%, 
                    rgba(16, 185, 129, 0.04) 100%);
            }
            
            [data-theme="dark"] .main-content {
                background: linear-gradient(180deg, 
                    rgba(15, 23, 42, 0.98) 0%, 
                    rgba(30, 41, 59, 0.98) 100%);
            }
            
            .container {
                max-width: 100%;
            }
            
            .card {
                padding: 20px;
                border-radius: 18px;
            }
            
            .platform-btn {
                min-height: 130px;
                padding: 20px 12px;
            }
            
            .platform-logo {
                width: 50px !important;
                height: 50px !important;
            }
            
            .platform-btn[data-platform="PC"] .platform-logo {
                width: 60px !important;
                height: 60px !important;
            }
            
            .price-value {
                font-size: 28px;
            }
            
            .step-indicator {
                width: 38px;
                height: 38px;
            }
            
            #whatsapp-popup {
                right: 16px;
                left: 16px;
                width: auto;
                bottom: 80px;
            }
            
            .notification-toast {
                top: 16px;
                right: 16px;
                width: calc(100% - 32px);
                max-width: 100%;
            }
        }
        
        @media (min-width: 1024px) {
            .card {
                max-width: 600px;
                margin: 0 auto;
            }
        }
        
        /* Terms Popup */
        .terms-popup {
            position: fixed;
            inset: 0;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .terms-popup-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(8px);
            animation: fadeIn 0.3s ease;
        }
        
        .terms-popup-content {
            position: relative;
            background: var(--card-color);
            border-radius: 20px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.3s ease;
            border: 2px solid rgba(249, 223, 104, 0.3);
        }
        
        .terms-popup-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px;
            border-bottom: 2px solid var(--border-color);
            background: linear-gradient(135deg, 
                rgba(249, 223, 104, 0.1) 0%,
                rgba(249, 223, 104, 0.05) 100%);
        }
        
        .terms-popup-header h3 {
            margin: 0;
            font-size: 20px;
            font-weight: 700;
            color: var(--text-color);
        }
        
        .terms-popup-close {
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 24px;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 8px;
            transition: all 0.2s ease;
        }
        
        .terms-popup-close:hover {
            background: rgba(239, 68, 68, 0.1);
            color: var(--danger);
        }
        
        .terms-popup-body {
            padding: 24px;
        }
        
        .terms-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 16px;
            margin-bottom: 12px;
            background: rgba(249, 223, 104, 0.05);
            border-radius: 12px;
            border-right: 4px solid var(--primary);
        }
        
        .terms-item:last-child {
            margin-bottom: 0;
        }
        
        .terms-item i {
            font-size: 20px;
            flex-shrink: 0;
            margin-top: 2px;
        }
        
        .terms-item p {
            margin: 0;
            font-size: 15px;
            line-height: 1.6;
            color: var(--text-color);
        }
        
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @media (min-width: 641px) {
            @keyframes slideUp {
                from {
                    opacity: 0;
                    transform: translate(-50%, -45%);
                }
                to {
                    opacity: 1;
                    transform: translate(-50%, -50%);
                }
            }
        }
        
        /* Print Styles */
        @media print {
            .whatsapp-opener,
            #whatsapp-popup,
            #whatsapp-popup-backdrop,
            .notification-toast,
            #terms-popup {
                display: none !important;
            }
        }
