/* ========================================
   GOOGLE FONTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ========================================
   VARIABLES Y COLORES
   ======================================== */
:root {
    --color-bg: #020202;
    --color-amarillo: #f2bb1c;
    --color-oscuro: #0a0a0a;
    --color-texto: #f2bb1c;
    --color-texto-blanco: #ffffff;
}

/* ========================================
   ESTILOS GENERALES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-texto);
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

.container {
    max-width: 1650px !important;
    width: 92% !important;
}

html {
    scroll-behavior: smooth;
}

.section-7 .bi {
    color: var(--color-amarillo);
}

/* ========================================
   BOTONES
   ======================================== */
.btn-amarillo {
    background-color: var(--color-amarillo);
    color: #000;
    border: 2px solid var(--color-amarillo);
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-amarillo:hover {
    background-color: transparent;
    color: var(--color-amarillo);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 187, 28, 0.3);
}

.btn-outline-amarillo {
    border: 2px solid var(--color-amarillo);
    color: var(--color-amarillo);
    background-color: transparent;
    font-weight: 600;
    padding: 10px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-amarillo:hover {
    background-color: var(--color-amarillo);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(242, 187, 28, 0.3);
}

.btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(242, 187, 28, 0.25);
}

.btn {
    border-radius: 25px 25px 25px 25px !important;
}

/* ========================================
   TEXTOS Y TÍTULOS
   ======================================== */
.text-titulo {
    color: #9e9a9a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-amarillo) !important;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 300;
}

p,
.lead,
li {
    color: var(--color-texto-blanco);
    line-height: 1.8;
}

p {
    font-size: 1rem;
}

li {
    font-size: 1rem;
}

.lead {
    font-size: 1rem;
}

.fs-5 {
    font-size: 1.5rem !important;
}

a {
    color: var(--color-amarillo);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    filter: brightness(1.2);
}

/* ========================================
   SECCIONES
   ======================================== */
section {
    position: relative;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
}

/* Backgrounds Sections */
.bg-section-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../imgs/01.jpg') center/cover no-repeat;
}

.bg-section-3 {
    background: url('../../imgs/flecha_derecha.png') left center/50% 100% no-repeat, linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)) right center/50% 100% no-repeat, url('../../imgs/02.jpg') right center/50% 100% no-repeat;
}

.bg-section-4 {
    background: url('../../imgs/cara_y_mancha.png') center/cover no-repeat;
}

.bg-section-5 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../imgs/03.jpg') center/cover no-repeat;
}
.bg-section-2a {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../imgs/landing_01.png') center/cover no-repeat;
}

.bg-section-3a {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../imgs/landing_02.png') center/contain no-repeat;
    background-color: #000; /* Asegura que el fondo negro cubra si la imagen no llena todo el espacio */
}

.bg-section-4a {
    background: url('../../imgs/landing_02a.png') center/cover no-repeat;
}

.bg-section-5a {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../imgs/landing_03.png') center/cover no-repeat;
}
.bg-section-6 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../imgs/landing_03.png') center/cover no-repeat;
}

.bg-section-7 {
    padding: 80px 0;
    border-bottom: none !important;
}

.hero-section,
.section-2,
.section-3,
.section-4,
.section-5,
.section-6 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}



.hero-bg-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.hero-floating-img {
    position: absolute;
    right: 7%;
    top: 37%;
    transform: translateY(-50%);
    max-width: 800px;
    max-height: 70vh;
    width: 45%;
    object-fit: contain;
    z-index: 25;
    pointer-events: none;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.9));
}

