/* Chapter 5: Numbers & Colors - Specific styles */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.number-card {
    background: white;
    border-radius: 18px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid #fdcb6e;
    transition: all 0.2s;
}

.number-card:hover {
    transform: translateY(-5px);
    border-color: #f0932b;
}

.gurmukhi-digit {
    font-size: 3rem;
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    color: #d63031;
    margin: 10px 0;
}

.roman-digit {
    font-size: 1.5rem;
    color: #636e72;
}

.number-word {
    font-size: 1.4rem;
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    color: #2d3436;
    margin: 8px 0;
}

.number-example {
    font-size: 1.1rem;
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    color: #636e72;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.color-card {
    border-radius: 16px;
    padding: 60px 15px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.color-card:hover {
    transform: scale(1.05);
}

.color-name {
    font-size: 1.3rem;
    font-family: 'Noto Sans Gurmukhi', sans-serif;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 5px;
}

.color-english {
    font-size: 1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.counting-game {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.game-controls select,
.game-controls button {
    padding: 10px 20px;
    font-size: 1.1rem;
    border-radius: 10px;
    border: 2px solid #6c5ce7;
}

.game-controls button {
    background: #6c5ce7;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.game-controls button:hover {
    background: #5f3dc4;
}

.object-display {
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}
