/* Rediseño Oficial Webzen Style */
:root {
    --neon-blue: #00f3ff;
    --epic-gold: #ffaa00; /* A warmer, more legendary gold */
    --gold-glow: #ffea00;
    --dark-bg: #050608;
    --panel-bg: rgba(10, 12, 16, 0.25); /* Mucho más transparente */
    --glass-border: rgba(0, 243, 255, 0.3);
    --glass-blur: blur(8px); /* Menos blur para que se vea el fondo */
    --text-primary: #ffffff;
    --text-secondary: #c5c6c7;
}

body {
    background-color: var(--dark-bg);
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Navbar Superior (Estilo Webzen) */
.webzen-navbar {
    box-sizing: border-box; /* Evita que el padding sume ancho extra y se salga el botón */
    background: rgba(5, 6, 8, 0.9);
    border-bottom: 2px solid var(--epic-gold);
    box-shadow: 0 2px 20px rgba(255, 170, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 70px;
}

/* Server Status Bar */
.server-status-bar {
    position: fixed;
    top: 70px;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 10px 0;
    z-index: 999;
    font-size: 13px;
    color: #ccc;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}
.stat-item .stat-value {
    color: var(--epic-gold);
    font-weight: bold;
    margin-left: 5px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 5px rgba(255, 170, 0, 0.5);
}

.webzen-navbar .nav-links {
    display: flex;
    gap: 30px;
}

.webzen-navbar a {
    color: var(--text-primary);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.webzen-navbar a:hover {
    color: var(--epic-gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.webzen-navbar .play-btn {
    background: linear-gradient(45deg, #e52d27, #b31217);
    color: #fff;
    padding: 8px 25px;
    border-radius: 3px;
    border: 1px solid #ff4b4b;
    box-shadow: 0 0 15px rgba(229, 45, 39, 0.5);
    font-size: 18px;
}

.webzen-navbar .play-btn:hover {
    background: linear-gradient(45deg, #b31217, #e52d27);
    color: #fff;
    box-shadow: 0 0 25px rgba(229, 45, 39, 0.8);
}

/* Contenedor Principal Divdido */
.wrapper {
    margin-top: 130px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
    gap: 30px;
    min-height: calc(100vh - 150px);
}

/* Área Central (Logo y Slogan) */
.hero-content {
    flex: 1;
    text-align: center;
    padding-top: 20px;
    animation: fadeIn 1s ease-out;
}

.css-logo {
    font-family: 'Cinzel', serif;
    font-size: 90px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff, var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.8));
    margin-bottom: 5px;
    letter-spacing: 2px;
    line-height: 1;
}

.css-logo .logo-accent {
    background: linear-gradient(to bottom, #ffffff, var(--epic-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 170, 0, 0.8));
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: var(--epic-gold);
    text-shadow: 0 0 15px rgba(255, 170, 0, 0.6);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-slogan {
    font-size: 16px;
    color: #e0e0e0;
    max-width: 600px;
    margin: 15px auto 25px auto;
    text-shadow: 1px 1px 5px #000;
    line-height: 1.5;
}

/* Login Box (Derecha) */
.sidebar-box {
    width: 350px;
    background: var(--panel-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.sidebar-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--epic-gold));
}

.box-title {
    font-family: 'Cinzel', serif;
    color: var(--epic-gold);
    font-size: 24px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

/* Formularios */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; color: #aaa; font-size: 13px; text-transform: uppercase; }
.form-control { 
    width: 100%; 
    padding: 12px; 
    background: rgba(0,0,0,0.6); 
    border: 1px solid #333; 
    color: #fff; 
    border-radius: 4px; 
    transition: all 0.3s;
    box-sizing: border-box;
}
.form-control:focus {
    border-color: var(--neon-blue);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Botones Épicos */
.btn-epic {
    display: inline-block;
    background: linear-gradient(to bottom, #1a2a6c, #112240);
    border: 1px solid var(--neon-blue);
    color: #fff;
    padding: 15px 40px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}
.btn-epic:hover {
    background: linear-gradient(to bottom, #2b449e, #1a2a6c);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
    color: #fff;
}

.btn-epic-gold {
    background: linear-gradient(to bottom, #b37700, #805500);
    border: 1px solid var(--epic-gold);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.4);
}
.btn-epic-gold:hover {
    background: linear-gradient(to bottom, #d99100, #b37700);
    box-shadow: 0 0 30px rgba(255, 170, 0, 0.8);
}

.btn-full { width: 100%; box-sizing: border-box; }

.links-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 13px;
}
.links-bottom a { color: #aaa; text-decoration: none; transition: 0.3s; }
.links-bottom a:hover { color: var(--epic-gold); }

/* Footer */
.webzen-footer {
    background: rgba(5, 6, 8, 0.95);
    border-top: 1px solid #333;
    padding: 40px 0;
    text-align: center;
    color: #888;
    font-size: 13px;
    margin-top: 40px;
}
.webzen-footer p { margin: 5px 0; }
.webzen-footer strong { color: var(--epic-gold); }

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

/* Responsivo */
@media (max-width: 1024px) {
    .wrapper { flex-direction: column; align-items: center; }
    .sidebar-box { width: 100%; max-width: 400px; margin-top: 40px; }
}
@media (max-width: 768px) {
    .webzen-navbar .nav-links { display: none; } /* Ocultar links en móvil por simplicidad */
    .hero-logo { max-width: 100%; }
}
