/* One to Fifty Cup Specific Styles */

.game-container {
    max-width: 600px;
    margin: 5px auto;
    padding: 5px;
    text-align: center;
}

.game-info {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.timer-display {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin: 0.5rem 0;
}

.next-number {
    font-size: 3rem;
    font-weight: 700;
    color: #28a745;
    margin: 0.5rem 0;
}

.start-button {
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 8px;
    transition: transform 0.2s;
    margin: 1rem 0;
}

.start-button:hover {
    transform: scale(1.05);
}

.start-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 500px;
    margin: 1rem auto;
    padding: 0.5rem;
}

.number-tile {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.number-tile:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.number-tile:active:not(:disabled) {
    transform: scale(0.95);
}

.number-tile:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.number-tile.correct {
    background: #28a745;
    animation: correctPulse 0.3s;
}

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

.result-message {
    font-size: 1.25rem;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
}

.result-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@media (max-width: 600px) {
    .number-grid {
        gap: 5px;
        padding: 0.25rem;
    }

    .number-tile {
        font-size: 1.25rem;
    }

    .next-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .game-container {
        margin: 5px;
        padding: 5px;
    }

    .game-info {
        padding: 0.75rem;
    }
}
