/* ============================================================
   HERITAGE ICC — LIVE
   Urban-gospel streaming aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* base */
  --bg:        #0b0b0d;
  --bg-2:      #111114;
  --surface:   #16161b;
  --surface-2: #1c1c22;
  --line:      #2a2a31;
  --line-soft: #ffffff14;

  /* text */
  --text:      #f4f3ee;
  --muted:     #9a9a93;
  --faint:     #65655f;

  /* accents (overridable via tweaks) */
  --acid:      #c6f24e;   /* electric lime — primary urban accent */
  --acid-deep: #9fd11f;
  --gold:      #f0a73c;   /* heritage warmth */
  --live:      #ff3b30;   /* LIVE red */
  --ink-on-acid: #0b0b0d;

  /* type */
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --ui: 'Space Grotesk', system-ui, sans-serif;

  --maxw: 1480px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* concrete grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--acid); color: var(--ink-on-acid); }

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker .dot { color: var(--acid); }

.display {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -0.01em;
  font-weight: 400;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(18px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .bar {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--acid);
  color: var(--ink-on-acid);
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  border-radius: 9px;
  transform: skewX(-6deg);
  box-shadow: 0 0 0 1px #0006 inset;
}
.brand .mark span { transform: skewX(6deg); }
.brand .logo-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; transform: none; background: #0b0b0d;
  box-shadow: 0 0 0 1px var(--line), 0 4px 14px -6px #000;
}
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word b {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: .01em;
}
.brand .word small {
  font-size: 9.5px; font-weight: 700; letter-spacing: .3em;
  color: var(--muted); margin-top: 3px;
}

.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 13.5px; font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: #ffffff0a; }
.nav a.active { color: var(--text); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--acid); border-radius: 2px;
}
.nav a .pip {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--live); margin-left: 6px; vertical-align: middle;
  animation: pulse 1.6s infinite;
}

.head-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; color: var(--muted);
  border: 1px solid var(--line);
  transition: .18s;
}
.icon-btn:hover { color: var(--text); border-color: var(--acid); background: #ffffff08; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 11px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .02em;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-give {
  background: var(--gold); color: #1a1205;
  box-shadow: 0 6px 22px -8px var(--gold);
}
.btn-give:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px var(--gold); }
.btn-acid { background: var(--acid); color: var(--ink-on-acid); }
.btn-acid:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--acid); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--acid); background: #ffffff08; }

.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #b9521f);
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: #1a1205;
  border: 1px solid #ffffff22;
}

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.ticker {
  background: var(--acid);
  color: var(--ink-on-acid);
  overflow: hidden;
  border-bottom: 1px solid #0003;
  position: relative;
}
.ticker .track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 38s linear infinite;
}
.ticker:hover .track { animation-play-state: paused; }
.ticker .item {
  display: flex; align-items: center; gap: 14px;
  padding: 9px 26px;
  font-weight: 700; font-size: 12.5px; letter-spacing: .12em;
  text-transform: uppercase; white-space: nowrap;
}
.ticker .item svg { opacity: .8; }
.ticker .star { font-size: 11px; }

/* ============================================================
   HERO / LIVE
   ============================================================ */
.live-wrap {
  position: relative;
  padding: 26px 0 40px;
}
/* graffiti backdrop word */
.ghost-word {
  position: absolute;
  font-family: var(--display);
  font-size: clamp(120px, 20vw, 360px);
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff0c;
  letter-spacing: -.02em;
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  top: -40px; left: -20px;
}
.glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 620px; height: 620px; border-radius: 50%;
  filter: blur(90px); opacity: .28;
  background: radial-gradient(circle, var(--acid), transparent 65%);
  top: -160px; right: -120px;
  animation: drift 16s ease-in-out infinite alternate;
}
.glow.gold {
  background: radial-gradient(circle, var(--gold), transparent 65%);
  left: -160px; top: 280px; right: auto; opacity: .22;
  animation-delay: -6s;
}

.live-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
  align-items: start;
}
.live-grid.solo { grid-template-columns: 1fr; max-width: 1180px; margin: 0 auto; }

