/* TinyTrivia Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #0D0D0D;
    --bg-card: #1A1A1A;
    --bg-elevated: #242424;
    --accent: #FF6B35;
    --accent-hover: #FF8555;
    --accent-glow: rgba(255, 107, 53, 0.3);
    --success: #00D26A;
    --text: #FFFFFF;
    --text-secondary: #999999;
    --text-muted: #666666;
    --border: #2A2A2A;
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* ========== HERO ========== */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-badge {
    height: 52px;
    transition: transform 0.2s;
}

.store-badge:hover {
    transform: scale(1.05);
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: 100px 0;
}

.section-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== HOST PERSONALITIES ========== */
.hosts {
    padding: 100px 0;
    background: var(--bg-card);
}

.hosts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.host-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.host-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.host-card.sarcastic::before {
    background: #E74C3C;
}

.host-card.neutral::before {
    background: #3498DB;
}

.host-card.positive::before {
    background: #00D26A;
}

.host-emoji {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
}

.host-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.host-card .host-style {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.host-quote {
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
}

.host-quote-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
    font-style: normal;
}

/* ========== CATEGORIES ========== */
.categories {
    padding: 100px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: border-color 0.3s, transform 0.2s;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.category-icon {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-count {
    font-size: 12px;
    color: var(--text-muted);
}

.category-bar {
    height: 3px;
    background: var(--bg-elevated);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease;
}

/* ========== STATS STRIP ========== */
.stats-strip {
    padding: 60px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand h3 span {
    color: var(--accent);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== LOADING ========== */
.loading-dots {
    display: inline-flex;
    gap: 4px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: dot-pulse 1.4s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-pulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .steps-grid,
    .hosts-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .stats-row {
        gap: 40px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .footer-brand p {
        max-width: 100%;
    }
}
