/* style.css - AIRFM FINAL HERO MASTER VERSION v5.3 */

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

:root{
  --bg:#07060d;
  --surface:rgba(20,14,38,.88);
  --border:rgba(255,255,255,.08);

  --accent:#a855f7;
  --accent2:#ff4ecd;
  --accent3:#7c3aed;

  --text:#f7f3ff;
  --muted:#b8a9d8;
  --muted2:#9384b6;

  --shadow:0 16px 44px rgba(0,0,0,.34);
  --container:1280px;
}

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

html{scroll-behavior:smooth;}

body{
  margin:0;
  font-family:"Inter",system-ui,sans-serif;
  color:var(--text);
  overflow-x:hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(168,85,247,.22), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(255,78,205,.16), transparent 34%),
    radial-gradient(circle at 50% 78%, rgba(124,58,237,.12), transparent 42%),
    linear-gradient(180deg,#090612 0%,#07060d 100%);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.12;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size:40px 40px;
}

img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button,input{font:inherit;}

.glass{
  background:var(--surface);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  backdrop-filter:blur(10px);
}

.brand,
.brand-mark,
.hero-content h1,
.now-track h2,
.section-head h2,
.schedule-title,
.kpi strong,
.site-footer strong,
.premium-copy h2,
.premium-price strong{
  font-family:"Syne",sans-serif;
}

/* HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  min-height:74px;
  width:100%;
  padding:0 max(28px, calc((100vw - var(--container))/2));
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:20px;
  background:rgba(7,6,13,.92);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:1.22rem;
  font-weight:800;
}

.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--accent3),var(--accent2));
}

.nav{
  display:flex;
  justify-content:center;
  gap:28px;
}

.nav a{color:var(--muted);}
.nav a:hover{color:#fff;}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.header-clock{
  min-width:52px;
  text-align:right;
  font-size:.88rem;
  color:var(--muted);
  font-weight:800;
  letter-spacing:.05em;
}

.btn{
  border:none;
  cursor:pointer;
  border-radius:999px;
  padding:14px 26px;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn-sm{padding:11px 18px;font-size:.92rem;}

.btn-primary{
  color:#fff;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
}

.btn-ghost{
  color:#fff;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.09);
}

/* COMMON */

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#ff9be8;
}

.live-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#ff4d9f;
}

/* HERO */

.hero{
  width:min(var(--container), calc(100% - 34px));
  margin:0 auto;
  padding:40px 0 0;
}

.hero-player{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  border-radius:34px;
  overflow:hidden;
}

.hero-content{
  padding:24px 36px 28px;
  display:flex;
  flex-direction:column;
}

.hero-content h1{
  margin:8px 0 10px;
  font-size:clamp(2.6rem,4vw,4.7rem);
  line-height:.94;
  letter-spacing:-.06em;
}

.show-line{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:700;
}

#player-time-range{
  margin-top:8px;
  color:var(--muted2);
}

.now-track{
  margin-top:18px;
  padding:18px;
  border-radius:22px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.07);
}

.now-track h2{
  margin:8px 0 5px;
  font-size:1.45rem;
}

.now-track p{
  margin:0;
  color:var(--muted);
}

/* LIGHTWEIGHT WIDE TRAFFIC EQUALIZER */

.playback-visual{
  width:118px;
  height:42px;
  display:flex;
  gap:4px;
  align-items:flex-end;
  justify-content:flex-end;
  overflow:hidden;
  contain:layout paint;
}

.playback-visual span{
  width:6px;
  height:34px;
  border-radius:2px;
  transform-origin:bottom;
  transform:scaleY(.22);
  background:
    linear-gradient(
      to top,
      #22c55e 0 40%,
      #f59e0b 40% 72%,
      #ef4444 72% 100%
    );
  mask-image:repeating-linear-gradient(
    to top,
    #000 0 4px,
    transparent 4px 7px
  );
  -webkit-mask-image:repeating-linear-gradient(
    to top,
    #000 0 4px,
    transparent 4px 7px
  );
  opacity:.95;
}

