
:root {
    --mlb-blue: #0d2c54;
    --mlb-red: #d50032;
    --mlb-light-blue: #132448;
    --mlb-gold: #ffd700;
    --mlb-dark: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}


/* Navbar MLB Style */
.navbar-mlb {
    background: var(--mlb-blue) !important;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-mlb .navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    padding: 15px 20px;
    background: var(--mlb-red);
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.navbar-mlb .nav-link {
    color: white !important;
    font-weight: 600;
    padding: 20px 15px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: background 0.3s;
}

.navbar-mlb .nav-link:hover {
    background: var(--mlb-light-blue);
}

.navbar-mlb .nav-link.active {
    background: var(--mlb-red);
}

/* ============================================
   HERO SLIDER - NUEVO DESDE CERO
   ============================================ */
.hero-mlb {
    position: relative;
    width: 100%;
    max-width: 1905px;
    margin: 0 auto;
    padding: 0;
    background-color: #000;
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 1905px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #000;
    /* Reserve exact space before images load — eliminates CLS */
    aspect-ratio: 1905 / 500;
    min-height: unset;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

/* Barra de progreso roja */
.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(213, 0, 50, 0.2);
    z-index: 10;
}

.hero-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d50032 0%, #ff1744 50%, #d50032 100%);
    transition: width 5s linear !important;
    box-shadow: 0 0 10px rgba(213, 0, 50, 0.5);
    will-change: width;
}

/* Controles de navegaciÃ³n */
.hero-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-slider-controls:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-slider-controls.prev {
    left: 20px;
}

.hero-slider-controls.next {
    right: 20px;
}

.hero-slider-controls i {
    color: white;
    font-size: 1.2rem;
}

/* Media Queries Responsive - El aspect ratio se mantiene automÃ¡ticamente con padding-bottom */
@media (max-width: 992px) {
    .hero-slider-controls {
        width: 40px;
        height: 40px;
    }

    .hero-slider-controls.prev {
        left: 10px;
}

    .hero-slider-controls.next {
        right: 10px;
}
}

@media (max-width: 768px) {
    .hero-slider-controls {
        width: 35px;
        height: 35px;
    }

    .hero-slider-controls.prev {
        left: 5px;
    }

    .hero-slider-controls.next {
        right: 5px;
    }

    .hero-slider-controls i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-progress-bar {
        height: 4px;
    }
}


/* ============================================
   CSS ANTIGUO - ELIMINAR DESPUÃ‰S
   ============================================ */
.hero-mlb .carousel-inner {
    width: 100%;
    height: 600px;
    max-width: 1905px;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border: none;
    line-height: 0;
}

/* Eliminar espacios en blanco y padding de Bootstrap */
.hero-mlb .carousel-inner > * {
    margin: 0;
    padding: 0;
}

/* Desktop grande (1400px - 1905px) */
@media (min-width: 1400px) and (max-width: 1905px) {
    .hero-mlb .carousel-inner {
        height: 650px;
    }

    .hero-mlb .carousel-item {
        height: 650px;
}

    .hero-slide-item.banner-image {
        height: 650px;
        background-color: transparent;
    }

    .hero-slide-item.banner-image img {
    width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
    object-fit: contain;
        object-position: center center;
    }
}

/* Para pantallas muy grandes (>1905px) */
@media (min-width: 1906px) {
    .hero-mlb {
        display: flex;
        justify-content: center;
    }

    .hero-mlb .carousel-inner {
        width: 1905px;
        height: 700px;
        background-color: transparent;
}

    .hero-mlb .carousel-item {
        height: 700px;
        background-color: transparent;
}

    .hero-slide-item.banner-image {
        height: 700px;
        background-color: transparent;
}

    .hero-slide-item.banner-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }
}

/* Desktop mediano (1201px - 1399px) */
@media (min-width: 1201px) and (max-width: 1399px) {
.hero-mlb .carousel-inner {
        height: 600px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item {
        height: 600px;
        background-color: transparent;
    }

    .hero-slide-item.banner-image {
        height: 600px;
        background-color: transparent;
    }

    .hero-slide-item.banner-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }
}

/* Asegurar que carousel-item y hero-slide-item tengan la misma altura */
.hero-mlb .carousel-item.active {
    display: block;
}

.hero-mlb .carousel-item {
    height: 600px;
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    line-height: 0;
}

.hero-mlb .carousel-item.active {
    display: block;
}

/* Eliminar espacios en blanco de los elementos hijos */
.hero-mlb .carousel-item > * {
    margin: 0;
    padding: 0;
}

.hero-slide-item {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    /* Suavizado de la imagen para mejor calidad */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-width: 100%;
    max-height: 100%;
}

