:root {
    --bg-dark: #0f172a;
    /* Slate 900 - Deep Navy */
    --bg-darker: #020617;
    /* Slate 950 - Darker Navy */
    --primary: #38bdf8;
    /* Sky 400 - Premium Light Blue */
    --secondary: #94a3b8;
    /* Slate 400 - Cool Grey */
    --accent: #cbd5e1;
    /* Slate 300 - Light Grey */
    --text: #f8fafc;
    /* Slate 50 - Off White */
    --text-dim: #94a3b8;
    /* Slate 400 - Dim Text */
    --glass: rgba(15, 23, 42, 0.6);
    /* Darker, premium glass */
    --glass-border: rgba(255, 255, 255, 0.08);
    /* Subtle border */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Saira Condensed', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Audiowide', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
    letter-spacing: 2px;
    animation: subtle-shake 3s infinite;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

@keyframes subtle-shake {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-1px, 0);
    }

    20% {
        transform: translate(1px, 0);
    }

    30% {
        transform: translate(0, -1px);
    }

    40% {
        transform: translate(0, 1px);
    }

    50% {
        transform: translate(-0.5px, 0.5px);
    }

    60% {
        transform: translate(0.5px, -0.5px);
    }

    70% {
        transform: translate(0, 0);
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem 4rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(148, 163, 184, 0.08) 0%, transparent 50%),
        var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.05) 50%, transparent 100%);
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.glitch {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 400;
    font-weight: 400;
    background: linear-gradient(135deg, #f8fafc 0%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    position: relative;
    animation: glitch 3s infinite, subtle-shake 2s infinite;
    letter-spacing: 4px;
    text-transform: uppercase;
}

@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92% {
        transform: translate(-2px, 2px);
    }

    94% {
        transform: translate(2px, -2px);
    }

    96% {
        transform: translate(-1px, 1px);
    }
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(148, 163, 184, 0.4);
}

.description {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    font-family: 'Saira Condensed', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: #0f172a;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

.stat-number {
    font-family: 'Audiowide', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    animation: subtle-shake 4s infinite;
    letter-spacing: 2px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(148, 163, 184, 0.08));
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {

    0%,
    100% {
        border-color: var(--primary);
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    }

    50% {
        border-color: var(--secondary);
        box-shadow: 0 0 30px rgba(148, 163, 184, 0.3);
    }
}

.announcement-badge {
    background: var(--secondary);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.announcement-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.multiplayer-notice {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.multiplayer-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0.5rem 0;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.feature-coming-soon {
    position: relative;
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(239, 68, 68, 0.05));
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

/* Game Section */
.game-section {
    padding: 6rem 2rem;
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: subtle-shake 5s infinite;
    letter-spacing: 3px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border: 3px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(56, 189, 248, 0.2),
        inset 0 0 20px rgba(56, 189, 248, 0.08);
    background: #000;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.game-controls-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 1rem;
}

.key {
    background: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.12);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-dim);
    line-height: 1.8;
}

/* Download Section */
.download-section {
    padding: 6rem 2rem;
    background:
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 70%),
        var(--bg-darker);
}

.download-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.download-grid-dual {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.download-card {
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    text-align: center;
    transition: all 0.3s ease;
}

.download-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-icon-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.2));
    transition: all 0.3s ease;
}

.download-card:hover .platform-icon-modern {
    filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.3));
    transform: scale(1.1);
}

.download-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.version {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.requirements {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.file-size {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.btn-download {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: #0f1419;
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-download:hover {
    box-shadow: 0 5px 25px rgba(56, 189, 248, 0.25);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--text);
}

.faq-toggle {
    font-size: 2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-dim);
    line-height: 1.8;
}

/* Support Section */
.support-section {
    padding: 6rem 2rem;
    background: var(--bg-darker);
}

.support-grid {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-card {
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.support-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.support-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-link:hover {
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.tips-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.tips-section h3 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}

.tip-number {
    font-family: 'Audiowide', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
    letter-spacing: 1px;
}

.tip-card p {
    color: var(--text-dim);
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .features-grid,
    .download-grid,
    .download-grid-dual,
    .support-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .game-controls-info {
        flex-direction: column;
        align-items: stretch;
    }
}