/* Flarefix landing page — v0.1 review build
   Brand: black base, FLARE white / FIX red, steel-blue accent, gold tagline. */
:root {
  --bg: #07070b;
  --panel: #101018;
  --panel-2: #14141f;
  --line: #262633;
  --text: #f2f2f5;
  --muted: #a7a7b5;
  --red: #ff2d20;
  --blue: #3e8bff;
  --gold: #e9b949;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 5vw;
  background: rgba(7, 7, 11, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.wordmark { font-weight: 900; letter-spacing: 2px; font-size: 22px; text-decoration: none; }
.wordmark span { color: var(--red); }
.site-header nav a {
  margin-left: 26px; text-decoration: none; color: var(--muted);
  font-size: 15px; letter-spacing: .4px;
}
.site-header nav a:hover { color: var(--text); }

/* hero */
.hero {
  text-align: center;
  padding: 72px 5vw 64px;
  background:
    radial-gradient(600px 340px at 12% 30%, rgba(255, 45, 32, .14), transparent 70%),
    radial-gradient(600px 340px at 88% 30%, rgba(62, 139, 255, .14), transparent 70%);
}
.hero-logo {
  width: 168px; height: 168px; object-fit: cover;
  border-radius: 28px; margin: 0 auto 26px;
  border: 1px solid var(--line);
}
.masthead { font-size: clamp(52px, 9vw, 104px); font-weight: 900; letter-spacing: 3px; line-height: 1; }
.masthead span { color: var(--red); }
.kicker { letter-spacing: 8px; color: var(--muted); font-size: clamp(13px, 2.4vw, 18px); margin-top: 12px; }
.tagline { color: var(--gold); font-weight: 700; font-size: clamp(20px, 3.6vw, 30px); margin-top: 20px; }
.hero-sub { color: var(--muted); max-width: 640px; margin: 14px auto 0; font-size: clamp(15px, 2.4vw, 18px); }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 12px 24px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; border: 1px solid var(--line);
}
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }

/* sections */
.section { max-width: 1080px; margin: 0 auto; padding: 56px 5vw 8px; }
.section-title {
  font-size: clamp(26px, 4.4vw, 36px); font-weight: 800; letter-spacing: .5px;
  margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--red);
  display: inline-block;
}

/* episode */
.episode-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden;
}
.episode-card img { width: 100%; height: 300px; object-fit: cover; object-position: center 30%; }
.episode-body { padding: 24px 26px 28px; }
.episode-meta { color: var(--gold); font-size: 13px; letter-spacing: 1.6px; font-weight: 700; }
.episode-body h3 { font-size: clamp(21px, 3.4vw, 27px); margin: 8px 0 10px; }
.episode-body p { color: var(--muted); }
.chip {
  display: inline-block; margin-top: 16px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold); font-size: 13px; font-weight: 700;
  letter-spacing: .4px;
}

/* about */
.about-text { color: var(--muted); font-size: clamp(15px, 2.5vw, 18px); max-width: 820px; }

/* hosts */
.host-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.host-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; text-align: center;
}
.host-arjun { border-top: 4px solid var(--red); }
.host-meera { border-top: 4px solid var(--blue); }
.host-card img {
  width: 190px; height: 190px; object-fit: cover; border-radius: 50%;
  margin: 4px auto 16px; border: 3px solid var(--line);
}
.host-card h3 { letter-spacing: 3px; font-size: 22px; }
.host-role { color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin: 2px 0 10px; }
.host-card p { color: var(--muted); font-size: 15px; }

/* ethos */
.ethos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ethos-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.ethos-card h3 { color: var(--gold); font-size: 19px; margin-bottom: 8px; }
.ethos-card p { color: var(--muted); font-size: 15px; }

/* footer */
.site-footer {
  margin-top: 72px; text-align: center; padding: 42px 5vw 48px;
  border-top: 1px solid var(--line); color: var(--muted);
}
.site-footer .wordmark { color: var(--text); display: inline-block; margin-bottom: 6px; }
.footer-small { font-size: 13px; margin-top: 8px; }

/* mobile */
@media (max-width: 720px) {
  .site-header nav a { margin-left: 16px; font-size: 14px; }
  .host-grid, .ethos-grid { grid-template-columns: 1fr; }
  .episode-card img { height: 210px; }
  .hero { padding-top: 52px; }
}

