* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    background-color: #fdf6e9; /* very light beige */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 800px;
    max-width: 95%;
}

.score-board {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.game-area {
    height: 400px;
    position: relative;
    border: 2px solid #e0d5bc;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f1d19a; /* warm beige to match icons */
}

.boss-announcement {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4444;
    color: white;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(255, 0, 0, 0.2);
    border: 2px solid #ff0000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bug-container {
    position: absolute;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease-in-out;
}

.bug-container.common {
    width: 80px;
    height: 80px;
}

#tcell {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('tcell.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.8s ease-in-out;
    z-index: 2;
    transform-origin: center center;
    border: 3px solid #4a90e2; /* Blue border */
    border-radius: 50%; /* Makes the border round */
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3); /* Subtle glow effect */
}

.hidden {
    display: none !important;
}

.math-problem {
    text-align: center;
    padding: 20px;
}

#question {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.answer-input {
    display: flex;
    gap: 10px;
    justify-content: center;
}

input[type="number"] {
    padding: 10px;
    font-size: 18px;
    width: 120px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.bug {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease-in-out;
    z-index: 1;
    transform-origin: center center;
}

.points-display {
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #4CAF50;
    border-radius: 50%;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    margin-top: -5px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bug-container.common .points-display {
    width: 25px;
    height: 25px;
    font-size: 12px;
} 