/* Animación especial para imágenes flotantes */
.hero-floating-img.reveal-right,
.section6-floating-img.reveal-right {
    opacity: 0;
    transform: translate(80px, -50%);
    /* 80px a la derecha y centrado vertical */
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-floating-img.reveal-right.active,
.section6-floating-img.reveal-right.active {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Ajuste para móvil (quitar centrado vertical en la animación) */
@media (max-width: 992px) {

    .hero-floating-img.reveal-right,
    .section6-floating-img.reveal-right {
        transform: translateX(50px);
    }

    .hero-floating-img.reveal-right.active,
    .section6-floating-img.reveal-right.active {
        transform: translateX(0);
    }
}

@media (max-width: 992px) {


    .hero-floating-img {
        position: relative;
        width: 85%;
        max-width: 450px;
        margin: -30px auto -70px auto;
        /* Subirla un poco y traslapar con el contenido de abajo */
        display: block;
        right: auto;
        top: auto;
        transform: none;
        z-index: 30;
        /* Asegurar que esté encima del logo */
    }
}

.section6-floating-img {
    position: absolute;
    right: 2%;
    /* Volvemos al lado derecho */
    top: 35%;
    transform: translateY(-50%);
    max-width: 550px;
    /* Reducido de 750px */
    width: 28%;
    /* Reducido de 50% */
    z-index: 100;
    pointer-events: none;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.9));
}

@media (max-width: 992px) {
    .section6-floating-img {
        position: relative;
        width: 85%;
        max-width: 450px;
        margin: 20px auto;
        display: block;
        right: auto;
        top: auto;
        transform: none;
    }
}

.escenario-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.seccion-contenido {
    flex-grow: 1;
    padding-bottom: 50px;
}

.footer-patrocinadores {
    margin-top: auto;
    position: relative;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(15px);
}

.video-info {
    z-index: 20 !important;
    pointer-events: auto;
}

.menu-flotante {
    z-index: 100 !important;
}

/* Ajuste para que el video no bloquee el scroll */
body {
    overflow-y: auto !important;
}

.RLR_escenario {
    background-image: none !important;
    background-color: transparent !important;
}

