:root {
  --paper: #fdf3d8;
  --paper2: #fffaf0;
  --ink: #2b1d12;
  --brown: #6b4423;
  --red: #e63b2e;
  --orange: #ff6b1a;
  --yellow: #ffcf3f;
  --teal: #0f9d8a;
  --blue: #2b5cff;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  background-image: radial-gradient(#2b1d1214 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--paper2);
  border-bottom: 3px solid var(--ink);
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }

.brand-badge {
  width: 44px; height: 32px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6px;
  box-shadow: 3px 3px 0 var(--ink);
}
.brand-badge .reel {
  width: 14px; height: 14px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper2);
  position: relative;
  animation: spin 4s linear infinite;
}
.brand-badge .reel::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--ink); transform: translateX(-50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.brand-text { font-family: 'Archivo Black', sans-serif; font-size: 15px; letter-spacing: 1px; line-height: 1; }
.brand-text strong { background: var(--ink); color: var(--yellow); padding: 2px 6px; margin-left: 6px; }
.brand-text em { display: block; font-family: 'Space Mono', monospace; font-style: normal; font-size: 11px; letter-spacing: 3px; margin-top: 4px; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.onair {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12px; letter-spacing: 1px;
  background: var(--red); color: #fff;
  border: 3px solid var(--ink); border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 3px 3px 0 var(--ink);
}
.onair i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: blink 1.1s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.nav-pill {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  border: 2px dashed var(--brown);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  background: #fff;
}
@media (max-width: 640px) { .nav-pill { display: none; } }

/* ---------- HERO ---------- */
.hero {
  padding: 122px 18px 50px;
  display: flex; justify-content: center;
}
.hero-inner { max-width: 820px; width: 100%; text-align: center; }

.kicker { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.sticker {
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12.5px; letter-spacing: 1px;
  border: 2.5px solid var(--ink); border-radius: 999px; padding: 6px 16px;
  box-shadow: 3px 3px 0 var(--ink);
}
.sticker.s1 { background: var(--teal); color: #fff; transform: rotate(-3deg); }
.sticker.s2 { background: #fff; transform: rotate(2deg); }

.title { line-height: .95; }
.title-top {
  display: block;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  letter-spacing: 1px;
  -webkit-text-stroke: 2px var(--ink);
  color: var(--paper2);
  text-shadow: 4px 4px 0 var(--ink);
}
.title-soon {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-top: 12px;
}
.title-soon span {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(1.8rem, 9vw, 3.8rem);
  padding: 4px 20px 8px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
}
.title-soon span:first-child { background: var(--orange); color: #fff; transform: rotate(-2deg); }
.title-soon span:last-child { background: var(--yellow); transform: rotate(1.5deg); }

.hand {
  display: inline-block;
  font-family: 'Caveat', cursive; font-size: 24px; font-weight: 700;
  margin-top: 14px; transform: rotate(-2deg);
  background: #fff; border: 2px solid var(--ink); padding: 2px 16px;
}

.subtitle { max-width: 600px; margin: 18px auto 0; font-size: 16.5px; }
.subtitle strong { background: var(--yellow); padding: 0 6px; border: 2px solid var(--ink); }

/* ---------- RADIO ---------- */
.radio {
  margin: 30px auto 0;
  background: var(--paper2);
  border: 3.5px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  text-align: left;
  max-width: 680px;
}
.radio-top {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px;
  font-family: 'Space Mono', monospace; font-size: 12.5px; letter-spacing: 2px;
}
.lamp {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; font-weight: 700;
  padding: 4px 12px; border-radius: 6px; border: 2px solid #fff3;
}
.lamp i { width: 10px; height: 10px; border-radius: 50%; background: #ffe08a; box-shadow: 0 0 10px 3px #ffcf3f; animation: blink 1.2s infinite; }
.radio-brand { flex: 1; opacity: .9; }
.radio-screw { width: 12px; height: 12px; border-radius: 50%; background: #8a7360; }

.tuner { padding: 18px 18px 6px; background: linear-gradient(#fff3d0, var(--paper2)); border-bottom: 3px dashed var(--ink); }
.freq {
  display: inline-block;
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 28px;
  background: #231407; color: #ffd75e;
  border: 3px solid var(--ink); border-radius: 10px;
  padding: 2px 16px;
  letter-spacing: 2px;
}
.freq small { font-size: 14px; color: var(--orange); }
.freq.clear { color: #7dff9a; text-shadow: 0 0 12px #22ff66; }

.dial {
  position: relative;
  margin-top: 12px;
  background: #3a2413;
  border: 3px solid var(--ink); border-radius: 12px;
  padding: 14px 16px 10px;
  overflow: hidden;
}
.ticks { display: flex; justify-content: space-between; font-family: 'Space Mono', monospace; font-size: 12px; color: #ffe9b0; font-weight: 700; }
.ticks::before {
  content: ""; display: block; position: absolute; left: 16px; right: 16px; top: 34px; height: 3px;
  background: repeating-linear-gradient(90deg, #ffe9b0 0 6px, transparent 6px 12px);
  opacity: .7;
}
.needle {
  position: absolute; top: 8px; bottom: 8px; width: 4px;
  background: var(--red); border: 1px solid #fff;
  left: 50%;
  box-shadow: 0 0 10px var(--red);
  transition: left .1s;
}
.dial-shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, #ffffff22 50%, transparent 60%); pointer-events: none; }

.tuning { display: flex; align-items: center; gap: 12px; margin: 12px 0 10px; font-family: 'Space Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.tuning input { flex: 1; accent-color: var(--red); height: 28px; cursor: pointer; }

.deck {
  display: grid; grid-template-columns: 90px 1fr 90px; gap: 12px; align-items: stretch;
  padding: 18px;
}
.speaker {
  background: #e8d5ae;
  border: 3px solid var(--ink); border-radius: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px;
  align-content: center;
}
.speaker i { height: 10px; background: var(--ink); border-radius: 5px; opacity: .85; }
.speaker i:nth-child(odd) { grid-column: 1 / -1; }

.cassette {
  background: var(--orange);
  border: 3px solid var(--ink); border-radius: 14px;
  padding: 10px 12px 12px;
  box-shadow: inset -4px -4px 0 #00000022;
}
.cass-label {
  background: var(--yellow);
  border: 2.5px solid var(--ink); border-radius: 8px;
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 12px; letter-spacing: 1px;
  padding: 6px 10px; text-align: center;
}
.cass-label b { display: block; font-size: 11px; }
.cass-window {
  margin-top: 10px;
  background: #fff8e2;
  border: 2.5px solid var(--ink); border-radius: 40px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px;
}
.spool { width: 44px; height: 44px; border: 3px solid var(--ink); border-radius: 50%; background: #fff; display: grid; place-items: center; animation: spin 3s linear infinite; }
.spool b { width: 22px; height: 8px; background: var(--ink); border-radius: 3px; position: relative; }
.spool b::after { content: ""; position: absolute; inset: -7px 7px; background: var(--ink); border-radius: 3px; transform: rotate(90deg); }
.tape { flex: 1; height: 6px; background: var(--ink); margin: 0 10px; border-radius: 3px; }
.cass-holes { display: flex; justify-content: center; gap: 18px; margin-top: 10px; }
.cass-holes i { width: 16px; height: 12px; border: 2.5px solid var(--ink); background: var(--paper2); display: block; }
.cass-holes i:nth-child(2) { width: 40px; }

.controls {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px 16px;
  background: #f6e3b4;
  border-top: 3px solid var(--ink);
}
.eq { display: flex; align-items: flex-end; gap: 5px; height: 40px; }
.eq span { width: 8px; border: 2px solid var(--ink); border-radius: 4px; background: linear-gradient(180deg, var(--teal), var(--yellow)); animation: bounce 1s ease-in-out infinite; }
.eq span:nth-child(1) { height: 40%; }
.eq span:nth-child(2) { height: 70%; animation-delay: .15s; }
.eq span:nth-child(3) { height: 100%; animation-delay: .3s; }
.eq span:nth-child(4) { height: 55%; animation-delay: .45s; }
.eq span:nth-child(5) { height: 85%; animation-delay: .6s; }
.eq span:nth-child(6) { height: 45%; animation-delay: .75s; }
.eq span:nth-child(7) { height: 95%; animation-delay: .9s; }
.eq span:nth-child(8) { height: 60%; animation-delay: .5s; }
.eq span:nth-child(9) { height: 80%; animation-delay: .2s; }
.eq span:nth-child(10) { height: 50%; animation-delay: .65s; }
@keyframes bounce { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

.buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.buttons button {
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 13px;
  border: 3px solid var(--ink); border-radius: 10px; padding: 8px 14px;
  background: #fff; cursor: default;
  box-shadow: 3px 3px 0 var(--ink);
}
.buttons button.play { background: var(--ink); color: var(--yellow); }
.radio-note { padding: 0 18px 16px; background: #f6e3b4; font-family: 'Caveat', cursive; font-size: 19px; font-weight: 600; }

/* ---------- Notify ---------- */
.notify {
  display: flex; gap: 10px; align-items: center;
  max-width: 560px; margin: 26px auto 0;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 5px 5px 0 var(--ink);
}
.stamp {
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 11px; line-height: 1.2;
  color: var(--red); border: 2.5px dashed var(--red); border-radius: 8px;
  padding: 6px 10px; transform: rotate(-6deg); white-space: nowrap;
}
.notify input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--ink); font-size: 15px; padding: 10px 6px;
}
.notify button {
  border: 3px solid var(--ink); cursor: pointer;
  background: var(--teal); color: #fff;
  font-family: 'Archivo Black', sans-serif; font-size: 13px;
  padding: 12px 20px; border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s;
  white-space: nowrap;
}
.notify button:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
@media (max-width: 520px) {
  .notify { flex-wrap: wrap; }
  .notify input { flex-basis: 100%; border-top: 2px dashed #ccc; padding-top: 12px; }
  .notify button { width: 100%; }
}
.notify-msg { margin-top: 12px; font-weight: 600; background: #fff; display: inline-block; border: 2px solid var(--ink); padding: 6px 14px; }

/* ---------- Programs ---------- */
.programs { margin-top: 36px; }
.programs h2 { font-family: 'Archivo Black', sans-serif; font-size: 20px; letter-spacing: 2px; }
.programs h2 span { background: var(--ink); color: var(--paper); padding: 6px 18px; display: inline-block; transform: rotate(-1deg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; text-align: left; }
@media (max-width: 680px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 3px solid var(--ink); border-radius: 16px;
  padding: 16px; position: relative;
  box-shadow: 5px 5px 0 var(--ink);
}
.card.tilt { transform: rotate(1deg); background: #fff6d6; }
.card .tag { font-family: 'Space Mono', monospace; font-size: 11.5px; background: var(--blue); color: #fff; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; }
.card h3 { font-family: 'Archivo Black', sans-serif; font-size: 18px; margin: 10px 0 6px; }
.card p { font-size: 14px; color: #4a3826; }
.card .soon {
  position: absolute; top: 12px; right: -8px;
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 11px;
  background: var(--red); color: #fff; border: 2.5px solid var(--ink);
  padding: 3px 10px; transform: rotate(8deg);
}

/* ---------- Socials ---------- */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.socials a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13.5px;
  background: #fff; border: 2.5px solid var(--ink); border-radius: 999px; padding: 8px 18px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s;
}
.socials a:hover { transform: rotate(-2deg) scale(1.04); background: var(--yellow); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--yellow);
  font-family: 'Archivo Black', sans-serif;
  letter-spacing: 1px; font-size: 14px;
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.marquee-track { display: inline-flex; animation: slide 22s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 34px 20px 44px; font-size: 14px; }
.footer-small { color: var(--brown); font-size: 13px; margin-top: 6px; }
