@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #9333ea;
    --primary-bright: #a855f7;
    --primary-dim: #7e22ce;
    --primary-deep: #581c87;
    --neon: #c084fc;
    --neon-bright: #d8b4fe;
    --cyan: #22d3ee;
    --cyan-dim: #0891b2;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #eab308;
    --surface-1: #030014;
    --surface-2: #0a0520;
    --surface-3: #110a2e;
    --surface-card: rgba(11, 5, 32, 0.7);
    --border-1: rgba(147, 51, 234, 0.12);
    --border-2: rgba(147, 51, 234, 0.25);
    --border-3: rgba(147, 51, 234, 0.5);
    --text-1: #f5f3ff;
    --text-2: #c4b5fd;
    --text-3: #8b7ab8;
    --glow-sm: 0 0 15px rgba(147, 51, 234, 0.3);
    --glow-md: 0 0 30px rgba(147, 51, 234, 0.25), 0 0 60px rgba(147, 51, 234, 0.1);
    --glow-lg: 0 0 40px rgba(147, 51, 234, 0.3), 0 0 80px rgba(147, 51, 234, 0.15), 0 0 120px rgba(147, 51, 234, 0.05);
    --radius: 14px;
    --radius-lg: 20px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Tajawal', sans-serif;
    background: var(--surface-1);
    color: var(--text-1);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(147, 51, 234, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(34, 211, 238, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 50% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(192, 132, 252, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 40%, rgba(34, 211, 238, 0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 70%, rgba(168, 85, 247, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 30%, rgba(192, 132, 252, 0.15) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 10%, rgba(147, 51, 234, 0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 55%, rgba(192, 132, 252, 0.15) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

body > * { position: relative; z-index: 1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(3, 0, 20, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--neon) 50%, var(--primary) 70%, transparent 100%);
    opacity: 0.6;
}

.nav-brand h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--neon-bright) 0%, var(--primary-bright) 50%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(147, 51, 234, 0.5));
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
    position: relative;
    padding: 0.3rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-bright), var(--cyan));
    transition: all 0.3s var(--ease);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover, .nav-link.active { color: var(--text-1); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.telegram-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
    color: white !important;
    padding: 0.45rem 1.1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s var(--ease);
}
.telegram-link::after { display: none; }
.telegram-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-sm);
    border-color: var(--primary-bright);
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher { position: relative; }

.lang-btn {
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid var(--border-1);
    color: var(--text-1);
    padding: 0.4rem 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.3s var(--ease);
}
.lang-btn:hover { background: rgba(147, 51, 234, 0.15); border-color: var(--border-2); }
.lang-current { font-size: 0.85rem; }
.lang-btn i.fa-chevron-down { font-size: 0.65rem; transition: transform 0.3s; }
.language-switcher.active .lang-btn i.fa-chevron-down { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(11, 5, 32, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    min-width: 160px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), var(--glow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.25s var(--ease);
    z-index: 1000;
    overflow: hidden;
}
.language-switcher.active .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    color: var(--text-1);
    text-decoration: none;
    font-size: 0.88rem;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(147, 51, 234, 0.06);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: rgba(147, 51, 234, 0.1); }
.lang-option.active { background: rgba(147, 51, 234, 0.15); color: var(--neon); font-weight: 600; }

[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    color: var(--text-1);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    border: 1px solid var(--border-1);
    border-radius: 10px;
    background: transparent;
    transition: all 0.3s;
    z-index: 1001;
}
.mobile-menu-toggle:hover { border-color: var(--primary-bright); color: var(--neon); }
.mobile-menu-toggle.active i::before { content: "\f00d"; }

/* ===== HERO ===== */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(34, 211, 238, 0.05) 40%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 6s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f5f3ff 0%, var(--neon) 40%, var(--cyan) 70%, #f5f3ff 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.4));
}

@keyframes textShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 450px;
    margin: 0 auto;
    font-weight: 400;
}

