/* ============================================================
   COTN Radio — Creatures Of The Night Lounge Radio
   Night-lounge theme · mobile-first · v1.0
   ============================================================ */

:root {
  --bg-0: #060a14;
  --bg-1: #0a1120;
  --bg-2: #101a2e;
  --card: #111c31;
  --card-2: #16233c;
  --line: rgba(122, 190, 210, 0.14);
  --teal: #2ab5c9;
  --teal-bright: #3fd4e8;
  --teal-dim: rgba(42, 181, 201, 0.14);
  --moon: #e9dfc2;
  --text: #e8eef5;
  --text-dim: #9fb0c3;
  --text-faint: #6b7d92;
  --radius: 18px;
  --player-h: 84px;
  --font-head: 'Marcellus', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--player-h);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--teal-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

section { padding: 72px 0; position: relative; }

.section-label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 14px;
}

.section-title { font-size: clamp(28px, 4.5vw, 40px); margin-bottom: 16px; }
.section-intro { color: var(--text-dim); max-width: 640px; font-size: 17px; }

/* ---------- Header ---------- */
/* Solid glass bar is the DEFAULT so pages without a hero logo — and visitors on a
   stale cached app.js — always get a readable header. JS opts in to transparency. */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(6, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, border-color 0.35s ease;
}
/* Only while the big hero logo is still on screen */
header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* The nav logo is the "shrunk" state of the hero logo: hidden only while the big one shows */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  transform-origin: left center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.brand img { height: 44px; width: auto; }
header.is-transparent .brand {
  opacity: 0;
  transform: translateY(-6px) scale(0.9);
  pointer-events: none;
}
[dir="rtl"] .brand { transform-origin: right center; }

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-bright); text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--teal);
  color: #041018;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  font-family: var(--font-body);
}
.btn:hover {
  background: var(--teal-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(42, 181, 201, 0.35);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--teal-dim); color: var(--teal-bright); box-shadow: none; }

.nav .btn { padding: 9px 18px; font-size: 14px; }

/* ---------- Language switcher ---------- */
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-install {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-install:hover { color: var(--teal-bright); border-color: rgba(42, 181, 201, 0.4); background: var(--teal-dim); }
.btn-install .ico { width: 16px; height: 16px; }
@media (max-width: 560px) { .btn-install span { display: none; } .btn-install { padding: 8px; } }
.lang-switch { position: relative; display: inline-block; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  outline: none;
}
.lang-btn:hover { border-color: rgba(42, 181, 201, 0.4); }
.lang-flag {
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}
.lang-flag svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.lang-caret { font-size: 10px; color: var(--text-dim); margin-left: 1px; transition: transform 0.2s; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 176px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 60;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
}
.lang-menu li:hover, .lang-menu li:focus { background: var(--teal-dim); outline: none; }
.lang-menu li[aria-selected="true"] { color: var(--teal-bright); font-weight: 600; }

/* ---------- Hero now-playing (under the play button) ---------- */
.hero-now {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  padding: 10px 18px;
  background: rgba(8, 15, 30, 0.55);
  border: 1px solid var(--line);
  border-radius: 100px;
  max-width: 100%;
  font-size: 14.5px;
  color: var(--text-dim);
}
.hero-now .np-eq { flex-shrink: 0; }
.hero-now .np-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
  flex-shrink: 0;
}
.hero-now .np-track {
  color: var(--moon);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ---------- Night sky hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  background:
    radial-gradient(ellipse 900px 500px at 78% 12%, rgba(233, 223, 194, 0.10), transparent 60%),
    radial-gradient(ellipse 700px 480px at 15% 85%, rgba(42, 181, 201, 0.10), transparent 65%),
    linear-gradient(180deg, #05080f 0%, #0a1322 55%, #0d1730 100%);
  overflow: hidden;
}

.stars, .stars2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
}
.stars {
  background-image:
    radial-gradient(1px 1px at 25px 35px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, #fff, transparent),
    radial-gradient(1px 1px at 310px 60px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 380px 190px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 60px 220px, rgba(255,255,255,0.7), transparent);
  background-size: 420px 260px;
  animation: twinkle 5s ease-in-out infinite alternate;
}
.stars2 {
  background-image:
    radial-gradient(1px 1px at 80px 120px, rgba(180, 230, 240, 0.9), transparent),
    radial-gradient(1px 1px at 240px 40px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.5px 1.5px at 330px 230px, rgba(233, 223, 194, 0.9), transparent),
    radial-gradient(1px 1px at 160px 200px, rgba(255,255,255,0.6), transparent);
  background-size: 480px 300px;
  animation: twinkle 7s ease-in-out infinite alternate-reverse;
}
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 1; } }

