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

:root {
    --primary: #4A90D9;
    --dark: #1a1a2e;
    --darker: #16213e;
    --text: #e0e0e0;
    --text-secondary: #a0a0b0;
    --card-bg: #1e2a3a;
    --border: #2a3a4a;
}

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

nav {
    background: var(--darker);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.2s;
}

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

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 0;
    gap: 4rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.subtitle {
    color: var(--primary);
    font-size: 2rem;
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 480px;
}

.app-store-btn img {
    transition: transform 0.2s;
}

.app-store-btn:hover img {
    transform: scale(1.05);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 240px;
}

.cell {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    transition: transform 0.2s;
    cursor: pointer;
}

.cell:hover {
    transform: scale(1.05);
}

.cell.different {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.features {
    padding: 4rem 0;
}

.features h2, .multiplayer h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

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

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

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

.multiplayer {
    text-align: center;
    padding: 4rem 0;
}

.multiplayer p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Support & Privacy pages */
.page-content {
    padding: 3rem 0 4rem;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.page-content section {
    margin-bottom: 2rem;
}

.page-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.page-content ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.page-content a {
    color: var(--primary);
}

.support-section {
    margin-bottom: 3rem;
}

.faq {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq h3 {
    margin-bottom: 0.5rem;
}

.faq p {
    color: var(--text-secondary);
}

footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 1.5rem;
}

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

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .description {
        margin: 0 auto 2rem;
    }

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