body.playing .playback-visual span{
  animation:eq-lite 980ms steps(4,end) infinite;
}

body.playing .playback-visual span:nth-child(1){animation-delay:0ms;}
body.playing .playback-visual span:nth-child(2){animation-delay:90ms;}
body.playing .playback-visual span:nth-child(3){animation-delay:180ms;}
body.playing .playback-visual span:nth-child(4){animation-delay:270ms;}
body.playing .playback-visual span:nth-child(5){animation-delay:120ms;}
body.playing .playback-visual span:nth-child(6){animation-delay:210ms;}
body.playing .playback-visual span:nth-child(7){animation-delay:300ms;}
body.playing .playback-visual span:nth-child(8){animation-delay:60ms;}
body.playing .playback-visual span:nth-child(9){animation-delay:150ms;}
body.playing .playback-visual span:nth-child(10){animation-delay:240ms;}
body.playing .playback-visual span:nth-child(11){animation-delay:330ms;}
body.playing .playback-visual span:nth-child(12){animation-delay:420ms;}

@keyframes eq-lite{
  0%,100%{transform:scaleY(.18);}
  25%{transform:scaleY(.55);}
  50%{transform:scaleY(.92);}
  75%{transform:scaleY(.34);}
}

@media (prefers-reduced-motion:reduce){
  body.playing .playback-visual span{
    animation:none;
    transform:scaleY(.55);
  }

  html{
    scroll-behavior:auto;
  }
}

/* PROGRESS */

.hero-progress{margin-top:16px;}

.time-row{
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:.8rem;
  margin-bottom:8px;
}

.progress-bar{
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}

.progress-fill{
  width:0;
  height:100%;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
}

/* CONTROLS */

.player-controls-row{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.hero-volume{
  display:flex;
  gap:10px;
  align-items:center;
  color:var(--muted);
}

input[type="range"]{width:160px;}

/* RIGHT */

.hero-art{
  padding:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  background:#090612;
}

.hero-art img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:24px;
}

.hero-art-live{
  position:absolute;
  left:36px;
  bottom:36px;
  z-index:2;
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(7,6,13,.78);
  border:1px solid rgba(255,255,255,.10);
  font-size:.72rem;
  font-weight:800;
}

/* BELOW HERO */

.hero-under{
  width:min(var(--container), calc(100% - 34px));
  margin:26px auto 0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.info-card{
  padding:20px 18px 20px;
  border-radius:22px;
}

.info-card h3{
  margin:0 0 8px;
  font-size:.76rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#ff9be8;
}

.info-card p{
  margin:0;
  color:#fff;
  font-weight:700;
  line-height:1.55;
}

.premium-soft-card{
  background:
    linear-gradient(135deg, rgba(168,85,247,.14), rgba(255,78,205,.10)),
    var(--surface);
}

/* SECTION */

.section{
  width:min(var(--container), calc(100% - 34px));
  margin:0 auto;
  padding:30px 0;
}

.section-head{
  max-width:760px;
  margin:0 auto 34px;
  text-align:center;
}

.section-head h2{
  font-size:clamp(2rem,4vw,3rem);
  margin:10px 0 14px;
}

.section-head p{
  color:var(--muted);
  line-height:1.7;
}

/* PREMIUM */

.premium-section{
  padding-top:20px;
}

.premium-panel{
  border-radius:30px;
  padding:28px;
  display:grid;
  grid-template-columns:1fr 240px;
  gap:22px;
  align-items:center;
}

.premium-copy h2{
  margin:10px 0 12px;
  font-size:clamp(1.9rem,3vw,3rem);
  line-height:1;
  letter-spacing:-.045em;
}

.premium-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  max-width:780px;
}

.premium-price{
  padding:22px;
  border-radius:24px;
  text-align:center;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
}

.premium-price span{
  display:block;
  color:#ffb8ee;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.premium-price strong{
  display:block;
  margin:8px 0 2px;
  font-size:3rem;
  line-height:1;
}

.premium-price small{
  display:block;
  color:var(--muted);
  margin-bottom:16px;
}