.moon-glow {
  position: absolute;
  top: 6%;
  right: 8%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #f4ecd4 0%, var(--moon) 45%, #cbbe98 100%);
  box-shadow:
    0 0 60px 18px rgba(233, 223, 194, 0.28),
    0 0 160px 60px rgba(233, 223, 194, 0.12);
  opacity: 0.92;
  pointer-events: none;
}
.moon-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 66% 30%, rgba(140, 128, 96, 0.35) 0 9%, transparent 11%),
    radial-gradient(circle at 34% 60%, rgba(140, 128, 96, 0.28) 0 7%, transparent 9%),
    radial-gradient(circle at 58% 70%, rgba(140, 128, 96, 0.22) 0 5%, transparent 7%);
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; min-width: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid rgba(42, 181, 201, 0.35);
  color: var(--teal-bright);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.live-dot {
  width: 8px; height: 8px;
  background: #ff4d5e;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(255, 77, 94, 0); }
}

.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-bright);
}

.hero p.lede {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn-play-hero {
  font-size: 17px;
  padding: 16px 32px;
  gap: 12px;
}
.btn-play-hero .icon { font-size: 14px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
  color: var(--text-faint);
  font-size: 13.5px;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges b { color: var(--text-dim); font-weight: 600; }

/* ---------- Now playing card ---------- */
.now-strip {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.now-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}
.now-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.now-card h3 {
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.now-track {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.35;
  min-height: 36px;
}
.now-meta { color: var(--text-faint); font-size: 13.5px; margin-top: 10px; }

.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}
.eq i {
  width: 3px;
  background: var(--teal-bright);
  border-radius: 2px;
  height: 30%;
}
.playing .eq i { animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: 0.2s; }
.eq i:nth-child(3) { animation-delay: 0.45s; }
.eq i:nth-child(4) { animation-delay: 0.1s; }
@keyframes eq {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

.recent-list { list-style: none; }
.recent-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(122, 190, 210, 0.12);
  font-size: 14.5px;
  color: var(--text-dim);
}
.recent-list li:last-child { border-bottom: none; }
.recent-list time {
  color: var(--text-faint);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  min-width: 44px;
}

/* ---------- Moments / use-case cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.card {
  background: linear-gradient(160deg, var(--card), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(42, 181, 201, 0.4); }
.card .emoji { font-size: 30px; display: block; margin-bottom: 14px; }
.card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.card h3 { font-size: 20px; margin-bottom: 9px; color: var(--moon); }
.card p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}
.about-copy p { color: var(--text-dim); margin-bottom: 16px; font-size: 16px; }
.about-copy strong { color: var(--text); }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--teal-bright);
  line-height: 1.1;
}
.stat span { font-size: 13px; color: var(--text-faint); }

.genre-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.genre-pills span {
  background: var(--teal-dim);
  border: 1px solid rgba(42, 181, 201, 0.3);
  color: var(--teal-bright);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 100px;
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote p { color: var(--text-dim); font-size: 15px; font-style: italic; flex: 1; }
.quote p::before { content: '\201C'; color: var(--teal); font-size: 26px; line-height: 0; margin-right: 3px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(42, 181, 201, 0.4); }
.quote-who b { display: block; font-size: 14.5px; }
.quote-who span { font-size: 12.5px; color: var(--text-faint); }
.stars-row { color: #f5c451; font-size: 13px; letter-spacing: 2px; }

/* ---------- Listen anywhere ---------- */
.listen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.listen-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.listen-item h3 { font-size: 18px; color: var(--moon); margin-bottom: 8px; }
.listen-item p { font-size: 14px; color: var(--text-dim); }
.listen-item a { font-size: 14px; font-weight: 600; }

/* ---------- Business ---------- */
.biz { background: linear-gradient(180deg, var(--bg-1), var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; max-width: 780px; }
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 19px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  color: var(--teal-bright);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
}
details[open] summary::after { transform: rotate(45deg); }
details .faq-a { padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }

/* ---------- Support ---------- */
.support-box {
  background: linear-gradient(160deg, rgba(42, 181, 201, 0.12), var(--card));
  border: 1px solid rgba(42, 181, 201, 0.3);
  border-radius: 22px;
  padding: 46px 38px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.support-box h2 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 14px; }
.support-box p { color: var(--text-dim); max-width: 520px; margin: 0 auto 28px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Bitcoin address stays folded away until its own button asks for it, so it
   never reads as a stray box belonging to neither method. */
.btc-panel {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Il display:flex qui sopra batterebbe il display:none che [hidden] eredita
   dal browser, lasciando l'indirizzo sempre a schermo. */
.btc-panel[hidden] { display: none; }
.btc-panel:not([hidden]) { animation: btcIn 0.28s ease both; }
@keyframes btcIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.btc-hint { font-size: 13.5px; color: var(--text-faint); margin: 0 0 10px; }
.btc-wallet { margin-top: 12px; font-size: 13.5px; font-weight: 600; }

.btc-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 10px 10px 16px;
}
.btc-box code { font-family: monospace; font-size: 12.5px; color: var(--text-dim); word-break: break-all; }
.btc-copy {
  flex-shrink: 0;
  border: none;
  background: var(--teal-dim);
  color: var(--teal-bright);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btc-copy:hover { background: var(--teal); color: var(--bg-0); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  background: var(--bg-0);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-brand img { height: 52px; margin-bottom: 12px; }
.foot-brand p { color: var(--text-faint); font-size: 13.5px; max-width: 300px; }
.foot-col h4 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: var(--text-dim); font-size: 14px; }
.foot-col a:hover { color: var(--teal-bright); }
.copyright {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 12.5px;
  text-align: center;
}

/* ---------- Sticky player ---------- */
.player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--player-h);
  background: rgba(8, 13, 25, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(42, 181, 201, 0.3);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  padding-bottom: env(safe-area-inset-bottom);
}
.player-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: var(--player-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}
.play-btn {
  width: 54px; height: 54px;
  min-width: 54px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: #041018;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(42, 181, 201, 0.4);
}
.play-btn:hover { background: var(--teal-bright); transform: scale(1.06); }
.play-btn svg { width: 22px; height: 22px; fill: currentColor; }
.play-btn .i-pause { display: none; }
.playing .play-btn .i-play { display: none; }
.playing .play-btn .i-pause { display: block; }
.play-btn.loading { animation: spinPulse 1s linear infinite; }
@keyframes spinPulse { 50% { box-shadow: 0 0 0 10px rgba(42, 181, 201, 0.12); } }

.player-info { flex: 1; min-width: 0; }
.player-station {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-bright);
}
.player-track {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.player-listeners { display: none; }

.vol-wrap { display: flex; align-items: center; gap: 10px; }
.vol-wrap svg { width: 18px; height: 18px; fill: var(--text-dim); flex-shrink: 0; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--teal) var(--vol, 75%), rgba(255,255,255,0.15) var(--vol, 75%));
  cursor: pointer;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--teal-bright);
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--teal-bright);
  border: none;
}

