/* --- SECCIÓN INDEX --- */
.ms-store-container {
    width: 95%;
    max-width: 1300px;
    margin: 20px auto;
}

h3 {
    text-align: center;
    border-bottom: 2px double var(--accent-red);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

    .hero-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 900px) {
    .hero-mosaic {
        grid-template-columns: 1.4fr 1fr;
}
}

.carousel-container {
    position: relative;
    border: 1px solid var(--accent-gold); /* Bajado a 1px */
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2); /* Sutil resplandor dorado */
    overflow: hidden;
    min-height: 250px;
    background-color: #000;
}

@media (min-width: 768px) {
    .carousel-container {
        min-height: 340px;
    }
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.2s;
}

.carousel-container:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background-color: rgba(0, 0, 0, 0.8); }
.carousel-arrow.prev { left: 15px; }
.carousel-arrow.next { right: 15px; }

.main-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s;
    padding: 50px 60px;
    display: flex;
    align-items: center;
}

.main-banner.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.banner-evento {
    background-image: url('../card1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute !important;
}

.banner-evento::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.banner-evento .banner-content {
    position: relative;
    z-index: 1;
}

.banner-content { max-width: 450px; }
.banner-content .badge {
    font-size: 0.7rem;
    background-color: rgba(197, 160, 89, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.banner-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    margin: 15px 0;
    color: var(--accent-gold);
    text-shadow: none;
    letter-spacing: normal;
    text-transform: none;
}

.banner-content p {
    color: var(--text-pergamino);
    font-style: normal;
    line-height: 1.5;
}

.ms-btn-primary {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #000;
    text-decoration: none;
    padding: 8px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 0;
}

.ms-btn-primary:hover {
    background-color: #d4af37;
    color: #000;
}

.carousel-dots { position: absolute; bottom: 15px; left: 60px; display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; background-color: rgba(255, 255, 255, 0.3); border-radius: 50%; cursor: pointer; }
.dot.active { background-color: var(--text-white); width: 18px; border-radius: 4px; }

.side-banners { display: flex; flex-direction: column; gap: 15px; }
.top-side { background: radial-gradient(circle, #2c3e50 0%, #0f171e 100%); flex: 1; border-radius: var(--border-radius-store); padding: 30px; display: flex; align-items: flex-end; }
.bottom-split { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; height: 120px; }

.mini-card-1 { background-color: #1a2a3a; border-radius: var(--border-radius-store); padding: 15px; display: flex; align-items: flex-end;}
.mini-card-2 { background-color: #2c253b; border-radius: var(--border-radius-store); padding: 15px; display: flex; align-items: flex-end;}

/* Scroll Section */
.horizontal-scroll-section { margin-bottom: 40px; }
.scroll-wrapper { display: flex; gap: 15px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 15px; -webkit-overflow-scrolling: touch; }
.store-item-card {
    background: #0d0b09;
    border: 2px solid #2a231d;
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    transition: 0.5s;
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.store-item-card:hover {
    border-color: var(--accent-red);
    background: #14100d;
}

.section-header-link { text-decoration: none; color: inherit; }
.section-header-link:hover h3 { color: var(--text-white); text-shadow: 0 0 10px rgba(255, 42, 42, 0.3); }
.section-header-link:hover h3 span { color: var(--accent-blue); }

.card-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: #000;
    flex-shrink: 0;
}

.card-icon-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
    background: #000;
    flex-shrink: 0;
}

.card-info h4 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-info p {
    font-size: 1rem;
    color: var(--text-pergamino);
}

.card-info .price {
    font-size: 0.9rem;
    color: var(--accent-red);
    font-weight: bold;
    text-decoration: underline;
    margin-top: 10px;
}
.floating-store-btn { position: fixed; bottom: 20px; right: 20px; background: var(--accent-red); border: 1px solid var(--accent-gold); color: #ffffff; padding: 10px 20px; border-radius: 0; z-index: 2000; box-shadow: 0 0 15px var(--rojo-glow); }

.mini-profile-window { position: absolute; top: 45px; right: 0; background: #141414; border: 1px solid #ff2a2a; padding: 15px; border-radius: 8px; width: 160px; display: none; z-index: 9999; }

.card-img-fill {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}

.card-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 1;
    background: none;
    color: var(--text-pergamino);
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px #000;
}

/* Ajuste manual para las imágenes */
/* Ajuste manual para la imagen de noticias */
.mini-card-1 .card-img-fill {
    object-position: center 50%;
}

/* Ajuste manual para la imagen de comunidad */
.mini-card-2 .card-img-fill {
    object-position: center 20%;
}

.top-side .card-img-fill {
    object-position: center 50%;
}

/* Ajuste para mover el contenido del banner de Impostor */
.top-side .side-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center 20%;
    height: 30%;
    padding-top: 50px;
}