/* v0.2 additions — philosophy, platforms, founders, donate */
.nav-donate {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 5px 14px; border-radius: 999px; font-weight: 700;
}
.chip-link { text-decoration: none; margin-left: 8px; }
.chip-link:hover { background: rgba(233, 185, 73, .12); }
.btn-spotify { background: #1db954; border-color: #1db954; color: #04160a; }
.btn-spotify:hover { filter: brightness(1.1); }
.btn-youtube { background: var(--red); border-color: var(--red); color: #fff; }
.btn-youtube:hover { filter: brightness(1.1); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #171106; }
.btn-gold:hover { filter: brightness(1.08); }
.philosophy-text { max-width: 840px; }
.philosophy-text p { color: var(--muted); font-size: clamp(15px, 2.5vw, 18px); margin-bottom: 16px; }
.philosophy-text strong { color: var(--text); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.platform-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; display: flex; flex-direction: column;
}
.platform-spotify { border-top: 4px solid #1db954; }
.platform-youtube { border-top: 4px solid var(--red); }
.platform-instagram { border-top: 4px solid var(--gold); }
.platform-card h3 { font-size: 22px; letter-spacing: .5px; }
.platform-name { color: var(--gold); font-weight: 700; margin: 2px 0 10px; }
.platform-card p { color: var(--muted); font-size: 15px; }
.platform-card .btn { margin-top: 16px; align-self: flex-start; }
.platform-note { margin-top: 12px; font-size: 13px !important; }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.founder-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; text-align: center;
}
.monogram {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; font-weight: 900; letter-spacing: 1px; color: var(--gold);
  border: 2px solid var(--gold); background: var(--panel-2);
}
.founder-photo {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 14px;
  display: block; object-fit: cover;
  border: 2px solid var(--gold); background: var(--panel-2);
}
.founder-card h3 { letter-spacing: 2.5px; font-size: 21px; }
.founder-role { color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin: 2px 0 10px; }
.founder-card p { color: var(--muted); font-size: 15px; }
.founder-note { font-size: 13px !important; margin-top: 8px; font-style: italic; }
.support-card {
  background: var(--panel-2); border: 1px solid var(--gold); border-radius: 18px;
  padding: 30px; text-align: center;
}
.support-card h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 10px; }
.support-card p { color: var(--muted); max-width: 640px; margin: 0 auto 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.donate-hero { text-align: center; padding-top: 64px; }
.donate-title { font-size: clamp(38px, 7vw, 68px); font-weight: 900; line-height: 1.12; margin-top: 14px; }
.donate-lead { color: var(--gold); font-size: clamp(17px, 3vw, 22px); font-weight: 700; margin-top: 16px; }
.principle-card {
  background: var(--panel); border: 1px solid var(--gold); border-radius: 18px;
  padding: 26px 28px; margin: 28px 0; max-width: 840px;
}
.principle-card h2 { color: var(--gold); font-size: 24px; margin-bottom: 10px; }
.principle-card p { color: var(--muted); margin-bottom: 10px; }
.principle-card strong { color: var(--text); }
.donate-box {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 28px; max-width: 840px;
}
.donate-box h2 { font-size: 22px; margin-bottom: 10px; }
.donate-box p { color: var(--muted); margin-bottom: 12px; }
.donate-thanks { color: var(--gold) !important; font-weight: 700; }
@media (max-width: 720px) {
  .platform-grid, .founder-grid { grid-template-columns: 1fr; }
  .site-header nav a { margin-left: 13px; }
}

/* v0.3 additions — logo glow animation + subscribe form */
.logo-wrap { position: relative; width: fit-content; margin: 0 auto 18px; isolation: isolate; }
.logo-wrap .hero-logo { margin: 0; animation: logobreathe 3.6s ease-in-out infinite; }
.logo-wrap::after {
  content: ""; position: absolute; inset: -16px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(225, 29, 42, .38) 0%, rgba(233, 185, 73, .20) 48%, transparent 70%);
  animation: logopulse 3.6s ease-in-out infinite;
}
@keyframes logopulse { 0%, 100% { transform: scale(.95); opacity: .5; } 50% { transform: scale(1.09); opacity: .95; } }
@keyframes logobreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) {
  .logo-wrap .hero-logo, .logo-wrap::after { animation: none; }
}
.subscribe-card {
  background: var(--panel); border: 1px solid var(--gold); border-radius: 18px; padding: 28px;
}
.subscribe-text, .subscribe-future { color: var(--muted); font-size: 16px; margin-bottom: 12px; max-width: 720px; }
.subscribe-text strong, .subscribe-future strong { color: var(--text); }
.subscribe-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; max-width: 720px; }
.subscribe-form input {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; color: var(--text); font-size: 15px; width: 100%;
}
.subscribe-form input::placeholder { color: var(--muted); }
.subscribe-form input:focus { outline: 2px solid var(--gold); border-color: transparent; }
.subscribe-form .field-wide { grid-column: 1 / -1; }
.subscribe-form button { cursor: pointer; font-size: 16px; }
.hidden-field { display: none; }
.subscribe-note { color: var(--muted); font-size: 13px; margin-top: 14px; }
@media (max-width: 720px) { .subscribe-form { grid-template-columns: 1fr; } }

/* episodes archive (data-driven) */
.episodes-intro { color: var(--muted); margin-bottom: 18px; }
.ep-row {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 12px;
}
.ep-meta { color: var(--gold); font-size: 12px; letter-spacing: 1.4px; font-weight: 700; }
.ep-title { font-size: 17px; font-weight: 600; margin-top: 4px; }
.ep-actions { flex-shrink: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ep-actions .chip-link { margin-left: 0; }
.ep-pager { display: flex; gap: 8px; justify-content: center; margin: 20px 0 10px; flex-wrap: wrap; }
.pg-btn {
  background: var(--panel); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 14px; font-size: 14px; font-weight: 700; cursor: pointer;
}
.pg-btn:hover { border-color: var(--muted); }
.pg-btn.active { background: var(--gold); color: #141005; border-color: var(--gold); }
.pg-btn[disabled] { opacity: .4; cursor: default; }
.subscribe-msg { color: var(--gold); margin-top: 12px; font-weight: 600; }
.upi-box {
  display: block; margin: 12px auto; padding: 12px 18px; max-width: 420px;
  border: 1px solid var(--gold); border-radius: 12px; color: var(--gold);
  font-size: 19px; font-weight: 800; letter-spacing: .6px; text-align: center;
}
@media (max-width: 640px) {
  .ep-row { flex-direction: column; align-items: flex-start; }
  .ep-actions { margin-top: 6px; }
}