/* ---------- Hero logo (shrinks into the nav on scroll) ---------- */
.hero-logo {
  display: block;
  width: min(380px, 74vw);
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 40px rgba(42, 181, 201, 0.28));
}

/* ---------- Line icons (replacing emoji) ---------- */
.ico {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-sm { width: 17px; height: 17px; }

/* ---------- Moments: photo-ready mood tiles ---------- */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 20px;
  margin-top: 42px;
}
.moment {
  position: relative;
  background: linear-gradient(165deg, var(--card), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.moment:hover {
  transform: translateY(-5px);
  border-color: rgba(42, 181, 201, 0.42);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

/* Photo slot. Set it inline on the element — NOT via a custom property — because
   relative URLs inside a var() resolve against this stylesheet (assets/), not the page:
   <div class="moment-art has-photo" style="background-image: url('assets/moment-relax.jpg')"> */
.moment-art {
  position: relative;
  height: 178px;
  background-color: var(--bg-2);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  isolation: isolate;
}
/* Mood wash — becomes a colour grade once a photo sits underneath */
.moment-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mood);
  z-index: -1;
}
/* Vignette keeps the icon and the card edge readable over any photo */
.moment-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 20, 0.10) 0%, transparent 42%, rgba(6, 10, 20, 0.62) 100%);
  z-index: -1;
}
/* With a photo behind it the mood stops being the artwork and becomes a colour grade */
.moment-art.has-photo::before {
  opacity: 0.5;
  mix-blend-mode: soft-light;
}
.moment-art.has-photo::after {
  background:
    linear-gradient(180deg, rgba(6, 10, 20, 0.30) 0%, rgba(6, 10, 20, 0.12) 38%, rgba(6, 10, 20, 0.82) 100%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(6, 10, 20, 0.34), transparent 70%);
}
/* Blurred bokeh "night lounge lighting" — reads as photography, not as a flat panel */
.moment:nth-child(1) { --mood:
  radial-gradient(circle 46px at 20% 32%, rgba(255, 206, 138, 0.72), transparent 70%),
  radial-gradient(circle 30px at 34% 62%, rgba(255, 176, 102, 0.45), transparent 72%),
  radial-gradient(circle 90px at 82% 20%, rgba(233, 200, 150, 0.42), transparent 74%),
  linear-gradient(155deg, #3d2a2c 0%, #1d1a2e 55%, #0d1424 100%); }
.moment:nth-child(2) { --mood:
  radial-gradient(circle 52px at 78% 26%, rgba(74, 224, 235, 0.62), transparent 72%),
  radial-gradient(circle 34px at 60% 66%, rgba(42, 181, 201, 0.42), transparent 74%),
  radial-gradient(circle 96px at 14% 18%, rgba(60, 140, 190, 0.36), transparent 74%),
  linear-gradient(155deg, #123a48 0%, #12203a 58%, #0d1424 100%); }
.moment:nth-child(3) { --mood:
  radial-gradient(circle 48px at 24% 28%, rgba(160, 150, 255, 0.60), transparent 72%),
  radial-gradient(circle 32px at 46% 68%, rgba(120, 130, 235, 0.40), transparent 74%),
  radial-gradient(circle 92px at 84% 22%, rgba(96, 116, 210, 0.34), transparent 74%),
  linear-gradient(155deg, #2b2554 0%, #1a1e3c 58%, #0d1424 100%); }
.moment:nth-child(4) { --mood:
  radial-gradient(circle 54px at 74% 24%, rgba(243, 235, 208, 0.80), transparent 66%),
  radial-gradient(circle 120px at 74% 24%, rgba(233, 223, 194, 0.24), transparent 76%),
  radial-gradient(circle 70px at 18% 70%, rgba(58, 96, 158, 0.38), transparent 76%),
  linear-gradient(155deg, #16244a 0%, #0e1730 55%, #070b16 100%); }
.moment:nth-child(5) { --mood:
  radial-gradient(circle 46px at 26% 30%, rgba(126, 232, 205, 0.60), transparent 72%),
  radial-gradient(circle 34px at 44% 68%, rgba(88, 200, 178, 0.40), transparent 74%),
  radial-gradient(circle 94px at 82% 24%, rgba(70, 170, 165, 0.34), transparent 74%),
  linear-gradient(155deg, #12433c 0%, #12283a 58%, #0d1424 100%); }
.moment:nth-child(6) { --mood:
  radial-gradient(circle 44px at 76% 28%, rgba(255, 150, 168, 0.62), transparent 70%),
  radial-gradient(circle 30px at 58% 66%, rgba(240, 176, 130, 0.44), transparent 72%),
  radial-gradient(circle 92px at 16% 20%, rgba(198, 106, 128, 0.38), transparent 74%),
  linear-gradient(155deg, #48283a 0%, #221a34 56%, #0d1424 100%); }

.moment-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--moon);
  background: rgba(6, 10, 20, 0.32);
  border: 1px solid rgba(233, 223, 194, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.25s ease, color 0.25s ease;
}
.moment:hover .moment-icon { transform: scale(1.08); color: var(--teal-bright); }
.moment-icon .ico { width: 26px; height: 26px; }

.moment-body { padding: 22px 24px 26px; }
.moment-body h3 { font-size: 20px; margin-bottom: 9px; color: var(--moon); }
.moment-body p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Icon-led list rows (Listen / hero badges) ---------- */
.listen-item h3 { display: flex; align-items: center; gap: 10px; }
.listen-item h3 .ico { color: var(--teal-bright); }
.hero-badges span .ico { color: var(--teal); }

/* ---------- Donation buttons ----------
   One shared shape and weight so the two read as a matched pair; only the
   brand mark and the hover glow tell them apart. */
.btn-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 215px;
  padding: 14px 26px;
  border-radius: 100px;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-pay:hover { transform: translateY(-1px); background: #1b2a45; text-decoration: none; }
.btn-pay-paypal:hover { border-color: rgba(0, 156, 222, 0.55); box-shadow: 0 8px 26px rgba(0, 112, 186, 0.30); }
.btn-pay-btc:hover    { border-color: rgba(247, 147, 26, 0.55); box-shadow: 0 8px 26px rgba(247, 147, 26, 0.26); }

.pay-logo { width: 20px; height: 20px; flex-shrink: 0; }
.btn-pay-paypal .pay-logo { color: #009cde; }
.btn-pay-btc .pay-logo    { color: #f7931a; }

/* ---------- Donation nudge ---------- */
.donate-nudge {
  position: fixed;
  right: 20px;
  bottom: calc(var(--player-h) + 16px);
  z-index: 95;
  width: 320px;
  max-width: calc(100vw - 40px);
  padding: 18px 20px 20px;
  background: linear-gradient(160deg, rgba(23, 40, 66, 0.97), rgba(11, 18, 33, 0.97));
  border: 1px solid rgba(42, 181, 201, 0.32);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.donate-nudge.is-in { opacity: 1; transform: none; }
.donate-nudge-title { font-size: 15px; font-weight: 700; color: var(--moon); margin-bottom: 6px; }
.donate-nudge-text { font-size: 13.5px; line-height: 1.55; color: var(--text-dim); margin-bottom: 14px; }
.donate-nudge-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--teal);
  color: #041018;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 100px;
}
.donate-nudge-cta:hover { background: var(--teal-bright); text-decoration: none; }
.ico-heart { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.donate-nudge-x {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 21px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}
.donate-nudge-x:hover { color: var(--text); }
[dir="rtl"] .donate-nudge { right: auto; left: 20px; }
[dir="rtl"] .donate-nudge-x { right: auto; left: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .now-grid, .about-grid { grid-template-columns: 1fr; }
  .moon-glow { width: 120px; height: 120px; top: 10%; right: 6%; }
  section { padding: 56px 0; }
}

@media (max-width: 560px) {
  :root { --player-h: 74px; }
  .vol-wrap { display: none; }
  .nav .btn { display: none; }
  .lang-btn { padding: 6px 11px; font-size: 13px; }
  .hero-now { width: 100%; }
  .play-btn { width: 48px; height: 48px; min-width: 48px; }
  .player-listeners {
    display: block;
    font-size: 11px;
    color: var(--text-faint);
    white-space: nowrap;
  }
  .hero { padding-top: 110px; min-height: 84vh; }
  .hero-badges { gap: 12px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .support-box { padding: 36px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] {
  --font-body: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: 'Reem Kufi', 'Marcellus', 'Georgia', serif;
}
[dir="rtl"] body { line-height: 1.9; }
/* Latin letter-spacing breaks Arabic cursive joining — neutralise it on label text */
[dir="rtl"] .section-label,
[dir="rtl"] .hero-eyebrow,
[dir="rtl"] .np-label,
[dir="rtl"] .now-card h3,
[dir="rtl"] .player-station,
[dir="rtl"] .foot-col h4 { letter-spacing: 0; }
/* Mirror the pieces that don't flip automatically */
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-caret { margin-left: 0; margin-right: 1px; }
[dir="rtl"] .moon-glow { right: auto; left: 8%; }
[dir="rtl"] .quote p::before { content: '\201D'; margin-right: 0; margin-left: 3px; }
@media (max-width: 860px) {
  [dir="rtl"] .moon-glow { right: auto; left: 6%; }
}