/* ---- player ---- */
.player {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 40px 90px -40px #000;
}
.player .still {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.player .still image-slot { width: 100%; height: 100%; display: block; }
.player .stream {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none; display: block; z-index: 1;
}
.p-overlay.deco { pointer-events: none; }
.p-overlay.deco .p-top { pointer-events: none; }

/* secondary stream */
.second-stream { margin-top: 46px; }
.second-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.second-note { color: var(--muted); font-size: 13.5px; font-weight: 500; }
/* fallback designed still */
.player .still .gen {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 75% 15%, #2a3a17 0%, transparent 45%),
    radial-gradient(140% 120% at 15% 90%, #3a1d0c 0%, transparent 50%),
    linear-gradient(160deg, #14140f, #050505);
}
.player .scan {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent 50%, #00000022 50%);
  background-size: 100% 4px; opacity: .35;
}
.player .vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, #000a 100%);
}

.p-overlay { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; }
.p-top { display: flex; justify-content: space-between; padding: 16px; }

.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--live); color: #fff;
  font-weight: 700; font-size: 12px; letter-spacing: .14em;
  padding: 7px 12px; border-radius: 8px;
  box-shadow: 0 6px 20px -6px var(--live);
}
.live-badge .d { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }

.viewers {
  display: inline-flex; align-items: center; gap: 8px;
  background: #000000a8; backdrop-filter: blur(8px);
  border: 1px solid #ffffff1f;
  font-weight: 600; font-size: 12.5px;
  padding: 7px 12px; border-radius: 8px;
}
.viewers .eye { color: var(--acid); display: grid; place-items: center; }

.p-center { flex: 1; display: grid; place-items: center; }
.play-btn {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--acid); color: var(--ink-on-acid);
  display: grid; place-items: center;
  box-shadow: 0 0 0 0 var(--acid);
  transition: transform .2s;
  animation: ring 2.6s infinite;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { margin-left: 4px; }
.play-btn.playing { opacity: 0; pointer-events: none; }

