/* 5 Clues Website - Game Show Dark Aesthetic */

:root {
    --bg-dark: #0A0E27;
    --bg-mid: #1A1F4E;
    --bg-surface: #1E2354;
    --accent-cyan: #00D4FF;
    --accent-cyan-dark: #00A8CC;
    --accent-green: #00FF88;
    --accent-gold: #FFD700;
    --text-white: #FFFFFF;
    --text-light: #B8C1E8;
    --text-muted: #6B7DB8;
    --shadow-color: rgba(0, 212, 255, 0.15);
    --card-cyan: rgba(0, 212, 255, 0.15);
    --card-green: rgba(0, 255, 136, 0.15);
    --card-gold: rgba(255, 215, 0, 0.15);
    --card-purple: rgba(168, 85, 247, 0.15);
}

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

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 50%, #2D1B4E 100%);
}

.hero-content {
    max-width: 500px;
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow-color), 0 0 60px rgba(0, 212, 255, 0.2);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
}

.tagline {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* iOS App Store Button */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    color: #000000;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.download-btn .apple-icon {
    font-size: 28px;
    line-height: 1;
}

.download-btn .btn-text {
    text-align: left;
}

.download-btn .btn-text-small {
    font-size: 10px;
    font-weight: 400;
    display: block;
    opacity: 0.8;
}

.download-btn .btn-text-large {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-top: -2px;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 20px;
    background-color: var(--bg-surface);
}

.screenshots h2,
.features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 48px;
}

.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.screenshot-wrapper {
    flex-shrink: 0;
    width: 220px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 40px var(--shadow-color);
    background: var(--bg-mid);
    transition: transform 0.3s ease;
}

.screenshot-wrapper:hover {
    transform: translateY(-8px);
}

.screenshot-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:nth-child(1) { background: var(--card-cyan); border-color: rgba(0, 212, 255, 0.3); }
.feature-card:nth-child(2) { background: var(--card-green); border-color: rgba(0, 255, 136, 0.3); }
.feature-card:nth-child(3) { background: var(--card-gold); border-color: rgba(255, 215, 0, 0.3); }
.feature-card:nth-child(4) { background: var(--card-purple); border-color: rgba(168, 85, 247, 0.3); }

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

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

/* Footer */
footer {
    background: var(--bg-dark);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.footer-links {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.footer-links .divider {
    color: var(--text-muted);
    margin: 0 12px;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Legal Pages */
.legal-page {
    min-height: 100vh;
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
}

.legal-page .container {
    max-width: 700px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 0.8;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

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

.legal-page h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-page p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.legal-page ul {
    color: var(--text-light);
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page a {
    color: var(--accent-cyan);
}

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

    .tagline {
        font-size: 1.1rem;
    }

    .screenshots-container {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }

    .screenshot-wrapper {
        width: 180px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }

    .screenshot-wrapper {
        width: 160px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .legal-page h1 {
        font-size: 1.8rem;
    }
}
