/* ============================================
   LEGION MOD - Main Stylesheet
   ============================================ */

:root {
    --primary-color: #ffd700;
    --primary-light: #ffec8b;
    --primary-dark: #b8860b;
    --secondary-color: #ff8c00;
    --accent-color: #ff6347;
    --dark-color: #0a0a0f;
    --darker-color: #050508;
    --card-bg: rgba(20, 20, 30, 0.8);
    --light-color: #f0f0f0;
    --border-glow: rgba(255, 215, 0, 0.3);
    --text-muted: rgba(240, 240, 240, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--darker-color);
    color: var(--light-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   Animated Background
   ============================================ */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 140, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 99, 71, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--darker-color) 0%, #0d0d15 50%, var(--darker-color) 100%);
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: float 15s infinite;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

@keyframes float {
    0%, 100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Header
   ============================================ */
.header {
    padding: 40px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo-container {
    position: relative;
    margin-bottom: 20px;
}

.logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 40px rgba(255, 215, 0, 0.4),
        0 0 80px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: logoGlow 3s ease-in-out infinite alternate;
    position: relative;
    transform: rotate(45deg);
}

.logo::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--primary-color));
    border-radius: 32px;
    z-index: -1;
    animation: borderRotate 4s linear infinite;
    opacity: 0.7;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo i {
    font-size: 50px;
    color: var(--dark-color);
    transform: rotate(-45deg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes logoGlow {
    from {
        box-shadow:
            0 0 40px rgba(255, 215, 0, 0.4),
            0 0 80px rgba(255, 215, 0, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    to {
        box-shadow:
            0 0 60px rgba(255, 215, 0, 0.6),
            0 0 100px rgba(255, 215, 0, 0.3),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0 10px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 3px;
    position: relative;
}

h1::after {
    content: 'LEGION MOD';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 50px;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 20, 0.95));
    border-radius: 60px;
    padding: 8px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: navShine 3s infinite;
}

@keyframes navShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.nav-button {
    padding: 14px 30px;
    background: transparent;
    color: var(--light-color);
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: 0 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    position: relative;
    z-index: 1;
}

.nav-button:hover {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.nav-button.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--dark-color);
    box-shadow:
        0 5px 25px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* ============================================
   Tab Content
   ============================================ */
.tab-content {
    display: none;
    width: 100%;
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Content Area
   ============================================ */
.content-area {
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.85), rgba(10, 10, 20, 0.9));
    border-radius: 30px;
    backdrop-filter: blur(20px);
    padding: 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* ============================================
   Section Header
   ============================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.section-header i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 2px;
}

/* ============================================
   Platform Tabs
   ============================================ */
.platform-tabs {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 15px;
}

.platform-tab {
    padding: 12px 35px;
    background: rgba(20, 20, 35, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.2);
    color: var(--light-color);
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.4s ease;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.platform-tab:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}

.platform-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border-color: transparent;
    box-shadow:
        0 5px 30px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.platform-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.platform-content.active {
    display: block;
}

/* ============================================
   Update Info
   ============================================ */
.update-info {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.update-info i {
    color: var(--primary-color);
}

/* ============================================
   Download Buttons
   ============================================ */
.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--dark-color);
    border: none;
    border-radius: 50px;
    padding: 18px 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 80%;
    max-width: 350px;
    box-shadow:
        0 10px 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 15px 50px rgba(255, 215, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.download-btn i {
    font-size: 1.2rem;
}

/* ============================================
   Package Grid
   ============================================ */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.package-card {
    background: linear-gradient(165deg, rgba(25, 25, 40, 0.9), rgba(15, 15, 25, 0.95));
    border-radius: 25px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s;
}

.package-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.package-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

.package-card:hover::before {
    opacity: 1;
}

.package-card:hover::after {
    opacity: 1;
}

.package-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s;
}

.package-card:hover .package-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    border-color: var(--primary-color);
}

.package-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--light-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.package-card .price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.package-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.package-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    border-radius: 30px;
    padding: 14px 40px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.package-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.5);
}

.package-btn i {
    transition: transform 0.3s;
}

