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

body {
    font-family: 'Arial', sans-serif;
    background-color: #87CEEB;
    background-image: url('https://storage.googleapis.com/kouto-api-media/2025/2/9b15f0b08c6d9391d7964c28c0c3e6e76abdd61b0de34955.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.game-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.screen {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 20px;
    text-align: center;
    z-index: 10;
}

h1 {
    font-size: 48px;
    color: #8B4513;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.instructions {
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    max-width: 80%;
}

.instructions p {
    margin: 10px 0;
    font-size: 18px;
}

button {
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 20px;
}

button:hover {
    background-color: #A0522D;
    transform: scale(1.05);
}

.hidden {
    display: none;
}

#game-canvas {
    width: 100%;
    height: 100%;
}

.hud {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
}

.score, .dog-distance {
    margin: 5px 0;
}

.dog-distance {
    color: #FF4500;
}

.margarita-counter {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.margarita-counter span {
    color: #ADFF2F;
    margin: 0 5px;
    font-weight: bold;
}

#minimap-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    overflow: hidden;
}

#minimap {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #8BC34A;
}

#minimap-dog {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#minimap-llama {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Add a small triangle to show dog direction */
#minimap-dog::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid #FF5252;
}

.minimap-margarita {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #ADFF2F;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.minimap-water {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #4FC3F7;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
}

.minimap-river {
    position: absolute;
    width: 5px;
    height: 50px;
    background-color: #4FC3F7;
    transform: translate(-50%, -50%);
    opacity: 0.7;
}

/* Character Selection Screen */
.character-selection {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.character-option {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    cursor: pointer;
}

.character-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.character-option.selected {
    border: 3px solid #8B4513;
    background-color: rgba(255, 255, 255, 0.95);
}

.character-preview {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.dog-preview {
    background-image: url('https://storage.googleapis.com/kouto-api-media/2025/2/79af69f70603f51314fe8633aaddd0ef17615c9ffd54b864.png');
}

.cat-preview {
    background-image: url('https://storage.googleapis.com/kouto-api-media/2025/2/0b72c9a813a21d93204f22dfdfec41d0bd1b3a34a514094e.png');
}

.character-option h2 {
    margin: 0;
    color: #8B4513;
    font-size: 24px;
}

.character-option p {
    margin: 5px 0 15px;
    color: #666;
}

.character-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}

.character-stats li {
    margin: 5px 0;
    color: #333;
}

.select-button {
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.select-button:hover {
    background-color: #A0522D;
}

#change-character-button {
    margin-top: 10px;
    background-color: #4682B4;
}

#change-character-button:hover {
    background-color: #5F9EA0;
} 