/* ============================================================
   INDEX-STYLES.CSS — MediaStream TV Landing
   Cinematic European broadcast aesthetic — Light & Dark
   ============================================================ */

/* ── Custom Properties (page-specific) ───────────────────── */
:root {
    --hero-height: 82vh;
    --section-py: clamp(48px, 6vw, 72px);
    --section-py-sm: clamp(36px, 5vw, 56px);
    --content-max: 1180px;
    --ticker-speed: 28s;
    --ticker-speed-mobile: 14s;
    --live-pulse: #e53e3e;
    --cin-accent: linear-gradient(135deg, #762BDE, #2669F5);

    /* Light mode — premium clean TV */
    --cin-bg: #f4f6fb;
    --cin-surface: rgba(255, 255, 255, 0.92);
    --cin-surface-hover: rgba(255, 255, 255, 0.98);
    --cin-border: rgba(17, 33, 77, 0.08);
    --cin-border-hover: rgba(118, 43, 222, 0.3);
    --cin-text: #111b2b;
    --cin-text-secondary: #4a5568;
    --cin-text-muted: #8896a8;
    --cin-glow: rgba(118, 43, 222, 0.08);
    --cin-card-shadow: 0 8px 28px rgba(17, 36, 88, 0.08);
    --cin-card-shadow-hover: 0 14px 40px rgba(17, 36, 88, 0.14);
    --cin-icon-color: #5B3FC4;
    --cin-icon-bg: linear-gradient(135deg, rgba(118, 43, 222, 0.12), rgba(38, 105, 245, 0.12));
    --cin-btn-bg: rgba(17, 33, 77, 0.04);
    --cin-btn-hover-bg: rgba(118, 43, 222, 0.08);
    --cin-ticker-bg: linear-gradient(90deg, #eaecf4 0%, #e2e6f2 100%);
    --cin-carousel-bg: linear-gradient(135deg, #f0f3ff 0%, #e8edff 100%);
    --cin-mstplay-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.92));
    --cin-mstplay-heading: linear-gradient(90deg, #303037, #303037);
    --cin-cta-bg: rgba(255, 255, 255, 0.95);
    --cin-cta-color: #1a1f3d;
    --cin-cta-border: rgba(118, 43, 222, 0.15);
    --cin-cta-text-gradient: linear-gradient(90deg, #762BDE, #3B76C3 28%, #00C1A7 62%, #2669F5);
    --cin-dot-inactive: rgba(67, 58, 174, 0.18);
    --cin-icon-img-filter: none;
    --cin-icon-img-hover-filter: none;
    --cin-ticker-text: #2d3748;
    --cin-ticker-border: rgba(17, 33, 77, 0.08);
}

/* Dark mode overrides */
body.dark-mode {
    --cin-bg: #0a0e1c;
    --cin-surface: rgba(18, 22, 38, 0.85);
    --cin-surface-hover: rgba(26, 32, 54, 0.92);
    --cin-border: rgba(255, 255, 255, 0.07);
    --cin-border-hover: rgba(118, 43, 222, 0.35);
    --cin-text: #e8ecf4;
    --cin-text-secondary: rgba(200, 210, 230, 0.7);
    --cin-text-muted: rgba(160, 174, 200, 0.5);
    --cin-glow: rgba(118, 43, 222, 0.12);
    --cin-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    --cin-card-shadow-hover: 0 14px 36px rgba(118, 43, 222, 0.12);
    --cin-icon-color: #a78bfa;
    --cin-icon-bg: linear-gradient(135deg, rgba(118, 43, 222, 0.2), rgba(38, 105, 245, 0.2));
    --cin-btn-bg: rgba(255, 255, 255, 0.06);
    --cin-btn-hover-bg: rgba(118, 43, 222, 0.12);
    --cin-ticker-bg: linear-gradient(90deg, #080a14 0%, #0e1120 100%);
    --cin-carousel-bg: linear-gradient(135deg, #0f1225 0%, #141832 100%);
    --cin-mstplay-bg: linear-gradient(135deg, rgba(18, 22, 40, 0.9), rgba(14, 18, 35, 0.95));
    --cin-mstplay-heading: linear-gradient(90deg, #a78bfa, #818cf8, #67e8f9);
    --cin-cta-bg: linear-gradient(135deg, rgba(118, 43, 222, 0.15), rgba(38, 105, 245, 0.15));
    --cin-cta-color: #fff;
    --cin-cta-border: rgba(118, 43, 222, 0.3);
    --cin-cta-text-gradient: linear-gradient(90deg, #a78bfa, #818cf8, #67e8f9);
    --cin-dot-inactive: rgba(255, 255, 255, 0.15);
    --cin-icon-img-filter: brightness(0.8);
    --cin-icon-img-hover-filter: brightness(1.2);
    --cin-ticker-text: rgba(255, 255, 255, 0.75);
    --cin-ticker-border: rgba(118, 43, 222, 0.2);
}

/* ── Base overrides ──────────────────────────────────────── */
body {
    font-family: "ViataRegular", "Inter", system-ui, sans-serif;
    background: var(--cin-bg);
    color: var(--cin-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ───────────────────────────────────────────────────────────
   HERO — Cinematic fullscreen with video
   ─────────────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: var(--hero-height);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    isolation: isolate;
}

.video-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.72) contrast(1.08) saturate(1.15);
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.35) 0%,
            transparent 45%);
    pointer-events: none;
    z-index: 1;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.22;
    pointer-events: none;
}

.hero-section::before {
    top: -150px;
    left: -100px;
    background: #762BDE;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.hero-section::after {
    bottom: -150px;
    right: -100px;
    background: #2669F5;
    animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(40px, 60px) scale(1.15);
    }
}

/* Content positioned bottom-left like a TV channel */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: clamp(1.2rem, 3.5vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    text-align: center;
    animation: heroFadeIn 1s cubic-bezier(.25, .9, .45, 1) both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Live badge */
.hero-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(229, 62, 62, 0.18);
    border: 1px solid rgba(229, 62, 62, 0.4);
    backdrop-filter: blur(12px);
    font-family: "ViataBold", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    animation: slideUp 0.8s ease 0.2s both;
}

.hero-live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--live-pulse);
    animation: livePulse 1.8s ease-in-out infinite;
    box-shadow: 0 0 8px var(--live-pulse);
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.hero-title {
    font-family: "ViataExtraBold", sans-serif;
    font-size: clamp(2.4rem, 6.5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
    max-width: 680px;
    animation: slideUp 0.9s ease 0.3s both;
}

.hero-description {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    max-width: 500px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    animation: slideUp 0.9s ease 0.45s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.9s ease 0.6s both;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    font-family: "ViataBold", sans-serif;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.btn-discord {
    background: url('./imagenes/discord_gradient.png') 0% 50% / 150% auto no-repeat;
    color: #fff;
    box-shadow: 0 16px 32px rgba(63, 118, 207, 0.3);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-position 0.5s ease;
}

.btn-discord:hover {
    background-position: 100% 50%;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 22px 44px rgba(67, 58, 174, 0.35);
}

.btn-youtube {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.btn-youtube:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px) scale(1.03);
}

/* Hero FAB buttons (mute, expand) */
.volume-toggle,
.expand-toggle {
    position: absolute;
    bottom: clamp(1rem, 3vw, 1.6rem);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.22s ease;
    backdrop-filter: blur(16px);
}

.volume-toggle {
    right: clamp(4.2rem, 6vw, 4.8rem);
}

.expand-toggle {
    right: clamp(1rem, 3vw, 1.6rem);
}

.volume-toggle:hover,
.expand-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.06);
}

/* ───────────────────────────────────────────────────────────
   NEWS TICKER — Breaking news bar
   ─────────────────────────────────────────────────────────── */
.news-ticker {
    width: 100%;
    background: var(--cin-ticker-bg);
    border-bottom: 1px solid var(--cin-ticker-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 42px;
}

.news-ticker-label {
    flex-shrink: 0;
    padding: 0 1.2rem;
    font-family: "ViataBold", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: var(--cin-accent);
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.news-ticker-label::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 0;
    border-style: solid;
    border-width: 21px 0 21px 12px;
    border-color: transparent transparent transparent #2669F5;
}

.news-ticker-track {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}

.news-ticker-scroll {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll var(--ticker-speed) linear infinite;
    padding-left: 1rem;
}

.news-ticker-scroll span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2.5rem;
    font-size: 0.85rem;
    color: var(--cin-ticker-text);
    font-family: "ViataRegular", sans-serif;
}

.news-ticker-scroll span::before {
    content: "•";
    color: #762BDE;
    font-size: 1.2em;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ───────────────────────────────────────────────────────────
   PILLARS — Dark glass strip below hero
   ─────────────────────────────────────────────────────────── */
.pillars-section {
    width: 100%;
    padding: var(--section-py-sm) 1.5rem;
    position: relative;
    z-index: 5;
}

.pillars-shell {
    width: min(var(--content-max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 20px);
}

.pillar-card {
    background: var(--cin-surface);
    border: 1px solid var(--cin-border);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 28px);
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(12px);
    box-shadow: var(--cin-card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cin-card-shadow-hover);
    border-color: var(--cin-border-hover);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--cin-icon-bg);
    color: var(--cin-icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    box-shadow: 0 4px 14px rgba(118, 43, 222, 0.12);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar-card h3 {
    font-family: "ViataBold", sans-serif;
    font-size: 1rem;
    margin: 0 0 2px;
    color: var(--cin-text);
}

.pillar-card p {
    font-size: 0.88rem;
    color: var(--cin-text-secondary);
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 768px) {
    .pillars-shell {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pillar-card {
        padding: 18px 20px;
    }
}

/* ───────────────────────────────────────────────────────────
   SECTION HEADERS — Unified style
   ─────────────────────────────────────────────────────────── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    font-family: "ViataBold", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: rgba(118, 43, 222, 0.1);
    border: 1px solid rgba(118, 43, 222, 0.18);
    color: var(--cin-icon-color);
}

/* ───────────────────────────────────────────────────────────
   FEATURED CAROUSEL — Cinematic dark slider
   ─────────────────────────────────────────────────────────── */
.banner-wrapper {
    width: 100%;
    padding: var(--section-py) 1.5rem;
}

.banner-section-header {
    width: min(var(--content-max), 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-section-header h2 {
    font-family: "ViataExtraBold", sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: var(--cin-text);
    letter-spacing: -0.02em;
}

.banner-carousel {
    width: min(var(--content-max), 100%);
    margin: 0 auto;
    position: relative;
}

.banner-track {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--cin-border);
    box-shadow: var(--cin-card-shadow);
    background: var(--cin-surface);
}

.banner-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: stretch;
    background: var(--cin-carousel-bg);
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.banner-copy {
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    background: var(--cin-carousel-bg);
}

.banner-copy h3 {
    font-family: "ViataExtraBold", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--cin-text);
    letter-spacing: -0.02em;
}

.banner-copy p {
    font-size: 1rem;
    color: var(--cin-text-secondary);
    line-height: 1.6;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(.6, .01, .18, 1);
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.carousel-control {
    border: none;
    background: var(--cin-btn-bg);
    color: var(--cin-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid var(--cin-border);
}

.carousel-control:hover {
    background: var(--cin-btn-hover-bg);
    transform: translateY(-2px);
    border-color: var(--cin-border-hover);
}

.carousel-control.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--cin-dot-inactive);
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-dot.active {
    transform: scale(1.3);
    background: var(--cin-accent);
    box-shadow: 0 0 12px rgba(118, 43, 222, 0.5);
}

/* ───────────────────────────────────────────────────────────
   NEWS SECTION — Dark glass cards
   ─────────────────────────────────────────────────────────── */
.news-section {
    width: 100%;
    padding: var(--section-py) 1.5rem;
}

.news-shell {
    width: min(var(--content-max), 100%);
    margin: 0 auto;
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.news-header h2 {
    font-family: "ViataExtraBold", sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin: 0;
    color: var(--cin-text);
}

.news-viewall {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--cin-border);
    background: var(--cin-btn-bg);
    box-shadow: var(--cin-card-shadow);
    font-family: "ViataBold", sans-serif;
    font-size: 0.9rem;
    color: var(--cin-text);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.news-viewall:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(118, 43, 222, 0.15);
    border-color: var(--cin-border-hover);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.news-card {
    background: var(--cin-surface);
    border: 1px solid var(--cin-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--cin-card-shadow);
    padding: clamp(1rem, 2.5vw, 1.4rem);
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: .7rem;
    height: 100%;
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cin-card-shadow-hover);
    border-color: var(--cin-border-hover);
}

.news-meta {
    display: inline-flex;
    gap: 1rem;
    align-items: center;
    color: var(--cin-text-muted);
    font-size: .88rem;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    line-height: 1;
}

.news-meta .meta-num {
    position: relative;
    top: 2px;
}

.news-title {
    font-family: "ViataExtraBold", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.22;
    color: var(--cin-text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-author {
    color: var(--cin-text-secondary);
    font-size: 0.9rem;
}

.news-excerpt {
    color: var(--cin-text-secondary);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.1rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--cin-border);
    background: var(--cin-btn-bg);
    font-family: "ViataBold", sans-serif;
    font-size: 0.88rem;
    width: fit-content;
    color: var(--cin-text);
    transition: transform .2s, background .2s, border-color .2s;
}

.news-readmore:hover {
    transform: translateY(-2px);
    background: var(--cin-btn-hover-bg);
    border-color: var(--cin-border-hover);
}

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

@media (max-width: 720px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: .6rem;
    }

    .news-grid {
        display: block;
        overflow: hidden;
        position: relative;
        touch-action: pan-y;
    }

    .news-track {
        display: flex;
        flex-wrap: nowrap;
        transition: transform .55s cubic-bezier(.6, .01, .18, 1);
        will-change: transform;
    }

    .news-card {
        min-width: calc(100% - 1rem);
        margin: 0 .5rem;
    }
}

/* ───────────────────────────────────────────────────────────
   MSTPLAY BANNER — Cinematic glass card
   ─────────────────────────────────────────────────────────── */
.mstplay-banner {
    width: 100%;
    padding: var(--section-py) 1.5rem;
}

.mstplay-glass {
    position: relative;
    width: min(var(--content-max), 100%);
    margin: 0 auto;
    padding: clamp(2.4rem, 5vw, 3.2rem);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    background: var(--cin-mstplay-bg);
    border: 1px solid var(--cin-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--cin-card-shadow);
    backdrop-filter: blur(20px) saturate(160%);
    overflow: hidden;
}

/* Subtle glow effect */
.mstplay-glass::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 43, 222, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.mstplay-info {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
    z-index: 1;
}

.mstplay-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: "ViataBold", sans-serif;
    color: var(--cin-text-muted);
}

.mstplay-heading {
    font-size: clamp(2rem, 4vw, 2.8rem);
    display: inline-flex;
    gap: 0.15rem;
    background: var(--cin-mstplay-heading);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mstplay-word {
    text-transform: lowercase;
    line-height: 1;
}

.mstplay-word--mst {
    font-family: "ViataExtraBold", sans-serif;
}

.mstplay-word--play {
    font-family: "ViataBold", sans-serif;
}

.mstplay-info p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--cin-text-secondary);
}

.mstplay-highlights {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    padding: 0;
    margin: 0;
}

.mstplay-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--cin-text-secondary);
    font-size: 0.95rem;
}

.mstplay-highlights li::before {
    content: "";
    flex: 0 0 0.8rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: var(--cin-accent);
    box-shadow: 0 4px 10px rgba(118, 43, 222, 0.35);
}

.mstplay-cta-new {
    display: inline-flex;
    align-self: center;
    justify-self: center;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    background: var(--cin-cta-bg);
    color: var(--cin-cta-color);
    font-family: "ViataExtraBold", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(118, 43, 222, 0.14);
    transition: all 0.3s ease;
    border: 1px solid var(--cin-cta-border);
    position: relative;
    z-index: 1;
}

.mstplay-cta-new:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(118, 43, 222, 0.35);
    background: linear-gradient(135deg, rgba(118, 43, 222, 0.25), rgba(38, 105, 245, 0.25));
    border-color: rgba(118, 43, 222, 0.5);
}