/* ===== CARDS (Downloads, Products, etc) ===== */
.downloads-section, .game-codes-section { padding: 4rem 0; }

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.download-card, .game-code-card {
    background: linear-gradient(160deg, rgba(11, 5, 32, 0.85) 0%, rgba(20, 10, 50, 0.6) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.download-card::before, .game-code-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(160deg, rgba(147, 51, 234, 0.2), transparent 40%, transparent 60%, rgba(34, 211, 238, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0.6;
}

.download-card:hover, .game-code-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-2);
    box-shadow: var(--glow-md), 0 20px 60px rgba(0,0,0,0.4);
}
.download-card:hover::before, .game-code-card:hover::before { opacity: 1; }

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: white;
    box-shadow: var(--glow-sm);
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.card-badge.safe, .card-badge.undetected, .card-badge.safe-plus {
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: white;
    box-shadow: var(--glow-sm);
}

.card-header { margin-bottom: 1.5rem; }
.card-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-1);
    margin-bottom: 0.4rem;
}
.card-header p { color: var(--text-3); font-size: 0.88rem; }

/* Preview */
.preview-container {
    position: relative;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(147, 51, 234, 0.04);
    aspect-ratio: 16/9;
    border: 1px solid var(--border-1);
}
.preview-slider { display: flex; height: 100%; position: relative; }
.preview-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.06), rgba(34, 211, 238, 0.03));
    opacity: 0;
    transition: opacity 0.4s;
}
.preview-slide.active { opacity: 1; }
.preview-placeholder { text-align: center; color: var(--text-3); }
.preview-placeholder i { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--primary-bright); opacity: 0.5; }
.preview-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.6rem;
    pointer-events: none;
}
.preview-btn {
    background: rgba(147, 51, 234, 0.6);
    backdrop-filter: blur(8px);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
.preview-btn:hover { background: var(--primary); transform: scale(1.1); }

/* Features List */
.card-features { margin: 1.5rem 0; }
.card-features ul { list-style: none; }
.card-features li {
    padding: 0.4rem 0;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.card-features i { color: var(--success); font-size: 0.75rem; }

.card-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-1);
}

/* ===== BUTTONS ===== */
.download-btn, .buy-btn, .buy-game-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dim) 100%);
    color: white;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.download-btn::before, .buy-btn::before, .buy-game-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}
.download-btn:hover::before, .buy-btn:hover::before, .buy-game-btn:hover::before { left: 100%; }

.download-btn:hover, .buy-btn:hover, .buy-game-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-md);
    border-color: var(--primary-bright);
}

.download-count {
    margin-top: 0.7rem;
    text-align: center;
    color: var(--text-3);
    font-size: 0.82rem;
}

/* ===== STORE SECTION ===== */
.store-hero {
    padding: 5rem 0 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.store-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(34, 211, 238, 0.04) 40%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 6s ease-in-out infinite alternate;
}
.store-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #f5f3ff 0%, var(--neon) 40%, var(--cyan) 70%, #f5f3ff 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 6s ease-in-out infinite;
    margin-bottom: 0.6rem;
    filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.3));
}
.store-hero p { color: var(--text-2); font-size: 1.05rem; }

.game-codes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: white;
    box-shadow: var(--glow-sm);
}
.game-badge.popular, .game-badge.new, .game-badge.hot { background: linear-gradient(135deg, var(--primary), var(--primary-dim)); }

.game-icon { font-size: 3rem; margin: 1rem 0; color: var(--neon); text-align: center; filter: drop-shadow(0 0 10px rgba(147,51,234,0.5)); }

.game-code-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    color: var(--text-1);
    margin-bottom: 0.4rem;
}
.game-code-card > p { color: var(--text-3); text-align: center; margin-bottom: 1rem; font-size: 0.88rem; line-height: 1.6; }

.game-features { list-style: none; margin: 1rem 0; }
.game-features li { padding: 0.4rem 0; color: var(--text-2); display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.game-features i { color: var(--success); font-size: 0.75rem; }

.game-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin: 0.75rem 0;
    color: var(--neon-bright);
    filter: drop-shadow(0 0 8px rgba(147,51,234,0.4));
}

.game-stock { text-align: center; margin-top: 0.5rem; color: var(--text-3); font-size: 0.85rem; }
.game-stock.in-stock, .game-stock.in_stock { color: var(--success); }
.game-stock.low-stock, .game-stock.low_stock { color: var(--warning); }

