/* =========================================
   1. BANDERAS TIPO "MONEDA" (COTIZADOR)
   ========================================= */
.flag-coin-wrapper { cursor: pointer; margin: 0 5px; }
.flag-coin {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    border: 2px solid transparent; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(40%) opacity(0.8); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.flag-coin-wrapper:hover .flag-coin { filter: grayscale(0%) opacity(1); transform: translateY(-2px); }
.btn-check:checked + .flag-coin-wrapper .flag-coin {
    filter: grayscale(0%) opacity(1); border-color: var(--azul-mayaland, #0d6efd);
    transform: scale(1.15); box-shadow: 0 6px 12px rgba(13, 110, 253, 0.2);
}
.icon-light-grey { color: #cbd5e1 !important; }

/* =========================================
   2. CARRUSEL ESTILO REVISTA (300px HIGH)
   ========================================= */
#carruselRevista {
    position: relative;
    z-index: 15;
    box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.8) !important;
    border: none !important;
}
#carruselRevista::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, #0d6efd 0%, #00d4ff 50%, #0d6efd 100%);
    z-index: 10;
    box-shadow: inset 0px 2px 5px rgba(0,0,0,0.4);
}
.carrusel-magazine-wrapper {
    position: relative; width: 100%; height: 300px; overflow: hidden;
    background-color: var(--mayaland-dark, #0f172a);
}
.carrusel-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* LOGO DENTRO DEL CARRUSEL */
.carrusel-logo-overlay {
    position: absolute; top: 0; left: 0; width: 40%; height: 100%;
    display: flex; align-items: center; justify-content: flex-start;
    padding-left: 5%; z-index: 5;
}
.carrusel-logo-img {
    width: 350px; max-width: 90%; height: auto;
    filter: drop-shadow(1px 1px 0px white) drop-shadow(-1px -1px 0px white)
            drop-shadow(1px -1px 0px white) drop-shadow(-1px 1px 0px white)
            drop-shadow(0px 8px 15px rgba(0,0,0,0.6));
    opacity: 0; transform: translateY(20px); transition: all 0.5s ease-out;
}
.carousel-item.active .carrusel-logo-img { opacity: 1; transform: translateY(0); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s; }

/* TEXTO DENTRO DEL CARRUSEL */
.carrusel-overlay {
    position: absolute; top: 0; right: 0; width: 60%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    display: flex; align-items: center; justify-content: flex-end;
    padding-right: 5%; z-index: 5;
}
.carrusel-title {
    color: #ffffff; font-size: 3.2rem; font-family: 'Inter', sans-serif;
    font-weight: 900; text-transform: lowercase; line-height: 0.95;
    text-align: right; margin: 0; width: min-content;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.7); letter-spacing: -1.5px;
    opacity: 0; transform: translateX(40px); transition: all 0.4s ease-out;
}
.carousel-item.active .carrusel-title { opacity: 1; transform: translateX(0); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s; }

/* =========================================
   3. BOTONES SUPERIORES FLOTANTES
   ========================================= */
.top-action-buttons {
    position: absolute; top: 20px; right: 20px; z-index: 1050;
    display: flex; gap: 10px; align-items: center;
}
.btn-top-overlay {
    background: rgba(255, 255, 255, 0.1) !important; color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important; backdrop-filter: blur(5px);
    font-size: 0.8rem; letter-spacing: 1px; padding: 8px 16px; border-radius: 50px;
    font-weight: bold; text-transform: uppercase; transition: all 0.3s ease;
    text-decoration: none; display: flex; align-items: center;
}
.btn-top-overlay:hover {
    background: rgba(255, 255, 255, 0.2) !important; border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* =========================================
   4. TARJETAS INFORMATIVAS
   ========================================= */
.feature-card {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white; padding: 0.8rem 1rem; text-align: left;
}
.feature-card:hover {
    transform: translateY(-4px); background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3) !important; box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important;
}
.feature-card h6 { color: #ffffff !important; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); font-size: 0.85rem; margin-top: 0.2rem; }
.feature-card p { color: rgba(255, 255, 255, 0.8) !important; font-size: 0.70rem; line-height: 1.3; }
.icon-wrapper {
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.feature-card:hover .icon-wrapper { background: var(--azul-mayaland, #0d6efd); transform: scale(1.1); }
.feature-card:hover .icon-wrapper i { color: white !important; }

/* =========================================
   5. RESPONSIVE (MÓVILES)
   ========================================= */
@media (max-width: 768px) {
    .hero-section { padding-top: 0 !important; margin-top: 0 !important; }
    .carrusel-magazine-wrapper { height: 250px; }
    .carrusel-title { font-size: 1.8rem; text-align: center; }
    .carrusel-overlay { width: 100%; justify-content: center; padding-right: 0; text-align: center; background: rgba(0,0,0,0.5); align-items: flex-end; padding-bottom: 2rem; }
    .carrusel-logo-overlay { display: flex; width: 100%; justify-content: center; padding-left: 0; top: 20%; height: auto; }
    .carrusel-logo-img { width: 250px; margin: 0 auto; }
    .top-action-buttons { top: 10px; right: 10px; gap: 5px; }
    .btn-top-overlay { font-size: 0.7rem; padding: 6px 12px; }
    .btn-staff-text { display: none; }
    .feature-card { padding: 1rem; }
    .icon-wrapper { width: 35px; height: 35px; }
}
