:root {
    --gold:    #F5C518;
    --gold2:   #E8A800;
    --navy:    #060D1A;
    --petrol:  #0B1F35;
    --petrol2: #122840;
    --petrol3: #1A3A55;
    --cyan:    #00D4FF;
    --red-live:#FF2D2D;
    --txt:     #E8E8F0;
    --txt-dim: #7A8BA0;
  }

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

  html { scroll-behavior: smooth; }

  body {
  background: var(--navy);
  color: var(--txt);
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

  /* ── Background atmospherics ── */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% -10%, rgba(11,31,53,.95) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 80% 110%, rgba(245,197,24,.06) 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 10% 90%,  rgba(0,212,255,.05) 0%, transparent 60%);
    pointer-events: none;
  }
  body::after {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    background-size: 180px;
    opacity: .45;
    pointer-events: none;
  }

  .wrap { position: relative; z-index: 1; }


  /* ── REAL LOGO ── */
  .real-logo {
    width: clamp(180px, 70vw, 280px);
    height: auto;
    filter: drop-shadow(0 0 20px rgba(245,197,24,.4));
    animation: crownFloat 3s ease-in-out infinite;
  }
  .logo-slogan {
    font-family: 'Rajdhani', sans-serif;
    font-size: .8rem;
    font-style: italic;
    color: rgba(245,197,24,.65);
    letter-spacing: .08em;
    margin-top: .2rem;
    text-align: center;
  }

  /* ── CONTACT CARD ── */
  .contact-card {
    width: 100%;
    max-width: 480px;
    background: rgba(11,31,53,.7);
    border: 1px solid rgba(245,197,24,.12);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
  }
  .contact-title {
    font-size: .7rem;
    letter-spacing: .22em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: .8rem;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem;
  }
  .contact-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(245,197,24,.12);
    border-radius: 10px;
    padding: .55rem .75rem;
    color: var(--txt);
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: .05em;
    transition: all .2s;
  }
  .contact-item svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
  .contact-item:hover { border-color: var(--gold); background: rgba(245,197,24,.07); color: var(--gold); }
  .contact-email { grid-column: 1 / -1; }

  /* ── TOP TICKER ── */
  .ticker-outer {
    background: var(--gold);
    color: var(--navy);
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    letter-spacing: .08em;
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 0;
    border-bottom: 2px solid var(--gold2);
  }
  .ticker-track {
    display: inline-block;
    animation: ticker 80s linear infinite;
    padding-left: 100%;
  }
  .ticker-track span { margin-right: 3rem; }
  .ticker-track .dot { color: var(--petrol3); margin-right: .4rem; }
  @keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }

  /* ── HEADER ── */
  header {
    text-align: center;
    padding: 1.5rem 1.2rem 1.2rem;
  }
  .logo-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
  }

  .logo-sub {
    font-size: .72rem;
    letter-spacing: .22em;
    color: var(--txt-dim);
    text-transform: uppercase;
    margin-top: .35rem;
  }

  @keyframes crownFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
  }

  /* ── LIVE BADGE ── */
  .live-row {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin: .4rem 0 0;
  }
  .live-dot {
    font-size: 1.5em;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--red-live);
    box-shadow: 0 0 0 0 rgba(255,45,45,.7);
    animation: pulse 1.4s ease-out infinite;
  }
  @keyframes pulse {
    0%  { box-shadow: 0 0 0 0   rgba(255,45,45,.8); }
    70% { box-shadow: 0 0 0 10px rgba(255,45,45,0); }
    100%{ box-shadow: 0 0 0 0   rgba(255,45,45,0); }
  }
  .live-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    letter-spacing: .25em;
    color: var(--red-live);
  }
  .live-time {
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    color: var(--txt-dim);
    letter-spacing: .1em;
  }

  /* ── MAIN PLAYER CARD ── */
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1rem 2rem;
    gap: 1.6rem;
  }

  .player-card {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(160deg, var(--petrol2) 0%, var(--petrol) 100%);
  border: 1px solid rgba(245,197,24,.18);
  border-radius: 22px;
  padding: 2rem 1.5rem 1.8rem;
  box-shadow:
    0 0 40px rgba(245,197,24,.08),
    0 24px 60px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
  .player-card::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 260px; height: 130px;
    background: radial-gradient(ellipse, rgba(245,197,24,.12) 0%, transparent 70%);
    pointer-events: none;
  }

  /* ── LOGO PLAYER FRAME ── */