.mstplay-cta-new span,
.mstplay-cta-new i {
    background: var(--cin-cta-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mstplay-cta {
    display: none;
}

.text-gradient-mst {
    background-image: var(--cin-cta-text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: lowercase;
    font-size: 1.3em;
    line-height: 0.9;
}

.text-gradient-mst .mst {
    font-family: "ViataExtraBold", sans-serif;
}

.text-gradient-mst .play {
    font-family: "ViataBold", sans-serif;
}

@media (max-width: 820px) {
    .mstplay-glass {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: clamp(1.5rem, 4vw, 2.2rem);
    }

    .mstplay-highlights li::before {
        display: none;
    }

    .mstplay-cta-new {
        width: 100%;
        justify-content: center;
        justify-self: stretch;
    }

    .mstplay-label {
        text-align: center;
    }

    .mstplay-highlights {
        text-align: left;
        justify-content: center;
    }
}

/* ───────────────────────────────────────────────────────────
   QUOTES / FRASES — Dark glass card
   ─────────────────────────────────────────────────────────── */
.frase-section {
    width: 100%;
    padding: var(--section-py-sm) 1.5rem var(--section-py);
}

.frase-shell {
    width: min(var(--content-max), 100%);
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 2.8rem);
    background: var(--cin-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--cin-border);
    box-shadow: var(--cin-card-shadow);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    backdrop-filter: blur(12px);
}

.frase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.frase-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-family: "ViataBold", sans-serif;
    color: var(--cin-text-muted);
    margin-bottom: 0.4rem;
}

.frase-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    margin: 0;
    color: var(--cin-text);
}