.hero-section img:not(.hero-bg-decor) {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.z-index-10 {
    position: relative;
    /* Importante: z-index solo funciona con position relative/absolute */
    z-index: 10;
}

.logo-main {
    animation: fadeInDown 0.8s ease;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1, .hero-section h2, .hero-section h3 {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.lead {
    animation: fadeInUp 0.8s ease 0.4s backwards;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.hero-section .d-flex {
    animation: fadeInUp 0.8s ease 1.2s backwards;
}

.hero-list li {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-list li:nth-child(1) {
    animation-delay: 0.6s;
}

.hero-list li:nth-child(2) {
    animation-delay: 0.8s;
}

.hero-list li:nth-child(3) {
    animation-delay: 1.0s;
}

/* ========================================
   MODALES
   ======================================== */
.modal-content {
    background-color: var(--color-bg);
    border: 2px solid var(--color-amarillo);
    border-radius: 15px;
}

#modalEstadisticas .modal-dialog {
    margin-top: 10vh;
    /* Baja el modal un 10% de la altura de la pantalla */
}

.modal-header,
.modal-footer {
    border-color: var(--color-amarillo);
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-title {
    color: var(--color-amarillo);
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 300;
}

.form-control {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #adb5bd;
    color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 25px 25px 25px 25px;
}

.form-control:focus {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: var(--color-amarillo);
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(242, 187, 28, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-label {
    color: #ced4da !important;
    /* font-weight: 600; */
    margin-bottom: 0.5rem;
}

.form-check-input {
    background-color: rgba(0, 0, 0, 0.7);
    border-color: var(--color-amarillo);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--color-amarillo);
    border-color: var(--color-amarillo);
}

.form-check-input:focus {
    border-color: var(--color-amarillo);
    box-shadow: 0 0 0 0.25rem rgba(242, 187, 28, 0.25);
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clases para animación de scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-bg-decor {
        opacity: 0.45;
    }

    section {
        padding: 60px 0 !important;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Fix Mobile Backgrounds */
    .bg-section-3 {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../imgs/02.jpg') center/cover no-repeat !important;
    }

    .bg-section-6 {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../../imgs/04.jpg') center/cover no-repeat !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .modal-body {
        padding: 20px;
    }

    .btn-amarillo,
    .btn-outline-amarillo {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    section {
        padding: 50px 0 !important;
    }

    .ave-deco {
        display: none !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }

    .logo-main {
        max-width: 310px !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .d-flex {
        flex-direction: column;
        width: 100%;
    }

    .btn-amarillo,
    .btn-outline-amarillo {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 40px 0 !important;
    }

    .modal-lg {
        max-width: 95vw;
    }
}

/* ========================================
   UTILIDADES
   ======================================== */
.border-amarillo {
    border-color: #727272 !important;
}

.border-nav-amarillo {
    border-color: var(--color-amarillo) !important;
}

#perfil-identificacion {
    background-image: url('../../imgs/cara_y_mancha2.png');
    background-attachment: scroll;
    background-position: center center;
    border-bottom: 2px dotted rgba(128, 128, 128, 0.3);
}

.perfil-floating-img {
    position: absolute;
    /* Cambiado a absoluto para que se mueva con el scroll */
    right: 5%;
    top: 140px;
    /* Subido aproximadamente un 30% (de 200px a 140px) */
    max-width: 500px;
    opacity: 1;
    pointer-events: none;
    z-index: 1000;
    /* Reducido para que el modal (1050+) quede encima */
    /* Sigue estando por delante del menú */
}

.bg-dark {
    background-color: #020202cc !important;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-amarillo);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

/* ========================================
   ESTILOS PERFIL USUARIO/ARTISTA
   ======================================== */
.nav-pills .nav-link {
    border-radius: 50px !important;
    padding: 8px 18px !important;
    margin: 0 4px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    /* font-weight: 600; */
}

.nav-pills .nav-link.active {
    background-color: var(--color-amarillo) !important;
    color: #000000 !important;
    /* font-weight: bold; */
    border-color: var(--color-amarillo);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(242, 187, 28, 0.1);
    border-color: rgba(242, 187, 28, 0.5);
}

/* Ajuste de scroll para sticky header */
section[id],
div[id],
.perfil-section[id] {
    scroll-margin-top: 140px;
    /* Suficiente espacio para que el menú no tape el título */
}

/* Estilo para secciones dinámicas en el perfil */
.perfil-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Todo alineado a la izquierda */
    padding: 60px 0;
    /* Espaciado premium */
    position: relative;
    background-size: cover;
    background-position: right center;
    /* Fondo anclado a la derecha */
    background-attachment: scroll !important;
    /* Forzado a scroll para evitar que el fondo se quede pegado */
    width: 100%;
    border-bottom: 2px dotted rgba(128, 128, 128, 0.3);
}

.perfil-section .card {
    margin-left: 5% !important;
    margin-right: auto !important;
    max-width: 600px;
    /* Ancho estándar para columnas de artistas */
    width: 90%;
    backdrop-filter: blur(0px);
    background-color: rgba(23, 23, 23, 0.637) !important;
    border: 1px solid rgba(242, 187, 28, 0.3);
}

/* --- FONDOS INDEPENDIENTES POR SECCIÓN --- */
#basico {
    background-image: url('../../imgs/bkg_info_artista.jpg') !important;
}

#artistico {
    background-image: url('../../imgs/bkg_info_artista_01.jpg') !important;
}

#galeria {
    background-image: url('../../imgs/bkg_login.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll !important;
    /* Mantengo scroll para evitar que invada otras secciones */
    background-size: cover;
    align-items: center;
    /* Centra la card horizontalmente */
}

#galeria .card {
    margin: 0 auto !important;
    /* Forza el centrado anulando el margin-left: 5% */
    max-width: 1000px;
    /* Un poco más ancha para la galería */
}



#musica {
    background-image: url('../../imgs/bkg_info_artista_02.jpg');
    align-items: center;
    /* Centra la card */
}

#musica .card {
    margin: 0 auto !important;
    max-width: 1000px;
    /* Ancho optimizado para el reproductor y video */
}

#fans {
    background-image: url('../../imgs/03.jpg');
    align-items: center;
    /* Centra la card */
    background-position: center center;
}

#fans .card {
    margin: 0 auto !important;
    max-width: 900px;
}

/* Scroll para tabla de fans tras aprox 20 registros (unos 600px) */
#fans .table-responsive {
    max-height: 600px;
    overflow-y: auto;
}

