:root {
    --primary: #ff4d4d;
    --primary-hover: #ff2a2a;
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --success: #4ade80;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #1e293b, var(--bg-dark));
    color: var(--text-light);
    min-height: 100vh;
    display: flex; justify-content: center; align-items: center;
    padding: 20px;
}

.container {
    width: 100%; max-width: 550px;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px; padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
}

h1 {
    font-size: 1.8rem; margin-bottom: 8px;
    background: linear-gradient(90deg, #ff4d4d, #f97316);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

.main-banner { width: 100%; max-width: 250px; border-radius: 15px; margin-bottom: 15px; }

button {
    width: 100%; max-width: 280px; padding: 16px; border: none;
    background: var(--primary); color: white; font-weight: 600;
    border-radius: 14px; cursor: pointer; transition: 0.3s;
}

button:hover:not(:disabled) { transform: translateY(-2px); background: var(--primary-hover); }
button:disabled { opacity: 0.5; cursor: not-allowed; }

#anime { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

.anime-card { animation: slideUp 0.5s ease-out; }
.anime-img { border-radius: 12px; max-width: 200px; margin-bottom: 15px; }
.info-grid { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; }
.badge { background: rgba(255, 255, 255, 0.1); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; }
.synopsis-container p { font-size: 0.85rem; color: #cbd5e1; line-height: 1.5; margin-bottom: 15px; text-align: justify; }
.mal-link { color: var(--primary); text-decoration: none; font-size: 0.85rem; font-weight: bold; }

/* ESTILOS DO MAPA */
#mapa-container {
    margin-top: 30px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

#map {
    height: 200px; /* IMPORTANTE: O mapa precisa de altura */
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.geo-info { font-size: 0.8rem; color: var(--success); font-weight: bold; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}