.frase-controls {
    display: inline-flex;
    gap: 0.6rem;
}

.frase-btn {
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--cin-btn-bg);
    color: var(--cin-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid var(--cin-border);
}

.frase-btn:hover {
    background: var(--cin-btn-hover-bg);
    transform: translateY(-2px);
    border-color: var(--cin-border-hover);
}

.frase-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.frase-slider {
    position: relative;
    min-height: 120px;
}

.frase {
    position: absolute;
    inset: 0;
    padding: 0 0.5rem;
    font-family: "ViataBold", sans-serif;
    font-size: clamp(1.1rem, 2.8vw, 1.8rem);
    line-height: 1.4;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    color: var(--cin-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.frase.activa {
    opacity: 1;
    transform: translateY(0);
    color: var(--cin-text);
}

.frase-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.frase-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cin-dot-inactive);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.frase-dot.active {
    transform: scale(1.35);
    background: var(--cin-accent);
    box-shadow: 0 0 10px rgba(118, 43, 222, 0.45);
}

/* ───────────────────────────────────────────────────────────
   SOCIAL ICONS — Dark minimal bar
   ─────────────────────────────────────────────────────────── */
.rrss-icons-section {
    width: 100%;
    padding: var(--section-py-sm) 1.5rem;
}

.rrss-icons-shell {
    width: min(900px, 100%);
    margin: 0 auto;
    text-align: center;
}

.rrss-icons-shell h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 1.6rem;
    font-family: "ViataBold", sans-serif;
    color: var(--cin-text);
}