/* ===== NEWS ===== */
.news-section { padding: 4rem 0; }
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
    color: var(--text-1);
}
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card {
    background: linear-gradient(160deg, rgba(11,5,32,0.85), rgba(20,10,50,0.6));
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(160deg, rgba(147,51,234,0.15), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.news-card:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: var(--glow-sm); }
.news-date { color: var(--neon); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.news-card h4 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--text-1); }
.news-card p { color: var(--text-2); line-height: 1.7; font-size: 0.9rem; }

/* ===== FAQ ===== */
.faq-section { padding: 4rem 0; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    background: linear-gradient(160deg, rgba(11,5,32,0.8), rgba(20,10,50,0.5));
    border: 1px solid var(--border-1);
    border-radius: var(--radius);
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover { border-color: var(--border-2); }
.faq-question { padding: 1.15rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { background: rgba(147,51,234,0.05); }
.faq-question h4 { color: var(--text-1); font-size: 0.95rem; font-weight: 600; }
.faq-question i { color: var(--primary-bright); transition: transform 0.3s; font-size: 0.8rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 1.5rem 1.15rem; color: var(--text-2); line-height: 1.7; font-size: 0.9rem; }

/* ===== RATINGS ===== */
.ratings-section { padding: 4rem 0; }
.ratings-content {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(11,5,32,0.85), rgba(20,10,50,0.6));
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
}
.rating-summary { margin-bottom: 1.5rem; }
.rating-score {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--neon-bright);
    filter: drop-shadow(0 0 10px rgba(147,51,234,0.4));
}
.rating-stars { color: var(--primary-bright); font-size: 1.2rem; margin-bottom: 0.4rem; }
.rating-breakdown { text-align: left; }
.rating-bar { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.rating-bar span:first-child { min-width: 26px; color: var(--text-2); font-size: 0.85rem; }
.bar-container { flex: 1; height: 5px; background: rgba(147,51,234,0.1); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary-dim), var(--primary-bright)); border-radius: 3px; }
.rating-bar span:last-child { min-width: 34px; text-align: right; color: var(--text-3); font-size: 0.82rem; }

/* ===== PAYMENT METHODS ===== */
.payment-methods {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(160deg, rgba(11,5,32,0.85), rgba(20,10,50,0.6));
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-1);
}
.payment-methods h3 { margin-bottom: 1.5rem; color: var(--text-1); font-size: 1.1rem; }
.payment-icons { display: flex; justify-content: center; gap: 3rem; margin-bottom: 1rem; }
.payment-icon { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: var(--text-2); font-size: 0.85rem; }
.payment-icon i { font-size: 2rem; color: var(--neon); transition: all 0.3s; }
.payment-icon:hover i { color: var(--primary-bright); transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(147,51,234,0.5)); }
.payment-note { color: var(--text-3); font-size: 0.85rem; margin-top: 0.75rem; }

