
/* ================= GENERAL ================= */
body {
    background-color: #0b0b0b;
    color: #ffffff;
    overflow-x: hidden;
}

/* FONDO GAMING */
body {
    background-color: #0b0b0b;
    color: #ffffff;
    overflow-x: hidden;
    position: relative; /* 👈 agregado */
}

@keyframes moveBg {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(40px);
    }
}

/* COLORES */
.bg-dark-green {
    background-color: rgba(15, 61, 46, 0.95); /* casi sólido pero deja ver el patrón */
}

.bg-black-pro {
    background-color: #0b0b0b;
}

.text-light-green {
    color: #00ff9c;
}

/* FONDO NAVBAR */
#mainNav {
    background-color: #ffec00; /* amarillo exacto del logo */
}

/* Reducir tamaño del título */
.sitename {
    font-weight: 600;
    color: #031462;
}

/* Espacio entre header y main */
main {
    margin-top: 80px; /* compensa la altura del header fijo */
}

.navbar-toggler-icon{
    filter: invert(1);
}
.navbar {
    z-index: 1100;
}
/* FIX MOBILE VISIBILITY */
@media(max-width:991px){
    #menu{
        background:var(--primary);
        padding:15px;
        border-radius:10px;
    }

    .navbar-nav{
        gap:10px;
    }

    .navbar-nav.ms-auto{
        flex-direction:row;
        justify-content:space-between;
        margin-top:10px;
    }
}

#mainNav .navbar-brand{
    color:#fff!important;
}
.navbar-nav .nav-link {
    color: #031462 !important;
    font-weight: 600;
}
.navbar-nav .nav-link:hover {
    color: #000; /* o un azul más intenso */
}
.navbar-logo {
    max-height: 80px; /* ajusta según tu diseño */
    height: auto;
}

/* ================= HERO ================= */
.hero {
    padding: 60px 20px;
}

/* LOGIN */
.login-box {
    background: #121212;
    border: 1px solid #00a86b;
    border-radius: 10px;
    padding: 20px;
}

/* BOTÓN PRO */
.btn-glow {
    background: linear-gradient(45deg, #00ff9c, #00a86b);
    border: none;
    color: #000;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 0 15px #00ff9c;
    transition: 0.3s;
}
.btn-glow:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px #00ff9c;
}

/* ================= CONTADOR ================= */
#countdown div {
    background: #121212;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid #00a86b;
}

/* ================= PREMIOS ================= */
.premio-card {
    background: linear-gradient(145deg, #1a1a1a, #0f2e2a);
    border: 2px solid #00a86b;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}
.premio-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.premio-destacado {
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255,215,0,0.4);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px #ffd700;
    }
    50% {
        box-shadow: 0 0 30px #ffd700;
    }
    100% {
        box-shadow: 0 0 10px #ffd700;
    }
}

.badge-top {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #000;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: bold;
}

/* ================= TABLAS ================= */
.table-dark {
    background-color: #121212;
}

.toast-pro {
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.toast-pro.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-pro.hide {
    transform: translateX(100%);
    opacity: 0;
}

/* Sobrescribir fondo azul de Bootstrap en acordeón */
.accordion-button:not(.collapsed) {
    background-color: #121212; /* fondo oscuro */
    color: #00ff9c;            /* texto verde neón */
}

.accordion-button {
    background-color: #0b0b0b; /* fondo base */
    color: #ffffff;            /* texto blanco */
}

.accordion-button:focus {
    box-shadow: none;          /* quitar halo azul al enfocar */
}

.accordion-body {
    background-color: #121212; /* gris oscuro */
    color: #ffffff;            /* texto blanco */
}

/* Menu móviles */
.sitename-mobile {
    font-size: 13px;          /* un poco más compacto */
    font-weight: 600;
    line-height: 1.1;
    display: block;
    max-width: 160px;         /* mejor ajuste para navbar */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-logo {
    height: 45px;
}

/* Texto móvil */
.sitename-mobile {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-menu {
    z-index: 1050;
}

/* SOLO PC */
@media (min-width: 992px) {

    /* Empuja el menú a la derecha correctamente */
    .menu-derecha {
        flex-grow: 0;
        margin-left: auto;
    }

    /* Espaciado entre items del menú */
    .navbar-nav .nav-link {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Evita que el título dañe el layout */
    .sitename {
        max-width: 500px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}