@import "https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Roboto:wght@400;500&display=swap";
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@font-face {
  font-family: "Lineage 2 Font";
  src:
    url("../fonts/49_la2font.eot?") format("eot"),
    url("../fonts/49_la2font.woff") format("woff"),
    url("../fonts/49_la2font.ttf") format("truetype"),
    url("../fonts/49_la2font.svg#Lineage2Font") format("svg");
  font-weight: normal;
  font-style: normal;
}


:root {
  --bs-border-width: 4px!important;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-size: cover !important;
}

.navbar-nav {
  --bs-nav-link-color: rgba(244, 230, 181, 0.692) !important;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-link.active {
    color: rgb(244, 230, 181)!important;
    border-bottom: 2px solid rgb(244, 230, 181)!important;
}

.separator-n {
    height: 14px;
    margin-inline: 8px;
    width: 2px;
    background: #b3b2b2c2;
}

.nav-link {
  display: inline-block;
  padding: 0px !important;
  margin-inline: 4px;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  color: rgba(244, 230, 181, 0.877) !important;
}

.nav-link:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  bottom: 0;
  background: rgb(244 230 181);
  height: 2px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.nav-link:hover:before,
.nav-link:focus:before,
.nav-link:active:before {
  left: 0;
  right: 0;
}

#videoBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;      /* ancho viewport */
  height: 100vh;     /* alto viewport */
  object-fit: cover;  /* cubrir todo */
  transform: translateZ(0); /* fuerza render en GPU */
  backface-visibility: hidden; /* ayuda a Safari */
  will-change: transform;     /* mejora performance */
  z-index: -1;
}

.container-wrapper {
  position: relative;
  z-index: 0;
}

#preloader {
  min-height: 100vh;
  background-color: #1e1111;
  display: flex;
  justify-content: center;
  align-items: center;
}

#preloader img {
  filter: drop-shadow(2px 4px 16px black);
}

.logo-vodka {
  width: 328px;
  filter: drop-shadow(2px 4px 6px black);
  transition: all 0.3s ease;
  z-index: 1;
}

.logo-vodka-hover {
  width: 328px;
  filter: drop-shadow(2px 4px 6px black);
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 0;
}

