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

/* Light theme (default) */
:root {
    --primary-color: #234b8b;
    --primary-dark: #1b3a6a;
    --secondary-color: #2c3e50;
    --text-color: #222;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 18px rgba(0,0,0,0.12);
}

/* Dark theme */
[data-theme="dark"] {
    --primary-color: #234b8b;
    --primary-dark: #1b3a6a;
    --secondary-color: #bcd2ff;
    --text-color: #e7eefc;
    --light-bg: #0e1b33;
    --white: #122347;
    --border-color: #2b4475;
    --shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.45);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    margin-bottom: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

main {
    flex: 1;
}

.intro {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    text-align: center;
}

.intro h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.intro p {
    font-size: 1.1rem;
    color: #bcd2ff;
    max-width: 600px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.game-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.game-card:not(.coming-soon):hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.game-card.coming-soon {
    opacity: 0.7;
    cursor: not-allowed;
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.game-card p {
    color: #bcd2ff;
    font-size: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.footer-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.content-page h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.content-page h3 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-page p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-page ul {
    margin-left: 25px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.faq-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.faq-section:last-child {
    border-bottom: none;
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--white);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .intro {
        padding: 20px;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

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

    .game-card {
        padding: 25px;
    }
}