#fans .table-responsive::-webkit-scrollbar {
    width: 6px;
}

#fans .table-responsive::-webkit-scrollbar-thumb {
    background: var(--color-amarillo);
    border-radius: 10px;
}

#redes {
    background-image: url('../../imgs/02a.jpg');
}

#seguridad {
    background-image: url('../../imgs/cara_y_mancha2.png');
    align-items: flex-end;
    /* Mueve la card a la derecha */
    background-position: left center;
    /* Fondo a la izquierda para balancear */
}

#seguridad .card {
    margin-right: 5% !important;
    margin-left: auto !important;
}





/* --- PERFIL FAN --- */


#datos {
    background-image: url('../../imgs/04.jpg');
    align-items: flex-start;
}

#datos .card {
    max-width: 600px;
    margin-left: 5% !important;
}

#artistas {
    background-image: url('../../imgs/02.jpg');
    align-items: center;
}

#artistas .card {
    max-width: 1000px;
    margin: 0 auto !important;
}

#votos {
    background-image: url('../../imgs/01.jpg');
    align-items: center;
}

#votos .card {
    max-width: 900px;
    margin: 0 auto !important;
}

#seguridad {
    background-image: url('../../imgs/cara_y_mancha2.png');
    align-items: flex-end;
    background-position: left center;
}

#seguridad .card {
    max-width: 600px;
    margin-right: 5% !important;
    margin-left: auto !important;
}

/* Optimización de Nav Pills en Móviles */
.nav-pills.nav-sm {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
    gap: 5px;
}

.nav-pills.nav-sm::-webkit-scrollbar {
    height: 4px;
}

.nav-pills.nav-sm::-webkit-scrollbar-thumb {
    background: rgba(242, 187, 28, 0.3);
    border-radius: 10px;
}

.nav-pills.nav-sm .nav-link {
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 8px 18px !important;
}

@media (max-width: 768px) {

    section[id],
    div[id] {
        scroll-margin-top: 220px;
        /* Más margen en móvil por menú más alto */
    }
}

/* Área de subida de archivos (Drag & Drop) */
.upload-area {
    border: 2px dashed var(--color-amarillo);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4);
}

.upload-area:hover {
    background: rgba(242, 187, 28, 0.1);
}

.upload-area.dragover {
    background: rgba(242, 187, 28, 0.2);
    border-color: #ffffff;
}

/* Previsualización de imágenes */
.imagen-preview {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--color-amarillo);
}

/* Clases utilitarias para nav pequeña */
.nav-sm .nav-link {
    font-size: 0.9rem;
}

/* ========================================
   ESTILOS ESCENARIO
   ======================================== */
.escenario-container {
    min-height: 100vh;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.menu-flotante {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 990;
    transition: opacity 0.3s ease;
}

/* Ocultar menú cuando hay un modal abierto para evitar solapamientos */
body.modal-open .menu-flotante {
    display: none !important;
}

.menu-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #000000 !important;
    border: 3px solid var(--color-amarillo) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(242, 187, 28, 0.4);
}

.menu-toggle i {
    color: var(--color-amarillo) !important;
    font-size: 2rem;
}

.menu-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(242, 187, 28, 0.7);
}

.menu-items {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #f2bb1c;
    border-radius: 10px;
    padding: 10px;
    min-width: 200px;
    display: none;
}

.menu-items.show {
    display: block;
    animation: slideDownEscenario 0.3s ease;
}

@keyframes slideDownEscenario {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-player-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: -1;
    /* Forzamos que esté detrás de todo */
    overflow: hidden;
    pointer-events: none;
    /* Dejamos que los clics pasen a través si es necesario, aunque los mandos están en la UI */
}