.logo-header:hover .logo-vodka-hover {
  animation-name: logohover;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

.logo-header {
  transition: all 0.3s ease;
}

.logo-header:hover {
  filter: brightness(1.2);
}

@keyframes logohover {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0px 0px 50px black) brightness(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.info-header {
  color: rgb(244 230 181);
  text-shadow: -2px 2px 3px rgba(244, 230, 181, 0.534);
}

.nav-link.rrss-img {
  transition: all 0.3s ease-in-out;
}

.nav-link.rrss-img img {
  transition: all 0.3s ease;
  filter: drop-shadow(2px 4px 6px black);
}

.nav-link:hover.rrss-img {
  transform: translateY(-3px);
  filter: brightness(1.2) drop-shadow(0px 0px 10px white);
}

.box {
  padding: 16px;
  font-size: 18px;
  text-transform: uppercase;
  color: black;
  font-family: "merriweather", sans-serif;
  transition: all .2s ease;
  filter: hue-rotate(335deg);
  min-width: 128px;
}

.box-days {
  background: url(../img/countdown.png) center center no-repeat;
  background-size: contain;
  transition: all .2s ease;
}

.box-hours {
  background: url(../img/countdown.png) center center no-repeat;
  background-size: contain;
  transition: all .2s ease;
}

.box-minutes {
  background: url(../img/countdown.png) center center no-repeat;
  background-size: contain;
  transition: all .2s ease;
}

.apertura-text {
  color: rgba(244, 230, 181, 0.877);
  font-family: "merriweather", sans-serif;
  margin-top: 4px;
  font-weight: 200;
}

.box:hover {
    transform: scale(1.2);
    filter: brightness(1.2) hue-rotate(335deg);
}

.login-section, .download-section {
  background: linear-gradient(#1e1111b4 80%, transparent);
  border-radius: 8px;
  height: 100%;
}

.btn-panel {
    border-radius: 4px !important;
    font-weight: bold !important;
    text-transform: uppercase;
    width: 100%;
    color: rgb(0, 0, 0) !important;
    background: rgb(244, 230, 181) !important;
    transition: all .3s ease !important;
    box-shadow: 0px 0px 4px rgba(244, 230, 181, 0.432);
}

.btn-panel:hover {
    transform: skewX(-10deg) translateY(-5px);
    box-shadow: 0px 0px 8px rgba(244, 230, 181, 0.432);
    filter: brightness(1.1);

}

.badge {
    transform: skewX(-10deg);
}


.form-control {
  background: #1e1111!important;
  color: white!important;
  border-radius: 8px!important;
  border-inline: 0!important;
  border-top: 0!important;
  border-color: rgba(244,230,181) rgb(255, 228, 130) rgba(244,230,181)!important;
}

.form-control::placeholder {
  color: #ffffff57!important;
}

/*////////*/
.server-info-elegant {
    position: relative;
    z-index: 2;
}

.elegant-card {
    padding: 40px 30px;
    background: rgba(5, 5, 5, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    text-align: center;
    color: #ccc;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
}

/* Hover MUY sutil */
.elegant-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* Título */
.elegant-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    letter-spacing: 2px;
    color: #d4af37;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Divider elegante */
.divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    margin: 15px auto 20px;
    opacity: 0.7;
}

/* Texto */
.elegant-card p {
    font-size: 14px;
    line-height: 1.7;
    margin: 6px 0;
    color: #bfbfbf;
}

/* Glow interno muy leve */
.elegant-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: radial-gradient(circle at top, rgba(212,175,55,0.08), transparent 60%);
    pointer-events: none;
}

#preloader {
    position: fixed;
    inset: 0;
    background: black;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* quienes somos seccion */

.somos-section {
    background: url(../img/somos.svg) no-repeat;
    background-size: contain;
    min-height: 75vh;
}


/* ranking */
.ranking-section {
    position: relative;
    z-index: 2;
}

.ranking-box {
    background: rgba(5, 5, 5, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(8px);
}

/* Título */
.ranking-title {
    text-align: center;
    font-family: 'Merriweather', serif;
    color: #d4af37;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

/* CONTENEDOR TABS */
.ranking-tabs {
    border: none !important;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

/* BOTONES */
.ranking-tabs .nav-link {
    border: none !important;
    background: transparent!important;
    color: #888;
    padding: 10px 25px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}

/* HOVER */
.ranking-tabs .nav-link:hover {
    color: #fff;
}

/* ACTIVO (ESTILO ELEGANTE) */
.ranking-tabs .nav-link.active {
    color: #d4af37;
}

/* LINEA ELEGANTE ABAJO (NO FULL WIDTH) */
.ranking-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

/* QUITA COMPLETAMENTE EL BORDER DE BOOTSTRAP */
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border: none !important;
}

.nav-tabs {
    border-bottom: none !important;
}
/* Tabla */
.ranking-table {
    width: 100%;
}

/* Filas */
.ranking-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 80px 100px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
    transition: 0.3s;
}

/* Header */
.ranking-row.header {
    color: #d4af37;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}

/* Hover */
.ranking-row:hover {
    background: rgba(212, 175, 55, 0.05);
}

/* Posición */
.ranking-row span:first-child {
    font-weight: bold;
    color: #d4af37;
}

/* Texto general */
.ranking-row span {
    color: #ccc;
    font-size: 14px;
}

/* Top 3 destacados */
.ranking-row:nth-child(2) span:first-child {
    color: gold;
}
.ranking-row:nth-child(3) span:first-child {
    color: silver;
}
.ranking-row:nth-child(4) span:first-child {
    color: #cd7f32;
}

.ranking-tabs .nav-link.active {
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}
.tab-pane {
    transition: opacity 0.3s ease;
}

/* Estado inicial */
.ranking-box {
    opacity: 1;
    transform: translateY(40px);
}

/* Filas */
.ranking-row {
    opacity: 1;
    transform: translateY(20px);
}

/* Top 1 especial */
.ranking-row.top-1 {
    background: linear-gradient(90deg, rgba(212,175,55,0.08), transparent);
    box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

/* Contenedor scroll horizontal */
.ranking-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* suaviza scroll en iOS */
    width: 100%;
}

/* Tabla custom */
.ranking-table {
    min-width: 600px; /* ancho mínimo para que no colapsen las columnas */
    display: flex;
    flex-direction: column;
}

/* Filas */
.ranking-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    opacity: 1;
    transform: translateY(10px);
}

/* Header */
.ranking-row.header {
    font-weight: bold;
    color: #d4af37;
    border-bottom: 2px solid #d4af37;
}

/* Destacar top 1 */
.ranking-row.top-1 {
    background: rgba(212, 175, 55, 0.1);
    font-weight: bold;
}

/* Columnas */
.ranking-row span {
    flex: 1;
    text-align: center;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .ranking-row span {
        font-size: 0.9rem;
        padding: 0.25rem;
    }
}


/* FULLSCREEN NAVBAR PREMIUM */
.fullscreen-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  backdrop-filter: blur(12px);
  background: rgba(13, 10, 10, 0.65);
  transition: background 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.7rem 2rem;
}

.brand-img { max-width: 80px; }

/* LINKS */
.menu-list a, .menu-auth a {
  color: rgb(244, 230, 181);
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 1px;
  transition: 0.3s;
}

.menu-list a.active,
.menu-list a:hover,
.menu-auth a:hover {
  color: #fff;
  text-shadow: 0 0 10px gold;
}

/* REDES */
.menu-rrss li a img {
  filter: brightness(1.2);
  transition: 0.3s;
}

.menu-rrss li a img:hover {
  filter: brightness(1.6);
}

/* HAMBURGER */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 10001;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #d4af37;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MENU FULLSCREEN ANIMADO */
.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(13, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left 0.5s cubic-bezier(0.77,0,0.175,1);
  z-index: 10000;
}

.nav-menu.active { left: 0; }

/* LISTAS */
.menu-list, .menu-auth, .menu-rrss {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: center;
}

.menu-list li, .menu-auth li, .menu-rrss li { margin: 1rem 0; }

/* RESPONSIVE DESKTOP */
@media(min-width: 992px){
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    flex-direction: row;
    justify-content: flex-end;
    background: none;
    backdrop-filter: none;
    height: auto;
    width: auto;
    display: flex !important;
    left: 0;
  }
  .menu-list, .menu-auth, .menu-rrss {
    display: flex;
    flex-direction: row;
    margin: 0 1rem;
  }
  .menu-list li, .menu-auth li, .menu-rrss li { margin: 0 0.75rem; }
  .menu-list a, .menu-auth a { font-size: 1rem; }
}


@media (max-width: 768px) {
    .d-none-mobile span,
    .d-none-mobile div {
        display: none!important;
    }
    .somos-section {
        background-size: cover!important;
    }
    .somos-section .opacity-0 {
        opacity: 1!important;
    }
}

/* ==============================
   CAPTCHA WIDGET
   ============================== */
.captcha-widget {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

/* ==============================
   CHARACTER PROFILE
   ============================== */
.profile-section {
    position: relative;
    z-index: 2;
}

.profile-card {
    background: rgba(5, 5, 5, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(40px);
}

.profile-title {
    font-family: 'Merriweather', serif;
    color: #d4af37;
    letter-spacing: 3px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.profile-online-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.profile-online-badge.online {
    background: rgba(40, 167, 69, 0.9);
    color: #fff;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.profile-online-badge.offline {
    background: rgba(108, 117, 125, 0.9);
    color: #ccc;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-family: 'Merriweather', serif;
    color: #d4af37;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.profile-class {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 4px;
}

.profile-clan {
    color: #999;
    font-size: 13px;
}

.profile-label {
    color: #d4af37;
    font-weight: bold;
}

/* Stats */
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 20px 0;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.stat-value {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 28px;
    color: #d4af37;
    letter-spacing: 1px;
}

.stat-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-top: 4px;
}

/* Subclasses */
.profile-section-block {
    padding: 10px 0;
}

.profile-section-title {
    font-family: 'Merriweather', serif;
    font-size: 16px;
    color: #d4af37;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.subclass-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subclass-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.subclass-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
}

.subclass-slot {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subclass-name {
    color: #ccc;
    font-size: 14px;
}

/* Equipped Items */
.equipped-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.equipped-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.equipped-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
}

.item-id {
    color: #999;
    font-size: 12px;
}

.item-enchant {
    color: #d4af37;
    font-weight: bold;
    font-size: 13px;
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.5);
}

/* Responsive */
@media (max-width: 576px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-stats {
        gap: 30px;
    }

    .equipped-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}


/* ==============================
   ACCOUNT PANEL (MI CUENTA)
   ============================== */

.account-section {
    position: relative;
    z-index: 2;
}

.account-box {
    background: rgba(5, 5, 5, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(8px);
    text-align: center;
    transition: all 0.3s ease;
}

/* Hover leve */
.account-box:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Título */
.account-title {
    font-family: 'Merriweather', serif;
    color: #d4af37;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

/* Usuario */
.account-user {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 10px;
}

/* Tabs */
.account-tabs {
    border: none !important;
    gap: 15px;
}

.account-tabs .nav-link {
    border: none !important;
    background: transparent !important;
    color: #888;
    padding: 10px 20px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}

.account-tabs .nav-link:hover {
    color: #fff;
}

.account-tabs .nav-link.active {
    color: #d4af37;
}

/* Línea elegante activa */
.account-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

/* Inputs */
.account-box .form-control {
    background: rgba(0,0,0,0.6) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #fff !important;
}

.account-box .form-control:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 10px rgba(212,175,55,0.3);
}

/* Botón */
.account-box .btn-panel {
    margin-top: 10px;
}

/* Alerts */
.account-box .alert {
    font-size: 13px;
    border-radius: 6px;
    border: none;
}

.account-box .alert-success {
    background: rgba(40, 167, 69, 0.15);
    color: #7CFF9B;
}

.account-box .alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #ff7b7b;
}

