/* ============================================
   VOID CHESS WEBSITE - Landing Page Styles
   ============================================ */

/* CSS Variables - Premium Dark + Orange Theme */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #18181f;
    --accent-primary: #FF5E3A;
    --accent-secondary: #3dd6c8;
    --accent-danger: #e84057;
    --text-primary: #f5f0e8;
    --text-secondary: #9a9a9a;
    --text-muted: #555555;
    --border-color: #2a2a2f;
    --button-bg: #1e1e26;
    --button-hover: #2a2a35;
    --panel-bg: rgba(17, 17, 24, 0.95);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-decoration: none;
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-secondary);
}

.nav-links a.nav-play-btn {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #FF5E3A 0%, #E8461E 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-links a.nav-play-btn:hover {
    background: linear-gradient(135deg, #FF7A5C 0%, #F05A32 100%);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: radial-gradient(ellipse at center top, #15151f 0%, var(--bg-primary) 60%, #050508 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle grid overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 94, 58, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 94, 58, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-primary);
    text-shadow: 0 0 40px rgba(255, 94, 58, 0.4);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    animation: heroGlow 3s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    from { text-shadow: 0 0 30px rgba(255, 94, 58, 0.3); }
    to { text-shadow: 0 0 50px rgba(255, 94, 58, 0.6), 0 0 80px rgba(255, 94, 58, 0.2); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #FF5E3A 0%, #E8461E 100%);
    color: #0a0a0f;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF7A5C 0%, #F05A32 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 94, 58, 0.3);
}

.btn-secondary {
    padding: 1rem 3rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(245, 240, 232, 0.25);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(245, 240, 232, 0.05);
    border-color: rgba(245, 240, 232, 0.5);
    transform: translateY(-3px);
}

/* ============================================
   SECTIONS - Common
   ============================================ */
.section {
    padding: 5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-secondary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   WHAT IS VOID CHESS
   ============================================ */
.about-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, #0e0e15 100%);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 94, 58, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: var(--accent-primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
}

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

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
    background: #0e0e15;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: all 0.3s;
}

.step:hover {
    border-color: var(--accent-secondary);
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #FF5E3A 0%, #E8461E 100%);
    color: #0a0a0f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
}

.step-content h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

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

/* ============================================
   FEATURES LIST
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--accent-secondary);
    transform: translateX(5px);
}

.feature-item-icon {
    font-size: 1.8rem;
    min-width: 40px;
    text-align: center;
}

.feature-item h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
    background: radial-gradient(ellipse at center, #15151f 0%, var(--bg-primary) 70%);
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #050508;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-secondary);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   LEGAL PAGES (Privacy, Disclaimer)
   ============================================ */
.legal-page {
    padding: 6rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2rem;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-page h2 {
    color: var(--accent-primary);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.legal-page ul, .legal-page ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 900px) {
    .feature-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 46, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.75rem 1rem;
    }

    .nav-hamburger {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .step {
        padding: 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