/* ===== MODAL ===== */
.modal { display: none; position: fixed; z-index: 2000; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); overflow-y: auto; }
.modal.active { display: flex; align-items: center; justify-content: center; padding: 2rem; }
.modal-content {
    background: linear-gradient(160deg, rgba(11,5,32,0.97), rgba(20,10,50,0.95));
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    animation: modalIn 0.3s var(--ease);
    box-shadow: var(--glow-lg), 0 20px 60px rgba(0,0,0,0.7);
}
@keyframes modalIn { from { opacity:0; transform: translateY(-20px) scale(0.98); } to { opacity:1; transform: none; } }
.close { position: absolute; right: 1rem; top: 0.8rem; font-size: 1.6rem; color: var(--text-3); cursor: pointer; transition: color 0.2s; line-height: 1; }
.close:hover { color: var(--text-1); }
.modal-content h2 { margin-bottom: 0.6rem; color: var(--text-1); font-weight: 700; font-family: 'Orbitron', sans-serif; font-size: 1.3rem; letter-spacing: 1px; }
.modal-content p { color: var(--text-2); margin-bottom: 1.25rem; font-size: 0.9rem; }
.modal-content input, .modal-content select {
    width: 100%; padding: 0.8rem 1rem; background: rgba(3,0,20,0.6); border: 1px solid var(--border-1);
    border-radius: 10px; color: var(--text-1); font-size: 0.9rem; font-family: inherit; margin-bottom: 0.8rem; transition: border-color 0.2s;
}
.modal-content input:focus, .modal-content select:focus { outline: none; border-color: var(--primary-bright); box-shadow: 0 0 0 3px rgba(147,51,234,0.1); }
.validate-btn, .continue-btn {
    width: 100%; padding: 0.85rem; background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: white; border: 1px solid rgba(168,85,247,0.3); border-radius: 12px; font-size: 0.92rem; font-weight: 700;
    font-family: inherit; cursor: pointer; transition: all 0.3s; letter-spacing: 0.5px;
}
.validate-btn:hover, .continue-btn:hover { transform: translateY(-2px); box-shadow: var(--glow-sm); }
.license-info { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border-1); }
.license-info h3 { margin-bottom: 0.75rem; color: var(--text-1); }
.license-info p { margin-bottom: 0.3rem; color: var(--text-2); font-size: 0.9rem; }
.license-note { font-size: 0.82rem; color: var(--text-3); font-style: italic; margin-top: 0.75rem; }
.modal-footer { text-align: center; margin-top: 1.25rem; color: var(--text-2); font-size: 0.88rem; }
.modal-footer a { color: var(--neon); text-decoration: none; }
.modal-footer a:hover { text-decoration: underline; }
.payment-modal { max-width: 580px; }

/* ===== FORM ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; color: var(--text-1); font-weight: 600; font-size: 0.88rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.8rem 1rem; background: rgba(3,0,20,0.6); border: 1px solid var(--border-1);
    border-radius: 10px; color: var(--text-1); font-size: 0.9rem; font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-bright); box-shadow: 0 0 0 3px rgba(147,51,234,0.08); }

/* ===== FOOTER ===== */
.footer {
    background: rgba(3, 0, 20, 0.6);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-1);
    color: var(--text-3);
    font-size: 0.85rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--neon), var(--primary), transparent);
    opacity: 0.4;
}
.footer a { color: var(--neon); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ===== ALERTS ===== */
.alert { padding: 0.9rem 1.15rem; border-radius: 12px; margin-bottom: 1.25rem; font-size: 0.9rem; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--success); }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--danger); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(3, 0, 20, 0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 999;
    }
    .nav-links.open { display: flex; }
    .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
    .hero-title { font-size: 2.2rem; letter-spacing: 2px; }
    .store-hero h1 { font-size: 1.8rem; }
    .downloads-grid { grid-template-columns: 1fr; }
    .game-codes-grid { grid-template-columns: 1fr; max-width: 100%; }
    .payment-icons { gap: 1.5rem; }
    .modal.active { padding: 1rem; }
    .lang-current { display: none; }
    .crypto-options { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }
    .container { padding: 0 15px; }
    .game-price { font-size: 1.6rem; }
    .download-card, .game-code-card { padding: 1.5rem; }
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] { font-family: 'Tajawal', 'Inter', sans-serif; }
[dir="rtl"] .nav-brand h1 { letter-spacing: 2px; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .card-features li,
[dir="rtl"] .game-features li { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .card-features li i,
[dir="rtl"] .game-features li i { margin-left: 0.5rem; margin-right: 0; }
[dir="rtl"] .faq-question { flex-direction: row-reverse; }
[dir="rtl"] .faq-answer p { text-align: right; }
[dir="rtl"] .download-count { direction: ltr; }
[dir="rtl"] .card-badge { right: auto; left: 1rem; }
[dir="rtl"] .game-badge { left: auto; right: 1rem; }
[dir="rtl"] .rating-bar { flex-direction: row-reverse; }
[dir="rtl"] .rating-bar span:first-child { text-align: left; }
[dir="rtl"] .rating-bar span:last-child { text-align: left; }
[dir="rtl"] .bar-fill { margin-left: auto; margin-right: 0; }
[dir="rtl"] .news-card,
[dir="rtl"] .news-card h4,
[dir="rtl"] .news-card p,
[dir="rtl"] .news-date { text-align: right; }
[dir="rtl"] .hero-subtitle { direction: rtl; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .telegram-link { flex-direction: row-reverse; }
