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

/* Variables */
:root {
    --color-primary: #ff6b35;
    --color-secondary: #ffd166;
    --color-accent: #06d6a0;
    --color-dark: #1a1a2e;
    --color-dark-alt: #16213e;
    --color-light: #f8f9fa;
    --color-text: #333;
    --color-text-light: #666;
    --color-gold: #f5c842;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    --max-width: 1000px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
}

/* Header */
header {
    background-color: var(--color-dark);
    padding: 1rem 2rem;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    color: var(--color-secondary);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.tagline {
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto 2rem;
    color: #ccc;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.85;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-coming-soon {
    cursor: default;
    opacity: 0.9;
}

.btn-coming-soon:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

/* About */
.about {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.about p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* How to Play */
.how-to-play {
    background-color: white;
    padding: 4rem 2rem;
}

.how-to-play h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--color-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

/* Features */
.features {
    background-color: var(--color-light);
    padding: 4rem 2rem;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

/* Footer */
footer {
    background-color: var(--color-dark);
    color: #999;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

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

footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .about,
    .how-to-play,
    .features {
        padding: 3rem 1.5rem;
    }

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