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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f8ff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

h2 {
    color: #444;
    margin-bottom: 15px;
}

.selection-area {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.character-selection,
.song-selection {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.character-options,
.song-options {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.character {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.character:hover {
    background-color: #e6f3ff;
}

.character.selected {
    background-color: #b3d9ff;
}

.animal-emoji {
    background: linear-gradient(135deg, #ffb6c1, #ffc0cb);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 3px solid #fff;
    margin-bottom: 8px;
}

.character img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.song {
    cursor: pointer;
    padding: 15px;
    border-radius: 8px;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.song:hover {
    background-color: #e6f3ff;
}

.song.selected {
    background-color: #b3d9ff;
}

.stage-area {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stage {
    height: 400px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.character-animation {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.animal-body {
    position: absolute;
    font-size: 35px;
    transition: all 0.2s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.animal-body::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 25px 25px 15px 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    border: 2px solid #fff;
    z-index: -1;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #45a049;
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#stopBtn {
    background-color: #f44336;
}

#stopBtn:hover {
    background-color: #da190b;
} 