.rrss-icons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem;
    row-gap: 1.2rem;
}

.rrss-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
    border-radius: 50%;
    background: var(--cin-surface);
    border: 1.5px solid var(--cin-border);
    box-shadow: var(--cin-card-shadow);
    color: var(--cin-text-secondary);
    transition: transform .18s, box-shadow .2s, color .18s, background .18s, border-color .2s;
    overflow: hidden;
}

.rrss-icon:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(118, 43, 222, 0.18);
    border-color: var(--cin-border-hover);
    color: var(--cin-icon-color);
    background: var(--cin-btn-hover-bg);
}

.rrss-icon.twitch:hover {
    border-color: #9146FF;
    background: rgba(145, 70, 255, 0.15);
}

.rrss-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
    transition: filter .2s, transform .2s;
    filter: var(--cin-icon-img-filter);
}

.rrss-icon:hover img {
    filter: var(--cin-icon-img-hover-filter);
    transform: scale(1.08);
}

@media (max-width: 900px) {
    .rrss-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .rrss-icons-row {
        gap: 1rem;
    }
}

/* ───────────────────────────────────────────────────────────
   VIDEO MODAL
   ─────────────────────────────────────────────────────────── */
.video-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-modal.open {
    display: flex;
}

.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 18, 0.88);
    backdrop-filter: blur(10px);
}

