﻿body {
    background: #111;
    color: white;
    font-family: Arial;
}

header {
    margin: 0;
    padding: 0px 0;
    text-align: center;
}


/* Botones estilo WoW */
button {
    background-color: #b88f3a;
    color: white;
    padding: 12px 20px;
    border: none;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    margin: 10px auto;
}

    button:hover {
        background-color: #d4a84d;
    }

/* Formularios centrados */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 980px;
    margin: 40px auto;
    padding: 0px;
}

body:not(.armory-page) .container {
    text-align: center; /* CENTRA TODO EL CONTENIDO */
}



/* Footer fijo abajo a la derecha */
.site-footer {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
    background: transparent;
    color: white;
    font-size: 14px;
    border-radius: 6px;
    z-index: 9999;
}

/* Para que no tape contenido */
body {
    padding-bottom: 60px;
}

/* Centrar listas y ocultar los puntos */
.container ul {
    list-style: none; /* quita los puntos blancos */
    padding: 0; /* elimina sangría izquierda */
    margin: 0 auto; /* centra la lista en el contenedor */
    text-align: center; /* centra el texto dentro */
}

body:not(.armory-page) .container ul {
    text-align: center; /* centra el texto dentro */
}
/* ===========================
    .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* la heredamos del primero */
    gap: 10px;
    padding: 10px 0;
    position: relative;
}

/* Logo centrado */
.logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Logo para PC */
.logo-img {
    max-width: 18%;
    height: auto;
}

body, html {
    min-width: 1024px;
}

/* ===========================
   MENÚ PRINCIPAL ESTILO WARMANE
   =========================== */

.main-nav {
    width: 100%;
    background-color: #1b1b1b; /* barra oscura */
    border-top: 2px solid #2e2e2e;
    border-bottom: 2px solid #2e2e2e;
    margin-top: 25px;
    padding: 0;
}

    .main-nav ul {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 35px;
        padding: 12px 0;
        margin: 0;
    }

        .main-nav ul li {
            display: inline-block;
        }

            .main-nav ul li a {
                font-family: "Cinzel", serif;
                font-size: 17px;
                color: #caa559; /* dorado WoW */
                text-decoration: none;
                text-transform: uppercase;
                letter-spacing: 1px;
                transition: 0.2s ease;
            }

                .main-nav ul li a:hover {
                    color: #ffd67a;
                    text-shadow: 0 0 8px rgba(255, 215, 130, 0.5);
                }

input {
    padding: 5px;
    margin: 5px 0 0px 0;
    width: 200px;
    max-width: 80%;
}

form {
    text-align: center;
}

/* Alinear checkbox + texto */
.remember-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* distancia pequeña entre checkbox y texto */
    margin: 10px 0 20px 0; /* arriba y abajo */
}

    .remember-container label {
        margin: 0; /* elimina margen raro */
        cursor: pointer; /* clickeable en todo el texto */
    }

    .remember-container input[type="checkbox"] {
        margin: 0;
        width: 16px;
        height: 16px;
    }

.shop-donate-btn {
    background-color: #b88f3a;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

    .shop-donate-btn:hover {
        background-color: #d4a84d;
    }

/* Caja del reino */
.realm-box {
    background: #111827;
    border: 1px solid #b88f3a;
    padding: 15px;
    margin: 15px auto;
    width: 400px;
    border-radius: 8px;
    color: #e6eef6;
}

/* Encabezado: nombre + estado en la misma línea */
.realm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.realm-name {
    font-size: 20px;
    color: #b88f3a;
    margin: 0;
}

/* Estado Online/Offline */
.status.online {
    color: #00ff66;
    font-weight: bold;
}

.status.offline {
    color: #ff4444;
    font-weight: bold;
}

/* Info (tipo, rates) */
.realm-info {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
    display: flex;
    gap: 15px;
}

.realm-stats {
    margin-top: 10px;
    font-size: 14px;
    color: #b88f3a;
    display: flex;
    gap: 15px;
}

/* Color de población */
.population.low {
    color: #4CAF50; /* verde */
}

.population.medium {
    color: #FFC107; /* amarillo */
}

.population.high {
    color: #FF5252; /* rojo */
}

/* Icono expansión */
.realm-name {
    height:-4px;
    width: 5;
    margin-right: 2px;
    vertical-align: middle;
}
.exp-icon {
    height: 40px;
    width: auto;
    margin-right: 6px;
    vertical-align: middle;
    position: relative;
    top: -5px; /* súbelo 1, 2, 3, 4… según te guste */
}


.lang-dropdown {
    position: absolute;
    right: -5;
    top: 80%;
    margin-top: 4px;
    background: rgba(20,20,20,0.94);
    padding: 8px 12px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    display: none;
    min-width: 80px;
}

.lang-selector:hover .lang-dropdown {
    display: block;
}
.welcome-user {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: #fff;
    font-weight: bold;
}
.submenu-container {
    width: 250px;
    background: #1a1a1a;
    border-right: 1px solid #b88f3a;
    padding: 15px;
    min-height: 400px;
    float: left; /* ALIGN LEFT */
    margin-top: 10px;
}

    .submenu-container ul {
        list-style: none;
        padding: 0;
    }

    .submenu-container li {
        margin-bottom: 10px;
    }

    .submenu-container a {
        color: #b88f3a;
        text-decoration: none;
        font-size: 16px;
    }

        .submenu-container a:hover {
            color: #d4a84d;
        }

.main-nav {
    position: relative;
    z-index: 10; /* menú por encima del fondo */
}

.site-header {
    position: relative;
    z-index: 20; /* logo por encima de todo */
}


body {
    background: url('/assets/img/fondo.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
}
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0);
        pointer-events: none;
        z-index: -1;
    }
.page-header-space {
    height: 24vh; /* 45% de la pantalla | ajustable */
    width: 100%;
}

.page-content {
    width: 100%;
    max-width: 1200px; /* como Warmane */
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* opcional, estilo WoW */
    border-radius: 10px;
}
.page-content {
    animation: fadein 0.4s ease-out;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
html {
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
}