.package-btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   Community Section
   ============================================ */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.community-card {
    background: linear-gradient(165deg, rgba(25, 25, 40, 0.9), rgba(15, 15, 25, 0.95));
    border-radius: 25px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.4s ease;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.community-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.community-icon.telegram {
    background: linear-gradient(135deg, #0088cc, #00a2e8);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

.community-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.community-icon.owner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.community-icon.tiktok {
    background: linear-gradient(135deg, #000000, #25f4ee);
    box-shadow: 0 10px 30px rgba(37, 244, 238, 0.4);
}

.community-icon.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4);
}

.community-icon.discord {
    background: linear-gradient(135deg, #5865F2, #7289da);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.community-icon.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.community-icon i {
    font-size: 2.2rem;
    color: white;
}

.community-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--light-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.community-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.community-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.15));
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 12px 35px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.community-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
}

/* ============================================
   Support Section
   ============================================ */
.support-tabs {
    display: flex;
    justify-content: center;
    margin: 25px 0;
    gap: 15px;
}

.support-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.support-content.active {
    display: block;
}

.help-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
    text-align: center;
}

.help-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.help-box h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--light-color);
    font-size: 1.5rem;
    margin: 0 0 15px 0;
}

.help-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.help-box a:hover {
    color: var(--primary-light);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* ============================================
   Return Policy
   ============================================ */
.return-policy h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.return-policy h2 i {
    font-size: 1.3rem;
}

.policy-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
    padding: 25px;
    background: rgba(20, 20, 35, 0.6);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.policy-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 35px;
}

.policy-item h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--light-color);
    font-size: 1.1rem;
    margin: 0 0 10px 0;
}

.policy-item p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    text-align: center;
}

.highlight-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.highlight-box h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--light-color);
    margin: 0;
    font-size: 1.2rem;
}

.highlight-box p {
    color: var(--text-muted);
    margin: 10px 0 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    text-align: center;
    padding: 30px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    margin-top: 50px;
}

.footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer i {
    color: var(--primary-color);
}

/* ============================================
   Modal Styles
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(165deg, rgba(25, 25, 40, 0.95), rgba(15, 15, 25, 0.98));
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.1);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 25px 25px 0 0;
}

.modal-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px 10px rgba(255, 215, 0, 0.2); }
}

.modal-icon i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.modal-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.modal-close-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    border-radius: 30px;
    padding: 14px 45px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.modal-close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.ios-btn-disabled {
    opacity: 0.7;
    position: relative;
}

.ios-btn-disabled::after {
    content: 'SOON';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 15px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .nav {
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .nav-button {
        flex: 1 0 40%;
        padding: 12px 15px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .content-area {
        padding: 25px;
    }

    .platform-tabs,
    .support-tabs {
        flex-direction: column;
        align-items: center;
    }

    .platform-tab {
        width: 80%;
        text-align: center;
    }

    .package-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }

    .download-btn {
        width: 100%;
        padding: 16px 30px;
    }

    .logo {
        width: 90px;
        height: 90px;
    }

    .logo i {
        font-size: 38px;
    }
}

@media (max-width: 480px) {
    .nav-button {
        flex: 1 0 100%;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .section-header i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .policy-item {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Language Selector
   ============================================ */
.lang-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 20, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.current-lang:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.lang-selector.active .current-lang {
    border-color: var(--primary-color);
    border-radius: 20px 20px 0 0;
}

.lang-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.lang-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light-color);
    letter-spacing: 1px;
}

.current-lang i {
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.lang-selector.active .current-lang i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(10, 10, 20, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-top: none;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-height: 300px;
    overflow-y: auto;
}

.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(255, 215, 0, 0.1);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.1));
}

.lang-option .lang-flag {
    width: 22px;
    height: 16px;
}

.lang-option span:last-child {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: var(--light-color);
}

.lang-option.active span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* Language selector scrollbar */
.lang-dropdown::-webkit-scrollbar {
    width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.05);
}

.lang-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 3px;
}

.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lang-selector {
        top: 10px;
        right: 10px;
    }

    .current-lang {
        padding: 8px 14px;
    }

    .lang-name {
        display: none;
    }

    .current-lang i {
        margin-left: 0;
    }

    .lang-dropdown {
        min-width: 150px;
        right: 0;
        left: auto;
    }
}