.video-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 1200px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    background: #000;
    border: 1px solid var(--cin-border);
}

.video-modal video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 86vh;
    object-fit: contain;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: background 0.2s, border-color 0.2s;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ───────────────────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
    .hero-section {
        min-height: 440px;
        height: 75vh;
    }

    .hero-content {
        padding: 1.8rem;
        gap: 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .banner-slide {
        grid-template-columns: 1fr;
    }

    .banner-slide img {
        height: clamp(200px, 45vw, 260px);
    }

    .banner-copy {
        text-align: center;
        padding: 1.8rem;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding: 1.4rem;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .hero-buttons a {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.4rem;
        font-size: 0.92rem;
    }

    .volume-toggle,
    .expand-toggle {
        width: 38px;
        height: 38px;
    }

    .volume-toggle {
        right: 3.8rem;
        bottom: 0.8rem;
    }

    .expand-toggle {
        right: 1rem;
        bottom: 0.8rem;
    }

    .news-ticker {
        height: 36px;
    }

    .news-ticker-label {
        font-size: 0.68rem;
        padding: 0 0.8rem;
    }

    .news-ticker-scroll {
        animation-duration: var(--ticker-speed-mobile);
    }

    .carousel-control {
        display: none;
    }

    .frase-section {
        padding: var(--section-py-sm) 1rem;
    }
}

@media (max-width: 820px) and (orientation: landscape) {
    .hero-section {
        height: 85vh;
        min-height: 320px;
    }

    .news-grid {
        display: block;
        overflow: hidden;
        touch-action: pan-y;
    }

    .news-track {
        display: flex;
        flex-wrap: nowrap;
        transition: transform .55s cubic-bezier(.6, .01, .18, 1);
    }

    .news-card {
        min-width: calc(100% - 1rem);
        margin: 0 .5rem;
    }
}

