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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.game-area {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.map-placeholder {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.9rem;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

#map {
    width: 100%;
    height: 100%;
}

.close-btn {
    width:100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    background: #95a5a6;
    color: white;
}

.llama-marker, .tux-marker, .gnu-marker {
    font-size: 24px;
    text-align: center;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.captured {
    animation: captureScale 0.8s ease-in forwards !important;
}

@keyframes captureScale {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.creature {
    text-align: center;
    margin: 20px 0;
    animation: popIn 0.3s ease-out;
}

.creature.hidden {
    display: none;
}

.creature-emoji {
    font-size: 4rem;
}

.creature p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

@keyframes popIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn:active {
    transform: scale(0.98);
}

.capture-btn {
    background: #ff6b6b;
    color: white;
}

.map-btn {
    background: #4ecdc4;
    color: white;
}

.result-text {
    text-align: center;
    margin-top: 15px;
    color: #333;
    font-size: 0.9rem;
    font-weight: bold;
}

.pokedex {
    background: white;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #333;
}