/* PROGRAMS */

.schedule-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.schedule-item{
  border-radius:26px;
  overflow:hidden;
  background:var(--surface);
  border:1px solid var(--border);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change:transform;
}

.schedule-item:hover{
  transform:translateY(-4px);
  box-shadow:
    0 18px 40px rgba(0,0,0,.30),
    0 0 18px rgba(168,85,247,.10);
}

.schedule-item.active{
  border-color:rgba(255,78,205,.45);
  box-shadow:
    0 18px 42px rgba(0,0,0,.30),
    0 0 22px rgba(255,78,205,.14);
}

.schedule-art{
  aspect-ratio:1/1;
  overflow:hidden;
  background:#090612;
}

.schedule-art img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.schedule-content{
  padding:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}

.schedule-time{
  display:inline-block;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  color:#ffb8ee;
  margin-bottom:10px;
}

.schedule-title{
  font-size:1.15rem;
  margin:0 0 6px;
  line-height:1.15;
}

.schedule-host{
  color:var(--muted);
  font-size:.88rem;
  margin-bottom:10px;
}

.schedule-desc{
  font-size:.82rem;
  line-height:1.55;
  color:var(--muted2);
  margin-bottom:14px;
}

.schedule-live{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border-radius:999px;
  font-size:.7rem;
  font-weight:800;
  margin-bottom:14px;
  background:rgba(255,78,205,.12);
  color:#ffd2ef;
}

.schedule-premium{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(168,85,247,.16), rgba(255,78,205,.10));
  border:1px solid rgba(255,255,255,.08);
}

.schedule-premium span{
  font-size:.76rem;
  color:#ffd5f3;
  font-weight:700;
}

.schedule-premium strong{
  font-size:.78rem;
  letter-spacing:.08em;
  color:#fff;
}

/* KPI */

.kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.kpi{
  padding:24px;
  border-radius:22px;
  text-align:center;
}

.kpi strong{
  display:block;
  font-size:2rem;
  margin-bottom:8px;
}

.kpi span{color:var(--muted);}

/* FOOTER */

.site-footer{
  width:min(var(--container), calc(100% - 34px));
  margin:0 auto;
  padding:34px 0 46px;
  border-top:1px solid rgba(255,255,255,.08);
}

.site-footer p{color:var(--muted);}

/* RESPONSIVE */

@media (max-width:1100px){

  .site-header{
    gap:14px;
  }

  .nav{
    gap:18px;
  }

  .hero-player{
    grid-template-columns:1fr;
  }

  .hero-art{
    min-height:460px;
  }

  .hero-under,
  .schedule-grid,
  .kpi-grid,
  .premium-panel{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:860px){
  .site-header{
    grid-template-columns:auto auto;
  }

  .nav{
    display:none;
  }

  .header-clock{
    display:none;
  }
}

@media (max-width:760px){

  .header-actions{
    gap:8px;
  }

  .header-actions .btn-ghost{
    display:none;
  }

  .hero,
  .hero-under{
    width:min(var(--container), calc(100% - 20px));
  }

  .hero-player{
    display:flex;
    flex-direction:column;
  }

  .hero-art{
    order:1;
    min-height:320px;
    padding:16px;
  }

  .hero-content{
    order:2;
    padding:18px 16px 20px;
  }

  .hero-content h1{
    font-size:2.2rem;
  }

  .now-track{
    grid-template-columns:1fr;
    padding:14px;
  }

  .now-track h2{
    font-size:1.15rem;
  }

  .playback-visual{
    width:92px;
    height:36px;
    justify-content:flex-start;
  }

  .playback-visual span{
    width:5px;
    height:30px;
  }

  .player-controls-row{
    align-items:flex-start;
  }

  .hero-under,
  .schedule-grid,
  .kpi-grid,
  .premium-panel{
    grid-template-columns:1fr;
  }

  .premium-panel{
    padding:20px;
    border-radius:24px;
  }

.hero-under{
  display:none;
}

  .premium-price{
    text-align:left;
  }
}