/* ============================================
   RADIO ACTIVA 92.5 FM — Stylesheet
   Fiel al diseño original
   ============================================ */

:root {
    --navy:       #03083a;
    --navy-mid:   #040c50;
    --navy-lt:    #0a1870;
    --blue:       #0050d8;
    --blue-lt:    #1a7aff;
    --cyan:       #00c8ff;
    --yellow:     #ffd700;
    --yellow-lt:  #ffe74a;
    --red:        #e60000;
    --white:      #ffffff;
    --text-muted: #a0b4d6;
    --radius:     10px;
    --font-head:  'Barlow Condensed', sans-serif;
    --font-body:  'Barlow', sans-serif;
    --font-big:   'Bebas Neue', cursive;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

.container {
    width: min(1200px, 94%);
    margin-inline: auto;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    background: rgba(4, 10, 50, .55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(0,200,255,.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 4%;
    width: 100%;
}

/* Logo */
.navbar__logo { display: flex; align-items: center; }
.navbar__logo-img {
    height: 48px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(0,200,255,.35);
    transition: transform .25s, box-shadow .25s;
}
.navbar__logo:hover .navbar__logo-img {
    transform: scale(1.03);
    box-shadow: 0 0 26px rgba(0,200,255,.55);
}

/* Nav links */
.navbar__nav {
    display: flex;
    gap: 2px;
    margin-left: 16px;
}
.nav-link {
    font-family: var(--font-head);
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--white);
    transition: all .2s;
}
.nav-link:hover { color: var(--navy); background: var(--yellow); }
.nav-link--active { color: var(--navy); background: var(--cyan); }

/* Social icons */
.navbar__social {
    display: flex;
    gap: 10px;
    margin-left: auto;
}
.navbar__social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.04);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .85rem;
    color: var(--white);
    transition: all .25s;
}
.navbar__social a:hover {
    border-color: var(--cyan);
    color: var(--navy);
    background: var(--cyan);
    box-shadow: 0 0 14px rgba(0,200,255,.6);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .3s;
}

/* ============================
   TICKER
   ============================ */
.ticker {
    background: linear-gradient(90deg, var(--yellow-lt), var(--yellow));
    display: flex;
    align-items: center;
    height: 38px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(255,215,0,.25);
}
.ticker__label {
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--navy);
    white-space: nowrap;
    padding: 0 18px;
    background: rgba(3,8,58,.08);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.ticker__label::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red);
}
.ticker__track {
    overflow: hidden;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
}
.ticker__inner {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}
.ticker__item {
    font-family: var(--font-head);
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy);
    padding: 0 32px;
}
@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, #0a1c8a 0%, #03062e 55%, #02041a 100%);
    overflow: hidden;
    padding: 48px 0 56px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero__rays {
    position: absolute;
    inset: 0;
    background: conic-gradient(
        from 250deg at 50% -10%,
        transparent 0deg,
        rgba(0,80,216,.08) 5deg,
        transparent 10deg,
        rgba(0,80,216,.06) 15deg,
        transparent 20deg,
        rgba(0,200,255,.06) 25deg,
        transparent 30deg
    );
}
.hero__content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0 20px;
}

/* Hero Logo */
.hero__logo-wrap {
    position: relative;
    width: min(420px, 78%);
    display: grid;
    place-items: center;
}
.hero__logo-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(0,200,255,.35), transparent 70%);
    filter: blur(30px);
    z-index: 0;
    animation: logoGlow 4s ease-in-out infinite alternate;
}
@keyframes logoGlow {
    from { opacity: .5; transform: scale(.95); }
    to   { opacity: 1; transform: scale(1.05); }
}
.hero__logo-img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 18px;
    box-shadow:
        0 0 50px rgba(0,200,255,.4),
        0 12px 40px rgba(0,30,120,.6);
}

/* Eyebrow */
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: clamp(.85rem, 2vw, 1.05rem);
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(0,200,255,.3);
    padding: 8px 22px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
}
.eyebrow__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
    animation: pulseDot 1.4s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.75); }
}

/* Locutores grid */
.hero__locutores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: min(900px, 94%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,200,255,.2);
    box-shadow: 0 8px 40px rgba(0,30,120,.5);
    padding: 6px;
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(6px);
}
.locutor-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 14px;
}
.locutor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .4s;
    filter: brightness(.85) saturate(1.1);
}
.locutor-card:hover img { transform: scale(1.05); filter: brightness(1) saturate(1.2); }
.locutor-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(3,8,58,.8));
}

/* Tagline */
.hero__tagline {
    text-align: center;
    font-family: var(--font-head);
    font-size: clamp(1.1rem, 3vw, 1.7rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .06em;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.tag-accent { color: var(--cyan); }

/* ============================
   PLAYER
   ============================ */
.player { width: min(700px, 92%); }
.player__inner {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(0,200,255,.3);
    border-radius: 50px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 40px rgba(0,30,120,.45);
}

.player__play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--blue-lt) 60%, var(--yellow));
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: var(--navy);
    box-shadow: 0 0 20px rgba(0,200,255,.5);
    flex-shrink: 0;
    transition: all .25s;
}
.player__play-btn:hover {
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 0 35px rgba(0,200,255,.8);
}

.player__center { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.player__visualizer {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 40px;
}
.vis-bar {
    flex: 1;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--cyan), #0050d8);
    transition: height .1s ease;
}
/* Idle shape */
.vis-bar:nth-child(3n+1) { height: 25%; }
.vis-bar:nth-child(3n+2) { height: 65%; }
.vis-bar:nth-child(3n)   { height: 45%; }
.vis-bar:nth-child(7n)   { height: 90%; }

