/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --bg-color: #081018; /* Dark Background */
    --neon-blue: #00BBFF; /* Primary Accent */
    --neon-blue-dim: rgba(0, 187, 255, 0.2);
    --text-primary: #E0F2FE;
    --text-secondary: #94A3B8;

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto Mono', monospace;
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 8px var(--neon-blue);
}

/* ==========================================================================
   Layout & Navigation
   ========================================================================== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(8, 16, 24, 0.9);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--neon-blue-dim);
    z-index: 1000;
}

.back-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--neon-blue);
    text-transform: uppercase;
}

.back-link .icon {
    margin-right: 8px;
    font-weight: bold;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px; /* offset for fixed nav */
    background-image: linear-gradient(to bottom, rgba(8, 16, 24, 0.7), var(--bg-color)), url('assets/Backgroundimage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    z-index: 2;
}

.game-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px var(--neon-blue-dim), 0 0 40px rgba(0, 187, 255, 0.1);
    border: 2px solid var(--neon-blue);
}

.game-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
    margin-bottom: 10px;
    line-height: 1.2;
}

.game-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-color);
    background-color: var(--neon-blue);
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 15px var(--neon-blue);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #fff;
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--neon-blue);
    text-shadow: none;
}

/* ==========================================================================
   Content Sections (Mission & Features)
   ========================================================================== */
.info-section {
    padding: 60px 0;
    position: relative;
    border-top: 1px solid var(--neon-blue-dim);
}

.section-title {
    font-size: 1.8rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

.section-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: rgba(0, 187, 255, 0.05);
    border: 1px solid var(--neon-blue-dim);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--neon-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: rgba(0, 187, 255, 0.1);
    border-color: var(--neon-blue);
    transform: translateY(-5px);
}

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

.feature-icon {
    font-size: 2rem;
    color: var(--neon-blue);
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-blue);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    border-top: 1px solid var(--neon-blue-dim);
    padding: 30px 20px;
    background: rgba(8, 16, 24, 0.95);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legal-links a:hover {
    color: var(--neon-blue);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 480px) {
    .game-title {
        font-size: 2rem;
    }

    .game-icon {
        width: 120px;
        height: 120px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