#mediaElement {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-player {
    width: 100%;
    height: 100%;
    background: #000;
}

.video-info {
    position: fixed;
    top: 90px;
    left: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    color: white;
    z-index: 50;
    border-radius: 15px;
    border-left: 5px solid var(--color-amarillo);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.btn-claps {
    position: relative;
    padding: 5px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    background: linear-gradient(135deg, #f2bb1c 0%, #d4a017 100%);
    border: none;
    border-radius: 50px;
    color: #000;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(242, 187, 28, 0.4);
}

.btn-claps:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 187, 28, 0.6);
}

.btn-claps:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cronometro {
    display: inline-block;
    background: rgb(242 187 28 / 12%);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: #f2bb1c;
}

.artista-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #f2bb1c;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.artista-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(242, 187, 28, 0.3);
    border-color: #ffffff;
}

.artista-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.ranking-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f2bb1c;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.card {
    border-radius: 25px 25px 25px 25px;
    box-shadow: 0px 0px 25px #000000e6 !important;
}

/* ========================================
   FRANJA DE ARTISTAS (ESCENARIO)
   ======================================== */
.franja-card {
    background: rgba(10, 10, 10, 0.4) !important;
    border: 1px solid rgba(242, 187, 28, 0.4) !important;
    border-radius: 50px !important;
    overflow: hidden;
    margin-bottom: 20px;
    width: 98% !important;
    max-width: 850px !important;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    padding: 10px 5px; /* Ajuste para botones */
}

.votacion-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.franja-artistas {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0; /* Reducido para alinearse con botones */
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 40px;
    width: 100%;
}

.franja-artistas::-webkit-scrollbar {
    display: none;
}

.franja-item {
    flex: 0 0 auto;
    width: 65px;
    height: 65px;
    border-radius: 50%; /* Cambiado a circular para mejor estética tipo riel */
    border: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    cursor: pointer; /* Cambiado de default a pointer */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    scroll-snap-align: center; /* Alineación perfecta al scroll */
}

.franja-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Cambiado de cover a contain para que no se corte */
}

.franja-item.active {
    border: 3px solid var(--color-amarillo);
    transform: scale(1.15); /* Crecer un poco para destacar */
    box-shadow: 0 0 20px rgba(242, 187, 28, 0.5);
    opacity: 1;
    z-index: 10;
}