/* Ajuste para banners de tipo imagen - adaptarse sin expandirse */
.hero-slide-item.banner-image {
    background-color: transparent;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.hero-slide-item.banner-image img {
    position: relative;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    background-color: transparent;
    display: block;
    z-index: 0;
}

/* Ajuste para banner de World Series - adaptarse sin expandirse */
.hero-slide-item img[alt*="World Series"] {
    object-fit: contain;
    object-position: center center;
    max-width: 100%;
    max-height: 100%;
}

/* Mejorar el responsive de las imÃ¡genes en diferentes tamaÃ±os */
@media (max-width: 992px) {
    .hero-slide-item.banner-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }
}

/* Eliminar cualquier fondo azul o blanco en todos los breakpoints */
.hero-mlb .carousel-inner {
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-mlb .carousel-item {
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slide-item {
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Eliminar espacios en blanco del HTML sin afectar el contenido */
.hero-mlb .carousel-inner {
    white-space: nowrap;
}

.hero-mlb .carousel-item {
    white-space: normal;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-slide-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-mlb .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-mlb .col-lg-8 {
    width: 100%;
}

@media (min-width: 992px) {
    .hero-mlb .col-lg-8 {
        width: 66.666667%;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Ocultar indicadores del carousel */
.carousel-indicators {
    display: none !important;
}

/* Barra roja decorativa en la parte inferior del hero */
.hero-mlb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--mlb-red, #d50032);
    background: linear-gradient(90deg, #d50032 0%, #ff1744 50%, #d50032 100%);
    z-index: 10;
    box-shadow: 0 -2px 8px rgba(213, 0, 50, 0.3);
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-item.active {
    display: block;
    height: auto;
}

.hero-mlb .carousel-item.active {
    display: block;
    height: auto;
    min-height: inherit;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.btn-mlb {
    background: var(--mlb-red);
    color: white;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(213, 0, 50, 0.3);
    font-size: 1rem;
}

.btn-mlb:hover {
    background: #b30029;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 0, 50, 0.4);
    color: white;
}

.btn-mlb-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .btn-mlb-outline {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .btn-mlb-outline {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

.btn-mlb-outline:hover {
    background: white;
    color: var(--mlb-blue);
}

/* ============================================
   HERO MLB - MEDIA QUERIES RESPONSIVE
   Organizados por breakpoints
   ============================================ */

/* Desktop pequeÃ±o / Tablet XL (993px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
    .hero-mlb .carousel-inner {
        height: 580px;
    }

    .hero-mlb .carousel-item {
        height: 580px;
    }

    .hero-mlb .carousel-item.active {
        height: 580px;
    }

    .hero-slide-item.banner-image {
        height: 580px;
        background-color: transparent;
    }

    .hero-slide-item.banner-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }
}

/* Tablet Large (â‰¤1200px) */
@media (max-width: 1200px) {
    .hero-mlb .carousel-inner {
        height: 550px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item {
        height: 550px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item.active {
        height: 550px;
        background-color: transparent;
    }

    .hero-slide-item {
        min-height: 100%;
        background-color: transparent;
    }

    .hero-slide-item img {
        object-fit: contain;
        object-position: center center;
        max-width: 100%;
        max-height: 100%;
    }

    .hero-slide-item.banner-image {
        height: 550px;
        background-color: transparent;
    }

    .hero-slide-item.banner-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        padding: 0 15px;
    }
}

/* Tablet (â‰¤992px) */
@media (max-width: 992px) {
    .hero-mlb .carousel-inner {
        height: 500px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item {
        height: 500px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item.active {
        height: 500px;
        background-color: transparent;
    }

    .hero-slide-item {
        min-height: 100%;
        background-color: transparent;
    }

    .hero-slide-item img {
        object-fit: contain;
        object-position: center center;
        max-width: 100%;
        max-height: 100%;
    }

    .hero-slide-item.banner-image {
        height: 500px;
        background-color: transparent;
    }

    .hero-slide-item.banner-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-mlb .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-mlb .col-lg-8 {
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile Large (â‰¤768px) */
@media (max-width: 768px) {
    .hero-mlb .carousel-inner {
        height: 400px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item {
        height: 400px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item.active {
        height: 400px;
        background-color: transparent;
    }

    .hero-slide-item {
        min-height: 100%;
        background-color: transparent;
    }

    .hero-slide-item img {
        object-fit: contain;
        object-position: center center;
        max-width: 100%;
        max-height: 100%;
    }

    .hero-slide-item.banner-image {
        height: 400px;
        background-color: transparent;
    }

    .hero-slide-item.banner-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    .hero-slide-item img[alt*="World Series"] {
        object-fit: contain;
        object-position: center center;
        max-width: 100%;
        max-height: 100%;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-mlb .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .carousel-indicators {
        display: none !important;
    }

    .btn-mlb {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Mobile (â‰¤576px) */
@media (max-width: 576px) {
    .hero-mlb .carousel-inner {
        height: 350px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item {
        height: 350px;
        background-color: transparent;
    }

    .hero-mlb .carousel-item.active {
        height: 350px;
        background-color: transparent;
    }

    .hero-slide-item {
        min-height: 100%;
        background-color: transparent;
    }

    .hero-slide-item img {
        object-fit: contain;
        object-position: center center;
        max-width: 100%;
        max-height: 100%;
    }

    .hero-slide-item.banner-image {
        height: 350px;
        background-color: transparent;
    }

    .hero-slide-item.banner-image img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center center;
    }

    .hero-slide-item img[alt*="World Series"] {
        object-fit: contain;
        object-position: center center;
        max-width: 100%;
        max-height: 100%;
    }

    .hero-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-content {
        padding: 0 5px;
    }

    .hero-mlb .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        opacity: 0.6;
    }

    .carousel-control-prev {
        left: 5px;
    }

    .carousel-control-next {
        right: 5px;
    }

    .carousel-indicators {
        display: none !important;
    }

    .btn-mlb {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* Main Content */
.main-content {
    padding: 0;
}

.main-content > .container-fluid {
    padding: 40px 0;
}

/* Section Headers */
.section-header {
    background: var(--mlb-blue);
    color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

.section-header .view-all {
    color: var(--mlb-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.section-header .view-all:hover {
    text-decoration: underline;
}

/* Game/Event Cards MLB Style */
.game-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    margin-bottom: 20px;
    border-top: 4px solid var(--mlb-red);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.game-card-header {
    background: var(--mlb-blue);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-card-header .date {
    font-size: 0.85rem;
    opacity: 0.9;
}

.game-card-header .status {
    background: var(--mlb-red);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-card-body {
    padding: 20px;
}

.game-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mlb-blue);
    margin-bottom: 10px;
}

.game-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.game-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.game-info-item i {
    color: var(--mlb-red);
}

.game-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.game-card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
    border-top: 4px solid var(--mlb-red);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--mlb-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.feature-card h4 {
    color: var(--mlb-blue);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

/* Instagram Style Gallery Section */
.instagram-gallery-section {
    padding: 0px 0;
    background: #000;
    width: 100%;
}

.instagram-gallery-header {
    text-align: center;
    margin-bottom: 2px;
    padding: 40px 20px;
    background: white;
}

.instagram-gallery-header h2 {
    color: var(--mlb-blue);
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.instagram-gallery-header h2 i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-follow-link {
    display: inline-block;
    color: var(--mlb-red);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.instagram-follow-link:hover {
    color: #b30029;
    text-decoration: underline;
}

.instagram-gallery-container {
    width: 100%;
    overflow: hidden;
    background: #000;
}

.instagram-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    width: 100%;
    background: #000;
}

.instagram-gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 270 / 278;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
}

.instagram-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-gallery-item:hover img {
    transform: scale(1.1);
}

.instagram-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.instagram-gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

.instagram-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    color: white;
}

.instagram-gallery-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

@media (max-width: 1680px) {
    .instagram-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1400px) {
    .instagram-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1120px) {
    .instagram-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 840px) {
    .instagram-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .instagram-gallery-header {
        padding: 30px 20px;
    }

    .instagram-gallery-header h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .instagram-gallery-header h2 i {
        font-size: 1.8rem;
    }

    .instagram-gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .instagram-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }
}

@media (max-width: 576px) {
    .instagram-gallery-header {
        padding: 25px 15px;
    }

    .instagram-gallery-header h2 {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
        flex-direction: column;
        gap: 10px;
    }

    .instagram-gallery-header h2 i {
        font-size: 1.5rem;
    }

    .instagram-gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .instagram-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }
}

@media (max-width: 400px) {
    .instagram-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }

    .instagram-gallery-item {
        aspect-ratio: 1 / 1;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    color: white;
    padding: 25px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Footer MLB Style */
.footer-mlb {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #ccc;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-mlb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mlb-red) 0%, var(--mlb-blue) 50%, var(--mlb-red) 100%);
}

.footer-mlb .container-fluid {
    position: relative;
    z-index: 1;
}

.footer-mlb h5 {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-mlb h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--mlb-red);
    border-radius: 2px;
}

.footer-mlb .footer-col {
    padding: 0 20px;
}

.footer-mlb .footer-logo-section {
    margin-bottom: 20px;
}

.footer-mlb .footer-logo-section img {
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
}

.footer-mlb .footer-logo-section:hover img {
    transform: scale(1.05);
}

.footer-mlb p {
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-mlb a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 0.95rem;
    border-radius: 6px;
    margin: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-mlb a i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-mlb a:hover {
    color: white;
    background: rgba(213, 0, 50, 0.15);
    border-color: var(--mlb-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 0, 50, 0.2);
}

.footer-mlb a:hover i {
    opacity: 1;
    color: var(--mlb-red);
    transform: scale(1.1);
}

.footer-mlb .quick-links {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.footer-mlb .quick-links a {
    display: inline-flex !important;
    align-items: center;
    min-width: auto;
    white-space: nowrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.footer-mlb .contact-info {
    color: #b0b0b0;
}

.footer-mlb .contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-mlb .contact-info i {
    margin-right: 12px;
    width: 20px;
    color: var(--mlb-red);
    font-size: 1rem;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 50px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-mlb {
        padding: 40px 0 0;
    }

    .footer-mlb .footer-col {
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .footer-mlb .quick-links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-mlb a {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Badge */
.badge-mlb {
    background: var(--mlb-red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Modal Login Styles */
.modal-mlb .modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-mlb .modal-header {
    background: linear-gradient(135deg, var(--mlb-blue) 0%, var(--mlb-light-blue) 100%);
    color: white;
    padding: 30px;
    border: none;
    position: relative;
    overflow: hidden;
}

.modal-mlb .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.modal-mlb .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.modal-mlb .modal-header .btn-close:hover {
    opacity: 1;
}

.modal-mlb .modal-title {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.modal-mlb .modal-body {
    padding: 40px;
}

.modal-mlb .form-label {
    font-weight: 600;
    color: var(--mlb-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.modal-mlb .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s;
    font-size: 1rem;
}

.modal-mlb .form-control:focus {
    border-color: var(--mlb-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 44, 84, 0.25);
}

.modal-mlb .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #e9ecef;
    margin-top: 0.3rem;
}

.modal-mlb .form-check-input:checked {
    background-color: var(--mlb-red);
    border-color: var(--mlb-red);
}

.modal-mlb .form-check-label {
    font-weight: 500;
    color: #555;
    margin-left: 8px;
}

.modal-mlb .error-message {
    background: #fee;
    border: 1px solid var(--mlb-red);
    color: var(--mlb-red);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-mlb .field-error {
    color: var(--mlb-red);
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 600;
}

.modal-mlb .modal-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.modal-mlb .modal-footer a {
    color: var(--mlb-blue);
    font-weight: 600;
    text-decoration: none;
}

.modal-mlb .modal-footer a:hover {
    color: var(--mlb-red);
    text-decoration: underline;
}

.login-icon-modal {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Schedule Section Styles */
.schedule-section-card {
    background: white;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0 !important;
}

.schedule-section-card .container-fluid {
    padding: 0;
}

.schedule-image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: white;
}

.schedule-background-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

@media (max-width: 992px) {
    .schedule-image-container {
        min-height: 400px;
    }

    .schedule-background-image {
        object-fit: cover;
        object-position: center center;
    }
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    display: flex;
    align-items: flex-end;
    z-index: 10;
}

.showcase-oval {
    position: relative;
    width: 280px;
    height: 120px;
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.showcase-text {
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .schedule-image-container {
        min-height: 300px;
    }

    .schedule-background-image {
        object-fit: cover;
        object-position: center center;
    }

    .showcase-oval {
        width: 220px;
        height: 100px;
    }

    .showcase-text {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .schedule-image-container {
        min-height: 250px;
    }
}

.schedule-logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--mlb-blue);
}

.schedule-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule-season {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--mlb-blue);
}

.schedule-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Arial Black', sans-serif;
    color: var(--mlb-blue);
}

.schedule-live {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--mlb-red);
}

.schedule-cta-btn {
    background: var(--mlb-blue);
    color: white;
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s;
    letter-spacing: 1px;
    border: 2px solid var(--mlb-blue);
    margin-top: 20px;
}

.schedule-cta-btn:hover {
    background: var(--mlb-red);
    color: white;
    border-color: var(--mlb-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.schedule-content {
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule-heading {
    color: var(--mlb-blue);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-align: center;
}

.schedule-subheading {
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-align: center;
}

.schedule-description {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.schedule-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.schedule-category-btn {
    border: 2px solid var(--mlb-blue);
    background: white;
    color: var(--mlb-blue);
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.schedule-category-btn:hover {
    background: var(--mlb-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 44, 84, 0.3);
}

/* Video Promo Section */
.video-promo-section {
    background: linear-gradient(135deg, #0a2e4a 0%, #1a4a6b 50%, #0d2c54 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.video-promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.video-promo-player-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-promo-player-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-promo-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

.video-promo-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Barra de progreso del video promocional */
.video-promo-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
    pointer-events: none;
}

.video-promo-progress-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d50032 0%, #ff4444 50%, #d50032 100%);
    background-size: 200% 100%;
    transition: width 0.1s linear;
    box-shadow: 0 0 20px rgba(213, 0, 50, 0.6);
    position: relative;
    animation: videoProgressBarGradient 3s linear infinite;
}

@keyframes videoProgressBarGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.video-promo-progress-bar:hover {
    height: 10px;
}

.video-promo-progress-bar:hover .video-promo-progress-bar-inner {
    box-shadow: 0 0 30px rgba(213, 0, 50, 0.8);
}

@media (max-width: 768px) {
    .video-promo-progress-bar {
        height: 6px;
    }
}

/* Floating Video Container */
.video-promo-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    height: 180px;
    z-index: 9999;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.video-promo-floating.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.video-promo-floating video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* When the main video is floating, override its absolute positioning */
.video-promo-floating .video-promo-video {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-promo-floating-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.video-promo-floating-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-promo-floating-close i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .video-promo-floating {
        width: 240px;
        height: 135px;
        bottom: 10px;
        right: 10px;
    }
}

.video-promo-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 15px 20px;
    z-index: 10;
    pointer-events: none;
}

.video-promo-overlay-actions {
    pointer-events: auto;
}

.video-promo-overlay-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-promo-logo-small {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-promo-logo-small img {
    height: 30px;
    width: auto;
    max-width: 200px;
}

.video-promo-overlay-actions {
    display: flex;
    gap: 10px;
}

.video-promo-action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.video-promo-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* BotÃ³n de mute flotante en la esquina inferior derecha del video */
.video-mute-fab {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 16px;
}

.video-mute-fab:hover {
    background: rgba(0,0,0,0.8);
    border-color: #fff;
    transform: scale(1.1);
}

.video-mute-fab.is-muted {
    animation: mutePulse 2.5s ease-in-out infinite;
}

@keyframes mutePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

.video-promo-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 15px 20px;
    z-index: 10;
}

.video-promo-youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.video-promo-youtube-link:hover {
    color: var(--mlb-red);
}

.video-promo-youtube-link i {
    font-size: 1.2rem;
    color: #FF0000;
}

.video-promo-content {
    padding: 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #0a2e4a 0%, #1a4a6b 50%, #0d2c54 100%);
    position: relative;
}

.video-promo-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 25px 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Reserve space to prevent layout shift when JS populates content */
    min-height: calc(1.7em * 4);
}

.video-promo-description p {
    margin-bottom: 10px;
}

.video-promo-description p:last-child {
    margin-bottom: 0;
}

.video-promo-description strong,
.video-promo-description b {
    font-weight: 600;
}

.video-promo-description em,
.video-promo-description i {
    font-style: italic;
}

.video-promo-description ul,
.video-promo-description ol {
    margin: 10px 0;
    padding-left: 20px;
}

.video-promo-description li {
    margin-bottom: 5px;
}


.video-promo-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.video-promo-logo i {
    font-size: 3rem;
    color: var(--mlb-red);
}

.video-promo-logo span {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-promo-title {
    margin-bottom: 20px;
    /* Reserve space so JS text swap doesn't cause layout shift */
    min-height: 4.5rem;
}

.video-promo-title-accent {
    display: block;
    color: var(--mlb-red);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
    margin-bottom: 5px;
    min-height: 1.3em;
}

.video-promo-title-main {
    display: block;
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-height: 2.6em;
}

.video-promo-options {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.video-promo-option-btn {
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.9) 0%, rgba(19, 36, 72, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.video-promo-option-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.video-promo-option-btn:hover::before {
    left: 100%;
}

.video-promo-option-btn:hover {
    background: linear-gradient(135deg, rgba(13, 44, 84, 1) 0%, rgba(19, 36, 72, 1) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.2);
}

.video-promo-option-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.video-promo-option-btn i {
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-promo-option-btn:hover i {
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.video-promo-option-btn span {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-promo-twitch {
    background: #9146ff;
    border-color: #9146ff;
    padding: 12px;
}

.video-promo-twitch:hover {
    background: #772ce8;
    border-color: #772ce8;
}

.video-promo-cta-btn {
    background: var(--mlb-red);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s;
    display: block;
}

.video-promo-cta-btn:hover {
    background: #c1121f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 18, 31, 0.4);
    color: white;
}

/* Sponsors Section */
.sponsors-section {
    padding: 80px 0;
    background: #0a1e3a;
    position: relative;
    overflow: hidden;
}

.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.8) 0%, rgba(10, 30, 58, 0.9) 100%);
    z-index: 0;
}

.sponsors-section .container {
    position: relative;
    z-index: 1;
}

.sponsors-title {
    color: white;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 2rem;
    position: relative;
}

.sponsors-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--mlb-red);
    border-radius: 2px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.sponsor-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px;
    width: 100%;
    max-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: all 0.4s ease;
    position: relative;
}

.sponsor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sponsor-card:hover::before {
    opacity: 1;
}

.sponsor-card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.sponsor-card:hover {
    transform: translateY(-8px);
}

.sponsor-card:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

@media (max-width: 1200px) {
    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .sponsors-section {
        padding: 60px 0;
    }
    .sponsors-title {
        font-size: 1.75rem;
        margin-bottom: 40px;
    }
    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px;
        padding: 15px;
    }
    .sponsor-card {
        max-width: 180px;
        min-height: 110px;
        padding: 15px;
    }
    .sponsor-card img {
        max-width: 160px;
        max-height: 110px;
    }
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 50px 0;
    }
    .sponsors-title {
        font-size: 1.5rem;
        margin-bottom: 35px;
    }
    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 25px;
        padding: 10px;
    }
    .sponsor-card {
        max-width: 150px;
        min-height: 100px;
        padding: 12px;
    }
    .sponsor-card img {
        max-width: 130px;
        max-height: 100px;
    }
}

@media (max-width: 576px) {
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .sponsor-card {
        max-width: 100%;
        min-height: 90px;
        padding: 10px;
    }
    .sponsor-card img {
        max-width: 100%;
        max-height: 90px;
    }
}

@media (max-width: 992px) {
    .video-promo-content {
        padding: 40px 30px;
    }

    .video-promo-title-accent {
        font-size: 1.3rem;
    }

    .video-promo-title-main {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .video-promo-player-container {
        padding-top: 75%; /* Taller aspect ratio on mobile */
    }

    .video-promo-content {
        padding: 30px 20px;
    }

    .video-promo-title-accent {
        font-size: 1.1rem;
    }

    .video-promo-title-main {
        font-size: 1.3rem;
    }

    .video-promo-options {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .video-promo-option-btn {
        flex: 0 1 auto;
        min-width: 120px;
        justify-content: center;
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 0.8rem;
    }

    .video-promo-option-btn i {
        font-size: 1rem;
    }
}


/* Events News Style Section */
.events-news-section {
    background: var(--mlb-blue);
    padding: 60px 40px;
    margin: 0;
}

.events-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.events-news-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

.events-view-all-btn {
    background: var(--mlb-red);
    color: white;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.events-view-all-btn:hover {
    background: #b30029;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 0, 50, 0.4);
    color: white;
}

.events-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .events-news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .events-news-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}


.event-news-card {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.event-news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.event-news-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.9) 0%, rgba(19, 36, 72, 0.9) 100%);
}

.event-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-news-card:hover .event-news-image img {
    transform: scale(1.1);
}

.event-news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.8) 0%, rgba(19, 36, 72, 0.8) 100%);
}

.event-news-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.event-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 50%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-start;
    padding: 15px;
}

/* CTA button inside overlay (Event 1) */
.event-news-cta {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
    white-space: nowrap;
}
.event-news-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--mlb-red);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .45rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(213,0,50,.55);
}
.event-news-card--featured {
    box-shadow: 0 0 0 2px #C9921A, 0 8px 24px rgba(201,146,26,.25);
}
.event-news-card--featured:hover .event-news-cta {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.event-news-date {
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
}

.event-news-content {
    background: rgba(13, 44, 84, 0.95);
    padding: 24px 20px;
    min-height: 100px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.event-news-card:hover .event-news-content {
    background: rgba(13, 44, 84, 1);
}

.event-news-content-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-news-title-card {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-news-meta {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
}

.event-news-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
}

.event-news-meta-item i {
    color: var(--mlb-red);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.event-news-meta-item span {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-slide-item {
        min-height: 400px !important;
    }

    .hero-slide-item i.fas {
        font-size: 8rem !important;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }

    .modal-mlb .modal-body {
        padding: 30px 20px;
    }

    .schedule-section-card .row {
        flex-direction: column;
    }

    .schedule-image-container {
        min-height: 400px;
    }

    .schedule-content {
        padding: 30px 20px;
    }

    .schedule-heading {
        font-size: 1.5rem;
    }

    .schedule-number {
        font-size: 3.5rem;
    }

    .schedule-live {
        font-size: 1.5rem;
    }

    .schedule-buttons {
        flex-direction: column;
    }

    .schedule-category-btn {
        width: 100%;
        text-align: center;
    }

    .events-news-section {
        padding: 40px 20px;
    }

    .events-news-title {
        font-size: 2rem;
    }

    .events-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .event-news-image {
        height: 200px;
    }

    .event-news-content {
        padding: 18px 16px;
        min-height: 90px;
    }

    .event-news-title-card {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .event-news-meta-item {
        font-size: 0.8rem;
        gap: 6px;
    }

    .event-news-meta-item i {
        font-size: 0.75rem;
        width: 14px;
    }

    @media (max-width: 576px) {
        .events-news-grid {
            grid-template-columns: 1fr;
        }

        .events-news-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 20px;
        }

        .events-view-all-btn {
            width: 100%;
            text-align: center;
        }
    }
}

/* ── Home page additional styles ── */

    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

    /* â”€â”€ Entrada del diÃ¡logo: escala + slide-up â”€â”€ */
    #mexicoEventModal .modal-dialog {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
        transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1),
                    opacity   0.35s ease;
    }
    #mexicoEventModal.show .modal-dialog {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    #mexicoEventModal .modal-content {
        font-family: 'Inter', -apple-system, sans-serif;
        border: none;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 32px 80px rgba(0,0,0,0.55);
    }

    /* Franja tricolor superior */
    #mexicoEventModal .mep-tricolor {
        height: 4px;
        background: linear-gradient(90deg, #006847 33.3%, #fff 33.3%, #fff 66.6%, #CE1126 66.6%);
        flex-shrink: 0;
        /* Tricolor sweep animation */
        background-size: 200% 100%;
        animation: mep-tricolor-sweep 3s ease-in-out infinite alternate;
    }
    @keyframes mep-tricolor-sweep {
        0%   { background-position: 0% 50%; }
        100% { background-position: 100% 50%; }
    }

    /* Banner: imagen pura, sin texto encima */
    #mexicoEventModal .mep-banner {
        position: relative;
        width: 100%;
        overflow: hidden;
        max-height: 220px;
        background: #071a0e;
    }

    #mexicoEventModal .mep-banner-img {
        display: block;
        width: 100%;
        height: 220px;
        object-fit: cover;
        object-position: center 30%;
        transform-origin: center center;
        transition: transform 6s ease-out;
    }

    /* Ken Burns al mostrar */
    #mexicoEventModal.show .mep-banner-img {
        transform: scale(1.08);
    }

    /* BotÃ³n cerrar flotando sobre el banner */
    #mexicoEventModal .mep-banner .mep-close {
        position: absolute;
        top: 12px; right: 14px;
        z-index: 10;
    }

    /* Degradado sutil en el borde inferior del banner para fusionarlo con el texto */
    #mexicoEventModal .mep-banner::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 56px;
        background: linear-gradient(to bottom, transparent, #071a0e);
        pointer-events: none;
    }

    /* Canvas de partÃ­culas encima del banner */
    #mecParticleCanvas {
        position: absolute;
        inset: 0;
        width: 100%; height: 100%;
        pointer-events: none;
        z-index: 2;
    }

    /* Cabecera de texto â€” oscura, debajo del banner */
    #mexicoEventModal .mep-header {
        background: #071a0e;
        position: relative;
        padding: 18px 32px 22px;
        text-align: center;
        overflow: hidden;
    }

    /* Shimmer animado en el tÃ­tulo */
    #mexicoEventModal .mep-title {
        background: linear-gradient(
            90deg,
            #fff 0%,
            #fff 35%,
            #C9921A 50%,
            #fff 65%,
            #fff 100%
        );
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: mep-title-shimmer 4s linear infinite;
        text-shadow: none;
    }
    @keyframes mep-title-shimmer {
        0%   { background-position: 200% center; }
        100% { background-position: -200% center; }
    }

    /* Sombra de texto para legibilidad sobre la imagen */
    #mexicoEventModal .mep-location {
        text-shadow: 0 1px 6px rgba(0,0,0,0.6);
    }
    #mexicoEventModal .mep-pill {
        text-shadow: none;
    }

    #mexicoEventModal .mep-close {
        background: rgba(0,0,0,0.45);
        border: 1px solid rgba(255,255,255,0.20);
        backdrop-filter: blur(6px);
        color: rgba(255,255,255,0.85);
        border-radius: 50%;
        width: 34px; height: 34px;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.85rem;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }
    #mexicoEventModal .mep-close:hover {
        background: rgba(0,0,0,0.70);
        color: #fff;
    }

    #mexicoEventModal .mep-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        backdrop-filter: blur(8px);
        border-radius: 999px;
        padding: 6px 16px;
        font-size: 0.75rem;
        font-weight: 700;
        color: rgba(255,255,255,0.85);
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 16px;
    }

    #mexicoEventModal .mep-pill-dot {
        width: 7px; height: 7px;
        border-radius: 50%;
        background: #C9921A;
        flex-shrink: 0;
        animation: mep-pulse 1.8s ease-in-out infinite;
    }

    @keyframes mep-pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50%       { opacity: 0.5; transform: scale(0.75); }
    }

    #mexicoEventModal .mep-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        font-weight: 900;
        line-height: 1.1;
        letter-spacing: -0.5px;
        color: #fff;
        margin-bottom: 10px;
    }

    #mexicoEventModal .mep-location {
        font-size: 0.88rem;
        color: rgba(255,255,255,0.55);
        font-weight: 500;
    }

    #mexicoEventModal .mep-location i {
        color: #C9921A;
        margin-right: 5px;
    }

    /* Banda de cuenta regresiva â€” idÃ©ntica a la landing */
    #mexicoEventModal .mep-countdown {
        background: #071a0e;
        border-top: 2px solid #C9921A;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0 24px;
        padding: 16px 24px;
    }

    #mexicoEventModal .mep-cd-label {
        font-size: 0.68rem;
        font-weight: 700;
        color: rgba(255,255,255,0.45);
        letter-spacing: 2px;
        text-transform: uppercase;
        flex-shrink: 0;
    }

    #mexicoEventModal .mep-cd-boxes {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    #mexicoEventModal .mep-cd-box {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(201,146,26,0.30);
        border-radius: 10px;
        width: 66px;
        padding: 9px 6px;
        text-align: center;
    }

    #mexicoEventModal .mep-cd-num {
        font-size: 1.8rem;
        font-weight: 800;
        color: #fff;
        line-height: 1;
        margin-bottom: 4px;
    }

    #mexicoEventModal .mep-cd-lbl {
        font-size: 0.58rem;
        color: rgba(255,255,255,0.38);
        letter-spacing: 1.5px;
        text-transform: uppercase;
        font-weight: 600;
    }

    #mexicoEventModal .mep-cd-sep {
        font-size: 1.4rem;
        color: #C9921A;
        font-weight: 700;
        line-height: 1;
        margin-bottom: 14px;
    }

    /* Cuerpo inferior */
    #mexicoEventModal .mep-body {
        background: #0e2416;
        padding: 24px 32px 28px;
        text-align: center;
    }

    #mexicoEventModal .mep-desc {
        font-size: 0.93rem;
        color: rgba(255,255,255,0.55);
        line-height: 1.7;
        max-width: 400px;
        margin: 0 auto 22px;
    }

    #mexicoEventModal .mep-desc strong {
        color: rgba(255,255,255,0.85);
        font-weight: 700;
    }

    #mexicoEventModal .mep-actions {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

    /* BotÃ³n primario â€” blanco sÃ³lido (igual hero-btn-primary de la landing) */
    #mexicoEventModal .mep-btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.9rem;
        padding: 12px 28px;
        border-radius: 999px;
        border: 2px solid #fff;
        background: #fff;
        color: #071a0e;
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(0,0,0,0.35);
        transition: all 0.22s ease;
        cursor: pointer;
    }
    #mexicoEventModal .mep-btn-primary:hover {
        background: #C9921A;
        border-color: #C9921A;
        color: #fff;
        box-shadow: 0 8px 28px rgba(201,146,26,0.45);
        transform: translateY(-2px);
        text-decoration: none;
        animation: none;
    }

    /* Glow pulsante en el botÃ³n CTA */
    @keyframes mep-btn-glow {
        0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 0 rgba(255,255,255,0.25); }
        50%       { box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 8px rgba(255,255,255,0); }
    }
    #mexicoEventModal .mep-btn-primary {
        animation: mep-btn-glow 2.5s ease-in-out infinite;
    }

    /* Stagger de entrada para los cd-box */
    #mexicoEventModal .mep-cd-box {
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    #mexicoEventModal.show .mep-cd-box:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0.35s; }
    #mexicoEventModal.show .mep-cd-box:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.45s; }
    #mexicoEventModal.show .mep-cd-box:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.55s; }
    #mexicoEventModal.show .mep-cd-box:nth-child(7) { opacity:1; transform:translateY(0); transition-delay: 0.65s; }

    /* BotÃ³n outline â€” borde semitransparente (hero-btn-outline) */
    #mexicoEventModal .mep-btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 0.9rem;
        padding: 12px 24px;
        border-radius: 999px;
        border: 2px solid rgba(255,255,255,0.35);
        background: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.75);
        text-decoration: none;
        backdrop-filter: blur(6px);
        transition: all 0.22s ease;
        cursor: pointer;
    }
    #mexicoEventModal .mep-btn-outline:hover {
        background: rgba(255,255,255,0.18);
        border-color: rgba(255,255,255,0.7);
        color: #fff;
    }

    #mexicoEventModal .mep-no-show {
        font-size: 0.75rem;
        color: rgba(255,255,255,0.3);
        cursor: pointer;
        user-select: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    #mexicoEventModal .mep-no-show input { cursor: pointer; accent-color: #C9921A; }

    /* â”€â”€ Barra de cierre automÃ¡tico â”€â”€ */
    #mexicoEventModal .mep-autoclose-track {
        background: #050f08;
        padding: 0 0 2px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 8px 20px 10px;
        border-top: 1px solid rgba(201,146,26,0.15);
    }

    #mexicoEventModal .mep-autoclose-bar {
        width: 100%;
        height: 3px;
        border-radius: 999px;
        background: rgba(255,255,255,0.07);
        overflow: hidden;
        position: relative;
    }

    #mexicoEventModal .mep-autoclose-bar::after {
        content: '';
        display: block;
        height: 100%;
        width: var(--mep-progress, 100%);
        border-radius: 999px;
        background: linear-gradient(90deg, #006847, #C9921A, #CE1126);
        background-size: 200% 100%;
        transition: width 1s linear;
        animation: mep-bar-shimmer 2s linear infinite;
    }

    @keyframes mep-bar-shimmer {
        0%   { background-position: 0% 50%; }
        100% { background-position: 200% 50%; }
    }

    #mexicoEventModal .mep-autoclose-label {
        font-size: 0.7rem;
        color: rgba(255,255,255,0.28);
        letter-spacing: 0.5px;
    }

    #mexicoEventModal .mep-autoclose-label strong {
        color: rgba(255,255,255,0.5);
        font-weight: 700;
    }

    /* La barra se pausa cuando el mouse estÃ¡ sobre el modal */
    #mexicoEventModal .modal-content:hover .mep-autoclose-bar::after {
        animation-play-state: paused;
    }

    @media (max-width: 480px) {
        #mexicoEventModal .mep-banner-img { height: 170px; }
        #mexicoEventModal .mep-header { padding: 14px 18px 18px; }
        #mexicoEventModal .mep-body   { padding: 18px 20px 22px; }
        #mexicoEventModal .mep-cd-box { width: 56px; }
        #mexicoEventModal .mep-cd-num { font-size: 1.5rem; }
        #mexicoEventModal .mep-countdown { gap: 0 12px; }
    }