/* Playing */
.player--playing .vis-bar {
    animation: visPlay .7s ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * 0.035s);
}
@keyframes visPlay {
    from { height: 8%; }
    to   { height: 95%; }
}

.player__timeline {
    display: flex;
    align-items: center;
    gap: 8px;
}
.player__progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--yellow);
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--yellow);
}
.player__bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,.15);
    border-radius: 2px;
    overflow: hidden;
}
.player__bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--yellow));
    border-radius: 2px;
    transition: width .3s;
}
.player__time {
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: .1em;
    flex-shrink: 0;
}

.player__social-row {
    display: flex;
    gap: 12px;
    margin-top: 2px;
}
.player__social-row a {
    color: rgba(255,255,255,.4);
    font-size: .75rem;
    transition: color .2s;
}
.player__social-row a:hover { color: var(--cyan); }

.player__volume {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.5);
    font-size: .75rem;
    flex-shrink: 0;
}
.vol-range {
    -webkit-appearance: none;
    width: 4px;
    height: 60px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--cyan), rgba(255,255,255,.15));
    outline: none;
    cursor: pointer;
    writing-mode: vertical-lr;
    direction: rtl;
}
.vol-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0,200,255,.8);
}

/* ============================
   NOTICIAS
   ============================ */
.noticias {
    background: linear-gradient(180deg, #03062e, #040c4a, #03062e);
    padding: 64px 0;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    background: linear-gradient(90deg, var(--white), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .06em;
    margin-bottom: 40px;
}
.section-title--lined {
    display: flex;
    align-items: center;
    gap: 20px;
}
.section-title--lined::before,
.section-title--lined::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
}

/* Carousel */
.noticias__carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.carousel-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0,200,255,.25);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all .25s;
    z-index: 10;
}
.carousel-btn:hover {
    background: var(--cyan);
    color: var(--navy);
    box-shadow: 0 0 18px rgba(0,200,255,.5);
    transform: scale(1.06);
}
.noticias__viewport {
    flex: 1;
    overflow: hidden;
}
.noticias__track {
    display: flex;
    gap: 20px;
    transition: transform .4s cubic-bezier(.25,.1,.25,1);
}

/* Card */
.noticia-card {
    min-width: calc((100% - 40px) / 3);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,200,255,.15);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.noticia-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,200,255,.4);
    box-shadow: 0 20px 50px rgba(0,30,120,.5);
}
.noticia-card__img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.noticia-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.noticia-card:hover .noticia-card__img img { transform: scale(1.06); }

.noticia-card__body { padding: 18px; }
.noticia-card__fecha {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 3px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
}
.noticia-card__title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--white);
    margin-bottom: 10px;
}
.noticia-card__text {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Botón Leer más */
.btn-leer {
    display: inline-block;
    background: linear-gradient(90deg, #0050d8, #00a0ff, #ffd700);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: var(--white);
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 9px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background-position .4s, box-shadow .3s;
    box-shadow: 0 4px 16px rgba(0,80,216,.4);
}
.btn-leer:hover {
    background-position: 100% 50%;
    box-shadow: 0 4px 24px rgba(0,160,255,.6);
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: none;
    cursor: pointer;
    transition: all .2s;
    padding: 0;
}
.dot--active {
    background: var(--cyan);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--cyan);
}

/* ============================
   PATROCINADORES
   ============================ */
.patrocinadores {
    background: linear-gradient(180deg, #040c4a, #030830);
    padding: 60px 0 70px;
    border-top: 1px solid rgba(0,100,216,.2);
}
.patrocinadores__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.sponsor-card {
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    aspect-ratio: 2/1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    cursor: default;
}
.sponsor-card:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(0,200,255,.35);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,30,120,.4);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: rgba(4, 10, 50, .6);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0,200,255,.15);
    padding: 24px 4%;
}
.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin-inline: auto;
}
.footer__left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer__logo-img {
    height: 56px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(0,200,255,.3);
}

.btn-escuchar {
    display: inline-block;
    background: linear-gradient(135deg, #e6a800, #ffd700, #e6a800);
    color: var(--navy);
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 12px 36px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(255,215,0,.5);
    transition: all .25s;
}
.btn-escuchar:hover {
    box-shadow: 0 0 35px rgba(255,215,0,.8);
    transform: translateY(-2px);
}

.footer__copy {
    text-align: center;
    font-size: .78rem;
    color: rgba(160,180,214,.4);
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 12px;
    max-width: 1200px;
    margin-inline: auto;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .patrocinadores__grid { grid-template-columns: repeat(3, 1fr); }
    .noticia-card { min-width: calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
    .navbar__nav, .navbar__social { display: none; }
    .navbar__nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 56px;
        left: 0; right: 0;
        background: rgba(4,10,50,.92);
        backdrop-filter: blur(16px);
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid rgba(0,200,255,.2);
        z-index: 999;
    }
    .hamburger { display: flex; }
    .hero__logo-wrap { width: min(340px, 85%); }
    .hero__locutores { grid-template-columns: repeat(2, 1fr); }
    .player__inner { flex-wrap: wrap; border-radius: 16px; }
    .player__volume { flex-direction: row; }
    .vol-range { writing-mode: horizontal-tb; direction: ltr; width: 60px; height: 4px; }
    .noticia-card { min-width: 85%; }
    .patrocinadores__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero__logo-wrap { width: min(280px, 88%); }
    .hero__locutores { grid-template-columns: repeat(2, 1fr); }
    .patrocinadores__grid { grid-template-columns: repeat(2, 1fr); }
    .noticia-card { min-width: 90%; }
}