.franja-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--color-amarillo);
    border-radius: 8px;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 187, 28, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(242, 187, 28, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(242, 187, 28, 0);
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Moved alert-perfil-incompleto below generic .alert for better precedence */

.text-muted {
    color: #9e9a9a !important;
}

.RLR_login {
    background-image: url('../../imgs/bkg_login.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.RLR_escenario {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../../imgs/bkg_escenario.jpg') !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
}

.RLR_logo_login {
    background-color: #171717;
    border-radius: 35px;
    box-shadow: 0px 0px 25px #000000e6 !important;
    padding: 10px;
}

/* Nuevo diseño para el cargador de logo */
.logo-upload-container {
    position: relative;
    width: 75px;
    height: 75px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f2bb1c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.logo-upload-container:hover {
    transform: scale(1.05);
    border-color: #fff;
}

.logo-img,
.logo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2bb1c;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    /* Oculto por defecto */
    transition: opacity 0.3s ease;
}

.logo-upload-container:hover .logo-overlay {
    opacity: 1;
    /* Aparece al pasar el mouse */
}

.logo-overlay i {
    color: #f2bb1c;
    font-size: 1.5rem;
}

.alert {
    color: #000000;
    background-color: #f2bb1c;
    border-radius: 15px;
}

.text-amarillo {
    color: #f2bb1c !important;
}

/* ========================================
   ALERTA PREMIUM: PERFIL INCOMPLETO
   ======================================== */
.alert-perfil-incompleto {
    background: linear-gradient(135deg, rgba(242, 187, 28, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%) !important;
    border: 1px solid rgba(242, 187, 28, 0.5) !important;
    border-left: 5px solid #f2bb1c !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.alert-perfil-incompleto:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    border-color: #f2bb1c !important;
}

.alert-perfil-incompleto h5 {
    color: #f2bb1c !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.alert-perfil-incompleto p {
    color: #ffffff !important;
    opacity: 0.95;
}

.alert-perfil-incompleto .bi-exclamation-triangle-fill {
    color: #f2bb1c;
    font-size: 1.5rem;
    animation: pulse-icon-incompleto 2s infinite;
}

@keyframes pulse-icon-incompleto {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.alert-perfil-incompleto strong {
    color: #f2bb1c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alert-perfil-incompleto .btn-completar {
    background-color: #f2bb1c;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: none;
}

.alert-perfil-incompleto .btn-completar:hover {
    background-color: #fff;
    transform: scale(1.05);
}

/* Moved alert-perfil-incompleto below generic .alert for better precedence */

.mb-4 {
    margin-bottom: 0rem !important;
    padding: 5px !important;
}

/* ========================================
   DASHBOARD ESCENARIO (V2)
   ======================================== */
.dashboard-container {
    position: relative;
    z-index: 10;
    min-height: 85vh;
    /* Reducido para dejar espacio al footer sin scroll excesivo */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .dashboard-container {
        padding-top: 100px; /* Reducido a algo más sutil */
    }
}

.video-info-dashboard {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid rgba(242, 187, 28, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    color: white;
    width: 100%;
    margin-bottom: 0;
}

.video-info-dashboard .d-flex {
    flex-wrap: nowrap !important;
    /* Evita que los botones bajen */
}

.video-info-dashboard button.rounded-circle {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.dashboard-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(242, 187, 28, 0.2);
    border-radius: 16px;
    padding: 12px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    color: white;
    transition: all 0.3s ease;
}

.dashboard-card h6 {
    font-size: 0.75rem !important;
    letter-spacing: 1px;
    margin-bottom: 8px !important;
    opacity: 0.8;
}

.dashboard-card:hover {
    border-color: var(--color-amarillo);
    transform: translateY(-3px);
}

.btn-ser-fan {
    background: linear-gradient(135deg, #ff4500 0%, #ff8c00 100%);
    border: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-ser-fan:hover {
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
    transform: scale(1.02);
    color: white;
}

.btn-ser-fan i {
    animation: flame-pulse 1.5s infinite;
}

@keyframes flame-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.franja-card-fixed {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 750px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-dashboard-container {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(242, 187, 28, 0.4);
    display: inline-flex;
    backdrop-filter: blur(10px);
}

.uppercase {
    text-transform: uppercase;
}

/* Control de margen superior responsivo */
.dashboard-header-mt {
    margin-top: -15px;
    /* Margen suave por defecto (móvil) */
}

@media (min-width: 992px) {
    .dashboard-header-mt {
        margin-top: 0rem;
        /* Regresamos al mt-n5 aprox en escritorio */
    }

    .video-info-dashboard {
        min-width: 380px !important;
        /* Agrandado ~30% */
        padding: 5px 25px !important;
    }

    .video-info-dashboard h5 {
        font-size: 1.1rem !important;
        /* Texto más grande para desktop */
    }

    .video-info-dashboard p {
        font-size: 0.9rem !important;
    }

    .video-info-dashboard button.rounded-circle {
        width: 42px !important;
        height: 42px !important;
    }
}

/* Ajustes para móviles en el Escenario */
@media (max-width: 768px) {
    .dashboard-header-mt {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 12px !important;
        align-items: flex-start !important;
        /* Centrado para que la card ocupe el ancho */
        margin-top: 5px !important;
        width: 100% !important;
        padding-right: 0 !important;
        /* El menú flotante está en top:20 right:20, no debería chocar con el centro */
    }

    /* Si el menú flotante estorba, lo bajamos un poco en móvil */
    @media (max-width: 768px) {
        .menu-flotante {
            top: 10px !important;
            right: 10px !important;
            transform: scale(0.8);
        }
    }

    .video-info-dashboard {
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        padding: 10px 15px !important;
        overflow: visible !important;
        border-radius: 15px;
    }

    .video-info-dashboard .d-flex {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .video-info-dashboard .me-3 {
        margin-right: 10px !important;
        min-width: 0 !important;
        flex: 1 !important;
        /* Ocupa todo el espacio disponible */
        display: block !important;
    }

    .video-info-dashboard h5 {
        font-size: 0.85rem !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        margin-bottom: 2px !important;
        display: block !important;
        color: var(--color-amarillo) !important;
        width: 100% !important;
        max-width: none !important;
        /* Eliminar cualquier restricción previa */
    }

    .video-info-dashboard p {
        font-size: 0.75rem !important;
        white-space: normal !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        display: block !important;
        color: #ffffff !important;
        width: 100% !important;
        max-width: none !important;
    }

    .video-info-dashboard .d-flex.gap-2 {
        gap: 8px !important;
        flex-shrink: 0 !important;
        margin-left: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .video-info-dashboard button.rounded-circle {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.9rem !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .video-info-dashboard button.rounded-circle i,
    .video-info-dashboard button.rounded-circle img {
        margin-left: 2px !important;
        /* Pequeño ajuste hacia la derecha */
    }

    .nav-dashboard-container {
        width: 80% !important;
        justify-content: flex-start !important;
        flex-shrink: 0 !important;
    }

    .nav-dashboard-container .btn-group {
        width: 100% !important;
    }

    .nav-dashboard-container .btn {
        flex: 1 !important;
        padding: 8px 5px !important;
        font-size: 0.8rem !important;
    }

    .nav-dashboard-container .btn i {
        display: inline-block !important;
        /* Recuperamos iconos */
    }

    /* Cards flotantes y delgadas en móvil */
    /* Contenedor de las dos tarjetas de votos/fans en horizontal */
    .dashboard-container .row:first-child > .col-md-3:first-child {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        position: relative !important;
        z-index: 1000 !important;
    }

    .card-claps, .card-seguidores {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 150px !important; /* Un poco más anchas para ser horizontales */
        max-width: 48% !important;
        padding: 10px !important;
        margin-bottom: 0 !important;
        backdrop-filter: blur(10px) !important;
        background: rgba(10, 10, 10, 0.6) !important;
        border: 1px solid rgba(242, 187, 28, 0.3) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    /* Ocultar etiquetas/títulos en móvil */
    .card-claps h6, .card-seguidores h6,
    .card-claps .cronometro, .card-seguidores .smaller,
    .card-seguidores .opacity-75 {
        display: none !important;
    }
    
    /* Stats en fila para las cards horizontales */
    .card-seguidores .d-flex.gap-3 {
        gap: 8px !important;
    }

    .btn-claps, .btn-ser-fan {
        padding: 5px !important;
        font-size: 0.7rem !important;
        width: 100% !important;
        max-width: 120px !important;
        border-radius: 12px !important;
    }

    .btn-claps img {
        max-height: 25px !important;
    }
    
    .btn-ser-fan {
        height: auto !important;
        width: 100% !important;
    }

    /* Patrocinadores: Margen moderado para móvil */
    .card-sponsors {
        margin-top: 180px !important;
        width: 100% !important;
    }

    .franja-card-fixed {
        display: none !important;
    }
}

/* Estilos para el Reel de Artistas (Scrollable) */
.franja-card-scrollable {
    position: relative;
    width: 100%;
    margin-top: 30px;
    padding-bottom: 40px;
}

@media (min-width: 992px) {
    /* En escritorio, solo se ve al llegar al final del scroll */
    .franja-card-scrollable {
        opacity: 0.2;
        transition: opacity 0.5s ease;
    }
    
    .franja-card-scrollable:hover {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .franja-card-scrollable {
        opacity: 1 !important;
        margin-top: 20px;
    }
    
    .video-info-dashboard {
        border-radius: 10px !important;
        margin-bottom: 10px !important;
    }
}