.p-bottom { padding: 14px 16px; background: linear-gradient(transparent, #000c); }
.p-controls { display: flex; align-items: center; gap: 16px; }
.p-controls button { color: #fff; display: grid; place-items: center; opacity: .9; transition: .15s; }
.p-controls button:hover { opacity: 1; color: var(--acid); }
.p-bar {
  flex: 1; height: 5px; border-radius: 4px;
  background: #ffffff2e; position: relative; overflow: hidden;
}
.p-bar .live-fill {
  position: absolute; inset: 0; width: 100%;
  background: linear-gradient(90deg, var(--live), #ff7a72);
}
.p-bar .live-fill::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 11px; height: 11px;
  border-radius: 50%; background: #fff;
}
.p-time { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; color: #fff; }
.p-time .red { color: var(--live); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.eq i { width: 3px; background: var(--acid); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2){ animation-delay: .2s } .eq i:nth-child(3){ animation-delay: .4s }
.eq i:nth-child(4){ animation-delay: .1s } .eq i:nth-child(5){ animation-delay: .5s }

/* ---- now-playing title block ---- */
.now {
  margin-top: 18px;
  display: flex; align-items: flex-start; gap: 22px; flex-wrap: wrap;
}
.now .meta { flex: 1; min-width: 280px; }
.series-tag {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--acid); margin-bottom: 12px;
}
.series-tag::before { content: ""; width: 22px; height: 2px; background: var(--acid); }
.now h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: .9; text-transform: uppercase; letter-spacing: -.01em;
}
.now h1 em { font-style: normal; color: var(--acid); }
.now .by { margin-top: 14px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 600; font-size: 14px; flex-wrap: wrap; }
.now .by .who { color: var(--text); }
.now .by .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }

.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border-radius: 11px;
  border: 1px solid var(--line); color: var(--text);
  font-weight: 600; font-size: 13px;
  transition: .18s;
}
.chip-btn:hover { border-color: var(--acid); background: #ffffff08; transform: translateY(-2px); }
.chip-btn.on { color: var(--acid); border-color: var(--acid); }

/* ============================================================
   LIVE CHAT
   ============================================================ */
.chat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  height: 100%;
  max-height: calc(100% );
  min-height: 520px;
  overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.chat-head b { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.chat-head .online { margin-left: auto; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); font-weight: 600; }
.chat-head .online .d { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); animation: pulse 1.8s infinite; }

.chat-body {
  flex: 1; overflow-y: auto; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 13px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }

.msg { display: flex; gap: 10px; }
.js-anim .msg { animation: msgin .35s ease both; }
.msg .ava {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #0b0b0d;
}
.msg .body { font-size: 13.5px; line-height: 1.45; }
.msg .body .name { font-weight: 700; margin-right: 7px; }
.msg .body .name.mod { color: var(--acid); }
.msg .body .name.gold { color: var(--gold); }
.msg .body .tag {
  font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 1px 5px; border-radius: 4px; vertical-align: middle; margin-right: 6px;
}
.msg .body .tag.mod { background: var(--acid); color: #0b0b0d; }
.msg .body .tag.pastor { background: var(--gold); color: #1a1205; }
.msg .body .txt { color: var(--text); }
.msg.amen .body .txt { color: var(--gold); font-weight: 600; }

.chat-foot { padding: 12px; border-top: 1px solid var(--line); }
.chat-input {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 11px;
  padding: 6px 6px 6px 14px;
}
.chat-input input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: inherit; font-size: 13.5px; }
.chat-input input::placeholder { color: var(--faint); }
.chat-input .send {
  width: 34px; height: 34px; border-radius: 8px; background: var(--acid); color: #0b0b0d;
  display: grid; place-items: center; transition: .15s;
}
.chat-input .send:hover { transform: scale(1.06); }
.chat-react { display: flex; gap: 6px; margin-top: 10px; }
.chat-react button {
  flex: 1; padding: 8px; border-radius: 9px; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--muted); transition: .15s;
}
.chat-react button:hover { border-color: var(--acid); color: var(--text); background: #ffffff06; }
.float-emoji { position: absolute; pointer-events: none; font-size: 22px; animation: floatup 1.6s ease-out forwards; z-index: 5; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 64px 0; position: relative; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 {
  font-family: var(--display); text-transform: uppercase; white-space: nowrap;
  font-size: clamp(34px, 4.6vw, 64px); line-height: .88; letter-spacing: -.01em;
}
.sec-head h2 em { font-style: normal; -webkit-text-stroke: 1.5px var(--text); color: transparent; }
.sec-head .lead { color: var(--muted); font-size: 14px; max-width: 360px; font-weight: 500; }

/* filter chips + search */
.archive-tools { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 16px; min-width: 260px; flex: 1; max-width: 400px;
}
.search input { background: none; border: none; outline: none; color: var(--text); font-family: inherit; font-size: 14px; flex: 1; }
.search input::placeholder { color: var(--faint); }
.search svg { color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); color: var(--muted); transition: .15s;
}
.filters button:hover { color: var(--text); border-color: var(--text); }
.filters button.active { background: var(--acid); color: var(--ink-on-acid); border-color: var(--acid); }

/* ---- sermon grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .25s;
}
.js-anim .card { animation: cardin .5s ease both; }
.card:hover { transform: translateY(-6px); border-color: var(--acid); box-shadow: 0 30px 60px -30px #000; }
.card .thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
}
.card .thumb .cover { position: absolute; inset: 0; transition: transform .5s; }
.card:hover .thumb .cover { transform: scale(1.06); }
.card .thumb .grad { position: absolute; inset: 0; }
.card .thumb .tex { position: absolute; inset: 0; mix-blend-mode: overlay; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.card .thumb .dur {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  background: #000000c2; backdrop-filter: blur(4px); border: 1px solid #ffffff1a;
  font-size: 11.5px; font-weight: 700; padding: 4px 8px; border-radius: 6px; letter-spacing: .04em;
}
.card .thumb .cat {
  position: absolute; left: 10px; top: 10px; z-index: 3;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; background: #0b0b0db0; backdrop-filter: blur(4px);
  border: 1px solid #ffffff1f; color: var(--acid);
}
.card .thumb .bigword {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  font-family: var(--display); font-size: clamp(28px, 4vw, 50px); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.2px #ffffff2e; letter-spacing: -.01em;
  text-align: center; padding: 10px; line-height: .9;
}
.card .thumb .playo {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center;
  opacity: 0; transition: opacity .25s;
}
.card:hover .thumb .playo { opacity: 1; }
.card .thumb .playo span {
  width: 56px; height: 56px; border-radius: 50%; background: var(--acid); color: #0b0b0d;
  display: grid; place-items: center; transform: scale(.7); transition: transform .25s;
}
.card:hover .thumb .playo span { transform: scale(1); }
.card .info { padding: 16px; }
.card .info h3 { font-size: 16.5px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.card .info .sub { margin-top: 7px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.card .info .sub .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

/* ---- schedule / up next rail ---- */
.rail { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail::-webkit-scrollbar { height: 6px; } .rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.up-card {
  flex: 0 0 300px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px; transition: .2s; position: relative; overflow: hidden;
}
.up-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.up-card .when { font-family: var(--display); font-size: 30px; color: var(--gold); text-transform: uppercase; line-height: .9; }
.up-card .day { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.up-card h4 { font-size: 16px; font-weight: 700; margin-top: 10px; }
.up-card p { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.5; }
.up-card .remind { margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--acid); display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }

/* ---- series feature ---- */
.series-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.series-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 320px; border: 1px solid var(--line); display: flex; align-items: flex-end;
  transition: .25s;
}
.series-card:hover { transform: translateY(-5px); border-color: var(--acid); }
.series-card .bg { position: absolute; inset: 0; z-index: 0; }
.series-card .shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 20%, #000 96%); }
.series-card .c { position: relative; z-index: 2; padding: 24px; display: flex; flex-direction: column; }
.series-card .n { font-family: var(--display); font-size: 13px; color: var(--acid); letter-spacing: .06em; }
.series-card h3 { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; line-height: .96; margin: 6px 0 12px; }
.series-card p { color: #cfcfca; font-size: 13px; line-height: 1.5; max-width: 320px; }
.series-card .ep { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   GIVING PANEL (slide-in)
   ============================================================ */
.give-scrim {
  position: fixed; inset: 0; z-index: 400; background: #000000aa; backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.give-scrim.open { opacity: 1; pointer-events: auto; }
.give-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 401; width: 420px; max-width: 92vw;
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; padding: 26px;
  overflow-y: auto;
}
.give-panel.open { transform: translateX(0); }
.give-panel .gh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.give-panel .gh .kicker { color: var(--gold); }
.give-panel h2 { font-family: var(--display); text-transform: uppercase; font-size: 42px; line-height: .9; margin: 8px 0 6px; }
.give-panel .gsub { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin-bottom: 22px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.amounts button {
  padding: 18px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  font-family: var(--display); font-size: 26px; color: var(--text); transition: .15s;
}
.amounts button:hover { border-color: var(--gold); }
.amounts button.sel { background: var(--gold); color: #1a1205; border-color: var(--gold); }
.give-field { margin-bottom: 14px; }
.give-field label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.give-field .custom { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.give-field .custom span { font-family: var(--display); font-size: 24px; color: var(--muted); }
.give-field .custom input { background: none; border: none; outline: none; color: var(--text); font-family: var(--display); font-size: 24px; width: 100%; }
.give-field select { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 14px; font-weight: 600; }
.give-cta { margin-top: auto; }
.give-cta .btn-give { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }
.give-cta .secure { text-align: center; color: var(--faint); font-size: 11.5px; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 7px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 30px; position: relative; overflow: hidden; }
.foot .ghost-word { top: auto; bottom: -70px; left: 50%; transform: translateX(-50%); opacity: 1; }
.foot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot h5 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot ul a { color: var(--text); font-size: 14px; font-weight: 500; opacity: .82; transition: .15s; }
.foot ul a:hover { opacity: 1; color: var(--acid); }
.foot .about p { color: var(--muted); font-size: 13.5px; line-height: 1.6; max-width: 280px; margin-top: 14px; }
.foot .socials { display: flex; gap: 10px; margin-top: 18px; }
.foot .socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .15s; }
.foot .socials a:hover { color: var(--acid); border-color: var(--acid); transform: translateY(-3px); }
.foot-bottom { position: relative; z-index: 1; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 12.5px; }
.foot .times { display: flex; flex-direction: column; gap: 6px; }
.foot .times .t { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.foot .times .t b { color: var(--gold); font-family: var(--display); font-size: 17px; min-width: 92px; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 #c6f24e88; }
  70% { box-shadow: 0 0 0 22px #c6f24e00; }
  100% { box-shadow: 0 0 0 0 #c6f24e00; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px, 40px) scale(1.12); } }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 16px; } }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cardin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floatup { 0% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-90px) scale(1.5); } }
@keyframes reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.js-anim .reveal { animation: reveal .7s cubic-bezier(.2,.7,.2,1) both; }
.js-anim .reveal.d1 { animation-delay: .08s; } .js-anim .reveal.d2 { animation-delay: .16s; }
.js-anim .reveal.d3 { animation-delay: .24s; } .js-anim .reveal.d4 { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
  .ticker .track { animation: none; }
}

/* tweak states */
body.no-motion *, body.no-motion *::before, body.no-motion *::after {
  animation-duration: .001s !important; animation-iteration-count: 1 !important;
  transition-duration: .05s !important;
}
body.no-motion .ticker .track { animation: marquee 38s linear infinite !important; }
.ghost-word.hidden { display: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px);
  z-index: 500; background: var(--surface-2); border: 1px solid var(--acid);
  color: var(--text); padding: 13px 20px; border-radius: 12px;
  display: flex; align-items: center; font-weight: 600; font-size: 14px;
  box-shadow: 0 20px 50px -20px #000; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .live-grid { grid-template-columns: 1fr; }
  .chat { min-height: 440px; max-height: 440px; }
  .series-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .head-right .btn-give span.lbl { display: none; }
  .series-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .now h1 { font-size: 13vw; }
  .sec-head h2 { white-space: normal; }
  .head-right .hide-sm { display: none; }
}
