/* RESET */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: 
        linear-gradient(rgba(10,20,40,0.6), rgba(10,20,40,0.9)),
        url('/assets/images/bg.png');
    background-size: cover;
    background-position: center;
     background-attachment: fixed;
    padding-top: 30px;

}

/********* HEADER PRO *************/
.game-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;

    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* NAVBAR */
.navbar {
    padding: 10px 30px;
}

/* LOGO */
.logo-big img {
    height: 70px;
    transition: 0.3s;
}

.logo-big img:hover {
    transform: scale(1.05);
}

/* NAV CENTER */
.nav-center {
    gap: 30px;
}

/* LINKS */
.nav-link {
    color: #E0ECFF !important;
    font-weight: 600;
    position: relative;
}

/* EFECTO UNDERLINE MODERNO */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #39b7e0, #fae813);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* HOVER */
.nav-link:hover {
    color: #fff !important;
}

/* FLAGS */
.lang-switch img {
    width: 30px;
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.8;
}

.lang-switch img:hover {
    transform: scale(1.2);
    opacity: 1;
}

/* BOTONES */
.btn-login {
    background: linear-gradient(90deg, #fae813, #f48704);
    border-radius: 10px;
    padding: 6px 16px;
    color: #000;
    font-weight: bold;
}

.btn-login:hover {
    box-shadow: 0 0 10px rgba(250,232,19,0.7);
}

.btn-register {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 10px;
}

.btn-register:hover {
    background: linear-gradient(90deg, #39b7e0, #00387f);
}

/* MOBILE */
@media (max-width: 991px) {

    .navbar-collapse {
        background: rgba(0,0,0,0.9);
        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

}

/********* HERO PRO *************/
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

/* Overlay más profundo */
.hero-section .overlay {
    background: rgba(0, 0, 0, 0.45);
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Texto */
.hero-text {
    max-width: 650px;
}

/* Título */
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;

    background: linear-gradient(to bottom, #b9d0dc, #39b7e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 10px rgba(57,183,224,0.4);
}

/* Subtítulo */
.hero-subtitle {
    margin-top: 15px;
    color: #cbd5e1;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Gradient secondary */
.gradient-text {
    text-shadow: 0 0 10px rgba(250,232,19,0.7);
}

/* BOTONES */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Botón principal */
.btn-jugar {
    background: linear-gradient(90deg, #fae813, #f48704);
    color: #000;
    font-weight: bold;
    border-radius: 12px;
    padding: 12px 22px;
    border: none;
    transition: 0.25s;
}

.btn-jugar:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 20px rgba(250,232,19,0.7);
}

/* Botón secundario */
.btn-crear {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(57,183,224,0.6);
    color: #fff;
    border-radius: 12px;
    padding: 12px 22px;
    transition: 0.25s;
}

.btn-crear:hover {
    background: linear-gradient(90deg, #39b7e0, #00387f);
    box-shadow: 0 0 15px rgba(57,183,224,0.6);
}

/* STATS */
.hero-stats {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.hero-stats span {
    color: #fae813;
    font-weight: bold;
    margin-right: 5px;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }
}



/********* SERVER SECTION PRO *************/
.server-section {
    background: rgba(0, 0, 0, 0.45);
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

/* CARD BASE */
.server-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 2px solid rgba(57, 183, 224, 0.3);
    border-radius: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

/* Glow hover */
.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(57, 183, 224, 0.3);
}

/* Línea superior glow */
.server-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #39b7e0, #fae813);
}

/* TITULO */
.server-title {
    font-weight: bold;
}

/* STATUS */
.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(0,0,0,0.4);
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

/* INFO */
.server-info {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* STATS */
.server-stats {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fae813;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* RULES GRID */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.rule-item {
    background: rgba(255,255,255,0.05);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.rule-item:hover {
    background: rgba(57, 183, 224, 0.15);
    transform: translateX(3px);
}

/* BOTÓN */
.btn-download {
    background: linear-gradient(90deg, #39b7e0, #00387f);
    border: none;
    font-weight: bold;
    border-radius: 12px;
}

.btn-download:hover {
    background: linear-gradient(90deg, #fae813, #f48704);
    box-shadow: 0 0 15px rgba(250, 232, 19, 0.6);
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .rules-grid {
        grid-template-columns: 1fr;
    }
}


/********* SECTION HERO *************/
.hero {
    background: rgba(0, 0, 0, 0.45);
    color: white;
    position: relative;
    display: flex;
    align-items: center;
}

/* Título */
.hero-title {
    font-weight: bold;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #39b7e0, #fae813);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

    .character {
      object-fit: contain;
    }

    .video-box {
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .subtitle {
      opacity: 0.7;
      background: linear-gradient(90deg, #39b7e0, #fae813);
      -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }



/********* FAQ SECTION *************/
.faq-section {
    background: rgba(0,0,0,0.45);
    color: #fff;
    height: 130vh;
    position: relative;
    display: flex;
    align-items: center;
}

/* Título */
.faq-title {
    font-weight: bold;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #39b7e0, #fae813);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Accordion base */
.faq-accordion .accordion-item {
    background: #1e293b;
    border: 2px solid rgba(57, 183, 224, 0.4);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

/* Botón */
.faq-accordion .accordion-button {
    background: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: none;
    transition: all 0.3s ease;
}

/* Hover */
.faq-accordion .accordion-button:hover {
    background: rgba(57, 183, 224, 0.1);
}

/* Activo */
.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, #39b7e0, #00387f);
    color: #fff;
}

/* Icono */
.faq-accordion .accordion-button::after {
    filter: invert(1);
}

/* Contenido */
.faq-accordion .accordion-body {
    color: #cbd5e1;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Glow sutil */
.faq-accordion .accordion-item:hover {
    box-shadow: 0 0 15px rgba(57, 183, 224, 0.3);
}

/********* FOOTER *************/
.footer-section {
    background: linear-gradient(
        to top,
        rgba(10,20,40,0.95),
        rgba(10,20,40,0.85)
    );
    color: #fff;
    position: relative;
}

/* Glow superior */
.footer-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #39b7e0, #fae813);
    box-shadow: 0 0 10px #39b7e0;
}

/* Logo */
.footer-logo {
    font-weight: bold;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #39b7e0, #fae813);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Texto */
.footer-text {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Títulos */
.footer-title {
    font-weight: bold;
    margin-bottom: 15px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #fae813;
    text-shadow: 0 0 5px #fae813;
}

/* Social */
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-socials a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    color: #39b7e0;
    text-shadow: 0 0 5px #39b7e0;
}

/* Divider */
.footer-divider {
    border-color: rgba(255,255,255,0.1);
}

/* Copy */
.footer-copy {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Responsive */
@media(max-width: 768px) {
    .footer-socials {
        flex-direction: row;
        flex-wrap: wrap;
    }
}


/********* DOWNLOAD MODAL *************/
.download-modal .modal-content {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 2px solid rgba(57, 183, 224, 0.3);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 0 30px rgba(57, 183, 224, 0.3);
}

/* Línea glow arriba */
.download-modal .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #39b7e0, #fae813);
}

/* Icono */
.os-icon {
    width: 40px;
}

/* Título */
.modal-title {
    font-weight: bold;
}

/* Requisitos */
.requirements-title {
    margin-bottom: 10px;
    color: #fae813;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.requirements-list span {
    color: #94a3b8;
}

/* Botón */
.download-modal .btn-download {
    background: linear-gradient(90deg, #39b7e0, #00387f);
    font-weight: bold;
    border-radius: 12px;
}

.download-modal .btn-download:hover {
    background: linear-gradient(90deg, #fae813, #f48704);
    box-shadow: 0 0 15px rgba(250, 232, 19, 0.6);
}

/* HELP */
.help-text {
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
}

.help-text a {
    color: #39b7e0;
    text-decoration: none;
    font-weight: bold;
}

.help-text a:hover {
    color: #fae813;
}


/********* MODALS LOGIN / REGISTER *************/
.login-modal .modal-content,
.register-modal .modal-content {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 2px solid rgba(57, 183, 224, 0.3);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 0 30px rgba(57, 183, 224, 0.3);
}

.login-modal .modal-content::before,
.register-modal .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #39b7e0, #fae813);
}

/* Inputs */
.modal-content .form-control {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 10px;
}

.modal-content .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Botones */
.btn-login {
    background: linear-gradient(90deg, #fae813, #f48704);
    color: #000;
    font-weight: bold;
    border-radius: 12px;
}

.btn-profile {
    background: linear-gradient(90deg, #fae813, #f48704);
    color: #000;
    font-weight: bold;
    border-radius: 12px;
}

.btn-logout {
    background: linear-gradient(90deg, #fae813, #f48704);
    color: black;
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-logout:hover {
    background-color: #e60000;
}


.btn-register {
    background: linear-gradient(90deg, #39b7e0, #00387f);
    color: #fff;
    font-weight: bold;
    border-radius: 12px;
}

/* Lista de reglas */
.rules-list {
    list-style: none;
    padding-left: 0;
}

.rules-list li {
    margin-bottom: 6px;
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 8px;
}

/********* CHARACTERS SCREEN *************/
.characters-screen {
    background: rgba(0,0,0,0.3);
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.character-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 2px solid rgba(57, 183, 224, 0.3);
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 0 20px rgba(57, 183, 224, 0.3);
    transition: 0.3s;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(250,232,19,0.4);
}

/* Título */
.character-title {
    font-weight: bold;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #39b7e0, #fae813);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/********* MODAL CHARACTERS SCREEN *************/
.character-modal {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-radius: 16px;
    color: #fff;
}

/* Input */
.character-input {
    background: #020617;
    border: 1px solid #334155;
    color: #fff;
}

/* Género */
.gender-select {
    display: flex;
    gap: 1rem;
}

.gender-card {
    flex: 1;
    padding: 1rem;
    text-align: center;
    border-radius: 12px;
    background: #020617;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.5rem;
}

.gender-card span {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
}

.gender-card.active {
    border-color: #39b7e0;
    box-shadow: 0 0 10px #39b7e0;
}

/* Vocación */
.vocation-card {
    padding: 1rem;
    border-radius: 12px;
    background: #020617;
    border: 2px solid #334155;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.vocation-card.active {
    border-color: #fae813;
    box-shadow: 0 0 10px #fae813;
}

/* Botón */
.btn-create-character {
    background: linear-gradient(90deg, #39b7e0, #fae813);
    border: none;
    font-weight: bold;
    color: #000;
}

.character-info p {
    font-size: 0.85rem;
    margin: 3px 0;
}

.character-level {
    color: #fae813;
    font-weight: bold;
}

/* Estado */
.status-online {
    color: #4ade80;
    font-weight: bold;
}

.status-offline {
    color: #ef4444;
    font-weight: bold;
}

/* Avatar */
.character-avatar {
    max-width: 90px;
}

/********* DASHBOARD SCREEN *************/

/* CONTENEDOR */
.main-content {
    margin-top: 80px;
}

.dashboard-container {
    position: relative;
    z-index: 2;
}

/* TÍTULO */
.dashboard-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
}

.dashboard-title span {
    background: linear-gradient(90deg, #39b7e0, #fae813);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SUBTÍTULO */
.dashboard-subtitle {
    color: #cbd5f5;
    opacity: 0.8;
}

/* TABS */
.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.tab-btn {
    background: rgba(2,6,23,0.8);
    border: 2px solid rgba(57,183,224,0.2);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    transition: 0.3s;
}

.tab-btn:hover {
    border-color: #39b7e0;
    box-shadow: 0 0 10px rgba(57,183,224,0.5);
}

.tab-btn.active {
    border-color: #fae813;
    box-shadow: 0 0 12px rgba(250,232,19,0.6);
}

/* TARJETAS */
.server-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 16px;
    border: 2px solid rgba(57,183,224,0.2);
    box-shadow: 0 0 20px rgba(57,183,224,0.2);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/********* CARD BASE *************/
.character-card {
    position: relative;
    background: linear-gradient(145deg, #0f172a, #020617);
    border-radius: 18px;
    border: 2px solid rgba(57, 183, 224, 0.15);
    color: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Glow hover */
.character-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: #39b7e0;
    box-shadow: 0 0 25px rgba(57,183,224,0.5);
}

/* STATUS DOT */
.status-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.online {
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
}

.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

/* AVATAR */
.character-avatar-wrapper {
    background: radial-gradient(circle, rgba(57,183,224,0.15), transparent);
    border-radius: 50%;
    padding: 10px;
    display: inline-block;
}

.character-avatar {
    width: 90px;
    transition: 0.3s;
}

.character-card:hover .character-avatar {
    transform: scale(1.1);
}

/* NOMBRE */
.character-name {
    font-weight: bold;
    margin-top: 10px;
}

/* NIVEL BADGE */
.character-level-badge {
    display: inline-block;
    margin-top: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    background: linear-gradient(90deg, #39b7e0, #fae813);
    color: #000;
    font-weight: bold;
}

/* INFO */
.character-info {
    font-size: 0.8rem;
    margin-top: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin: 4px 0;
    opacity: 0.9;
}

.info-row.small {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* HIDDEN */
.character-hidden {
    margin-top: 6px;
    font-size: 0.7rem;
    color: #facc15;
}

/* BOTÓN DELETE */
.btn-delete-character {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(239,68,68,0.4);
    color: #ef4444;
    border-radius: 10px;
    padding: 6px;
    transition: 0.3s;
}

.btn-delete-character:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 10px rgba(239,68,68,0.6);
}