.game-page {
    padding: 2rem 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    margin-top: 80px;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.game-header p {
    font-size: 1.2rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
    gap: 0.5rem;
    margin: 2rem 0;
    max-width: 400px;
    margin: 2rem auto;
}

.number {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    background: var(--card-bg);
    border: 2px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.number:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.number.selected {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.selected-numbers-display {
    margin: 1rem auto;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 0.5rem;
    max-width: 400px;
}

.selected-numbers-display h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.selected-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    min-height: 2rem;
}

.selected-number {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

.price-calculator {
    text-align: center;
    margin: 2rem 0;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 0.5rem;
    max-width: 400px;
    margin: 2rem auto;
}

.price-calculator h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: bold;
    margin: 0.5rem 0;
}

.game-info {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem auto;
    max-width: 400px;
    text-align: left;
}

.game-info h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.game-info ul {
    list-style-type: none;
    padding: 0;
}

.game-info li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.game-info li:before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.email-form {
    max-width: 400px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 0.5rem;
    text-align: center;
}

.email-form h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.email-form input {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.submit-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.thank-you-page {
    text-align: center;
    padding: 4rem 0;
}

.thank-you-page h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.thank-you-page p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.thank-you-page .home-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.thank-you-page .home-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .number-grid {
        grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
    }

    .game-header h1 {
        font-size: 2rem;
    }

    .price {
        font-size: 1.5rem;
    }
}