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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    width: 90%;
}

h1 {
    color: #ff6b6b;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.category-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    background-color: #4ecdc4;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-btn:hover {
    transform: scale(1.05);
    background-color: #45b7af;
}

.game-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.card {
    background-color: white;
    border-radius: 15px;
    padding: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    aspect-ratio: 1;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.card span {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
}

.voice-control {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.voice-control label {
    font-size: 1.2rem;
    color: #666;
}

.voice-btn {
    background-color: #e0e0e0;
    color: #666;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.voice-btn.active {
    background-color: #FF6B6B;
    color: white;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .category-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
} 