@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', serif;
    background-size: cover;
    color: #fff;
}

/* Overlay escuro medieval */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: -1;
}

/* HEADER */
header {
    backdrop-filter: blur(10px);
    background: rgba(20, 20, 20, 0.6);
    position: relative;
}

/* MENU PRINCIPAL */
.menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.menu ul li {
    position: relative;
}

.menu ul li a {
    display: block;
    padding: 5px 15px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 1px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.menu ul li a:hover {
    background: rgba(184,134,11,0.2);
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
}

/* SUBMENU */
.submenu {
    position: absolute;
    top: 105%;
    left: 5%;
    display: flex;
    flex-direction: column;
    width: max-content;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.submenu li a {
    display: block;
    padding: 10px 18px;
    background: rgba(20,20,20,0.6);
    transition: all 0.3s ease;
}


.dropdown:hover > .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* IDIOMAS */
.language-select {
    text-align: center;
    padding: 10px;
}

.language-select button {
    background: rgba(184,134,11,0.3);
    border: 1px solid #b8860b;
    color: #fff;
    padding: 5px 12px;
    margin: 0 5px;
    cursor: pointer;
    transition: 0.3s;
}

.language-select button:hover {
    background: #b8860b;
    color: black;
}

/* TÍTULO */
section {
    text-align: center;
    padding: 10px;
}

section h1 {
    font-size: 42px;
    color: #ffd700;
    text-shadow: 0 0 15px #b8860b;
}

/* ========================= */
/* RESPONSIVO */
/* ========================= */

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 15px;
    text-align: center;
    font-size: 22px;
    color: #ffd700;
}

@media (max-width: 768px) {

    .menu ul {
        flex-direction: column;
        display: none;
        background: rgba(20,20,20,0.95);
    }

    .menu ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .submenu {
        position: relative;
        border: none;
        transform: none;
        opacity: 1;
        display: none;
    }

    .dropdown.active .submenu {
        display: flex;
    }
}

/* ========================= */
/* CITY PAGE - LORENCIA */
/* ========================= */

.city-container {
    text-align: center;
    padding: 0px 40px;
}

.city-header {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.city-map {
    flex: 1;
    display: flex;
    justify-content: center;
}

.city-info {
    flex: 1;
    max-width: 800px;
}

.city-title {
    font-size: 32px;
    color: #00ffe1;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.city-info p {
    color: #ccc;
    line-height: 1.6;
    font-size: 14px;
}

/* PLACEHOLDER DE IMAGEM */

.image-placeholder {
    width: 300px;
    height: 220px;
    border: 2px solid #00ffe1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffe1;
    font-size: 14px;
    background: rgba(0,0,0,0.6);
}

.image-placeholder.small {
    width: 120px;
    height: 120px;
}

/* MONSTERS */

.monster-section {
    margin-top: 5px;
}

.section-label {
    color: #00ffe1;
    font-size: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid #00ffe1;
    display: inline-block;
    padding-bottom: 5px;
}

.monster-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 por linha */
    gap: 30px;
    margin-top: 30px;
}

.monster-card {
    background: rgba(10,10,10,0.9);
    border: 2px solid #00ffe1;
    border-radius: 10px;
    padding: 20px;
    min-height: 250px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.monster-card h3 {
    text-align: center;
    color: #00ffe1;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.monster-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.monster-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.monster-stats p {
    font-size: 12px;
    color: #00ffe1;
    margin-bottom: 4px;
}

.level {
    display: inline-block;
    margin-top: 8px;
    color: #ffd700;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .monster-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .monster-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .monster-grid {
        grid-template-columns: 1fr;
    }
}