.logo-frame {
  width: 255px;
  height: 255px;
  border-radius: 32px;
  margin: 0 auto 1.6rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 2.5px solid rgba(245,197,24,.45);
  box-shadow:
    0 0 0 6px rgba(245,197,24,.08),
    0 0 0 12px rgba(245,197,24,.04),
    0 0 30px rgba(245,197,24,.2),
    inset 0 0 20px rgba(0,0,0,.5);
  overflow: hidden;
  animation: frameGlow 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes frameGlow {
  0%,100% {
    box-shadow:
      0 0 0 6px rgba(245,197,24,.08),
      0 0 0 12px rgba(245,197,24,.04),
      0 0 30px rgba(245,197,24,.2),
      inset 0 0 20px rgba(0,0,0,.5);
    border-color: rgba(245,197,24,.45);
  }
  50% {
    box-shadow:
      0 0 0 8px rgba(245,197,24,.14),
      0 0 0 18px rgba(245,197,24,.06),
      0 0 50px rgba(245,197,24,.35),
      inset 0 0 20px rgba(0,0,0,.5);
    border-color: rgba(245,197,24,.8);
  }
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 28px;
  display: block;
  padding: 12px;
}
  /* bars overlay at bottom of logo frame */
  .logo-frame .bars-overlay {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
    background: rgba(0,0,0,.45);
    padding: 0 8px 0;
    border-radius: 8px;
  }
  .bar {
    width: 4px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(to top, var(--gold2), var(--gold));
    box-shadow: 0 0 6px rgba(245,197,24,.6);
    animation: barDance var(--dur) ease-in-out infinite;
    transform-origin: bottom center;
  }
  .bar:nth-child(1)  { --dur: .7s;  height: 55%; animation-delay: 0s; }
  .bar:nth-child(2)  { --dur: .9s;  height: 85%; animation-delay: .1s; }
  .bar:nth-child(3)  { --dur: .6s;  height: 65%; animation-delay: .2s; }
  .bar:nth-child(4)  { --dur: 1.1s; height: 100%;animation-delay: 0s; }
  .bar:nth-child(5)  { --dur: .8s;  height: 75%; animation-delay: .15s;}
  .bar:nth-child(6)  { --dur: .7s;  height: 50%; animation-delay: .25s;}
  .bar:nth-child(7)  { --dur: .95s; height: 90%; animation-delay: .05s;}
  .bar.paused { animation-play-state: paused; height: 20% !important; opacity: .4; }
  @keyframes barDance {
    0%,100% { transform: scaleY(1); }
    50%      { transform: scaleY(.3); }
  }

  /* Now playing info */
  .now-label {
    font-size: .68rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--txt-dim);
    text-align: center;
    margin-bottom: .3rem;
  }
  .now-song {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: .1em;
    color: var(--gold);
    text-align: center;
    line-height: 1.1;
    min-height: 1.9rem;
    overflow: hidden;
    white-space: nowrap;
  }
  /* Scrolling song title if too long */
  .now-song span {
    display: inline-block;
    animation: songScroll 20s linear infinite;
  }
  @keyframes songScroll {
  1000%   { transform: translateX(-100%); }
  0% { transform: translateX(100%); }
}
  .now-artist {
    font-size: .88rem;
    letter-spacing: .12em;
    color: var(--txt-dim);
    text-align: center;
    margin-top: .2rem;
  }

  /* Controls */
  .controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.6rem;
  }
  .btn-play {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow:
      0 0 0 0 rgba(245,197,24,.5),
      0 8px 25px rgba(0,0,0,.5);
    transition: transform .15s, box-shadow .15s;
    position: relative;
  }
  .btn-play:hover  { transform: scale(1.07); }
  .btn-play:active { transform: scale(.96);  }
  .btn-play.playing {
    animation: playGlow 2s ease-in-out infinite;
  }
  @keyframes playGlow {
    0%,100% { box-shadow: 0 0 0 0   rgba(245,197,24,.5), 0 8px 25px rgba(0,0,0,.5); }
    50%      { box-shadow: 0 0 0 14px rgba(245,197,24,0), 0 8px 25px rgba(0,0,0,.5); }
  }
  .btn-play svg { width: 28px; height: 28px; fill: var(--navy); }

  .btn-vol {
    background: none;
    border: 1px solid rgba(245,197,24,.25);
    border-radius: 50%;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--gold);
    transition: background .2s, border-color .2s;
  }
  .btn-vol:hover { background: rgba(245,197,24,.1); border-color: rgba(245,197,24,.5); }
  .btn-vol svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

  /* Volume slider */
  .vol-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 1.2rem;
    padding: 0 .3rem;
  }
  .vol-icon { color: var(--txt-dim); font-size: .8rem; letter-spacing:.05em; }
  input[type=range] {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--gold) var(--pct, 80%), rgba(255,255,255,.12) var(--pct, 80%));
    outline: none;
    cursor: pointer;
  }
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(245,197,24,.5);
  }
  input[type=range]::-moz-range-thumb {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    box-shadow: 0 0 8px rgba(245,197,24,.5);
  }

  .ext-players {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(245,197,24,.1);
  }
  .ext-label {
    display: block;
    font-size: .62rem;
    letter-spacing: .25em;
    color: var(--txt-dim);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: .7rem;
  }
  .ext-btns {
    display: flex;
    justify-content: center;
    gap: .6rem;
    flex-wrap: wrap;
  }
  .ext-btn {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .85rem;
    border: 1px solid rgba(245,197,24,.2);
    border-radius: 20px;
    color: var(--txt-dim);
    font-size: .72rem;
    letter-spacing: .1em;
    text-decoration: none;
    transition: all .2s;
    background: rgba(255,255,255,.03);
  }
  .ext-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
  .ext-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(245,197,24,.07);
  }

  /* Listener counter */
  .listener-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .6rem;
  }
  .listener-count {
    font-family: 'Share Tech Mono', monospace;
    font-size: .78rem;
    color: var(--gold);
    letter-spacing: .1em;
  }
  .listener-label {
    font-size: .68rem;
    color: var(--txt-dim);
    letter-spacing: .1em;
  }

  /* ── BOTTOM MARQUEE (EN VIVO) ── */
  .marquee-wrap {
    width: 100%;
    max-width: 480px;
    background: rgba(11,31,53,.6);
    border: 1px solid rgba(245,197,24,.12);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
  }
  .marquee-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border-bottom: 1px solid rgba(245,197,24,.12);
    background: rgba(245,197,24,.05);
  }
  .marquee-label .dot2 {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 1.4s ease-out infinite;
  }
  .marquee-label span {
    font-size: .68rem;
    letter-spacing: .3em;
    color: var(--gold);
    text-transform: uppercase;
  }
  .marquee-inner {
    padding: .6rem 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .marquee-text {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: .82rem;
    color: var(--txt);
    letter-spacing: .07em;
    animation: marqueeMov 80s linear infinite;
    padding-left: 100%;
  }
  .marquee-text .sep { color: var(--gold); margin: 0 1.2rem; }
  @keyframes marqueeMov {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }

  /* ── FOOTER INFO ── */
  .info-grid {
    width: 100%;
    max-width: 480px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .info-card {
    background: rgba(18,40,64,.7);
    border: 1px solid rgba(245,197,24,.1);
    border-radius: 12px;
    padding: .9rem 1rem;
    text-align: center;
  }
  .info-card .ic { font-size: 1.3rem; margin-bottom: .3rem; }
  .info-card .ic-label {
    font-size: .62rem;
    letter-spacing: .2em;
    color: var(--txt-dim);
    text-transform: uppercase;
    display: block;
  }
  .info-card .ic-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: .1em;
    color: var(--gold);
    display: block;
    margin-top: .1rem;
  }
  .station-location {
  font-size: 1rem;
  letter-spacing: .06em;
  color: var(--txt);
  text-align: center;
  margin-top: .65rem;
}


  /* ── SHARE BUTTONS ── */
  .share-section {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }
  .share-label {
    font-size: .62rem;
    letter-spacing: .25em;
    color: var(--txt-dim);
    text-transform: uppercase;
    margin-bottom: .75rem;
    display: block;
  }
  .share-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
  }
  .share-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.1rem;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .18s, filter .18s, box-shadow .18s;
    position: relative;
    overflow: hidden;
  }
  .share-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.12);
    opacity: 0;
    transition: opacity .18s;
  }
  .share-btn:hover::before  { opacity: 1; }
  .share-btn:hover { transform: translateY(-3px); filter: brightness(1.1); box-shadow: 0 8px 20px rgba(0,0,0,.4); }
  .share-btn:active { transform: translateY(0); }
  .share-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
  .share-btn span { white-space: nowrap; }

  .share-fb  { background: #1877F2; color: #fff; box-shadow: 0 4px 15px rgba(24,119,242,.35); }
  .share-wa  { background: #25D366; color: #fff; box-shadow: 0 4px 15px rgba(37,211,102,.35); }
  .share-x   { background: #000;    color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,.5);
               border: 1px solid rgba(255,255,255,.15); }

  /* ── FOOTER ── */
  footer {
    text-align: center;
    padding: 1.5rem 1rem 2.5rem;
    font-size: .7rem;
    letter-spacing: .12em;
    color: var(--txt-dim);
    position: relative; z-index: 1;
  }
  footer a { color: var(--gold); text-decoration: none; }

  /* ── Scanline overlay for retro-broadcast feel ── */
  .scanlines {
    position: fixed; inset: 0; z-index: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,.04) 2px,
      rgba(0,0,0,.04) 4px
    );
    pointer-events: none;
  }

  /* ── Entry animation ── */
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .7s ease forwards;
  }
  .fade-up:nth-child(1) { animation-delay: .1s; }
  .fade-up:nth-child(2) { animation-delay: .25s; }
  .fade-up:nth-child(3) { animation-delay: .4s; }
  .fade-up:nth-child(4) { animation-delay: .55s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
