:root {
  --forest: #1c3a2e;
  --forest-2: #24503c;
  --ochre: #c9772e;
  --ochre-2: #e0913f;
  --sand: #f4e6cf;
  --sand-2: #efd9b4;
  --clay: #a8442a;
  --leaf: #6fae5b;
  --ink: #2a1c12;
  --cream: #fbf3e4;
  --shadow: rgba(28, 20, 12, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--cream);
  background: #0e1c15;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Full-screen rotating screensaver backdrop ---------- */
#backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #0e1c15;
}

.scene {
  position: absolute;
  inset: -4%;
  opacity: 0;
  transition: opacity 2.6s ease-in-out;
  background-size: cover;
  background-position: center;
  animation: kenburns 26s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.scene.active { opacity: 1; }

@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -1%); }
}

/* Jharkhand-themed gradient "photos" — swap for real images via BACKDROPS in script.js */
.scene-1 { /* dawn over sal forest */
  background:
    radial-gradient(80% 55% at 50% 12%, #ffd68a 0%, #e08a3f 26%, transparent 60%),
    linear-gradient(180deg, #f3b56b 0%, #6b7c4a 42%, #24402b 72%, #16281c 100%);
}
.scene-2 { /* golden-hour hills */
  background:
    radial-gradient(70% 60% at 78% 30%, #ffcf7a 0%, transparent 55%),
    linear-gradient(180deg, #caa15a 0%, #a8722f 38%, #5c4a2a 70%, #241a10 100%);
}
.scene-3 { /* Sarhul festival dusk */
  background:
    radial-gradient(75% 55% at 30% 22%, #ff9d5c 0%, #c9452a 34%, transparent 62%),
    linear-gradient(180deg, #b8462b 0%, #7a2f28 44%, #38201f 76%, #1c1113 100%);
}
.scene-4 { /* starry tribal night */
  background:
    radial-gradient(60% 40% at 50% 8%, #3a5f77 0%, transparent 55%),
    linear-gradient(180deg, #14304a 0%, #142238 45%, #0e1524 78%, #080b12 100%);
}
.scene-4::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 65% 18%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 40% 42%, #ffe9c2, transparent),
    radial-gradient(1px 1px at 82% 36%, #fff, transparent),
    radial-gradient(1px 1px at 12% 55%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 55% 60%, #fff, transparent);
  opacity: 0.8;
}
.scene-5 { /* monsoon green paddy */
  background:
    radial-gradient(70% 50% at 50% 16%, #cfe7a6 0%, transparent 55%),
    linear-gradient(180deg, #7fae52 0%, #3f7a3c 40%, #244f2c 72%, #142a19 100%);
}

.backdrop-grain {
  position: absolute; inset: 0;
  opacity: 0.06;
  background-image: repeating-conic-gradient(#fff 0 0.0006turn, #000 0 0.0012turn);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.backdrop-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(8,12,10,0.55) 100%),
    linear-gradient(180deg, rgba(8,12,10,0.35), rgba(8,12,10,0.72));
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scene { animation: none; }
}

#yt-player {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- In-app browser popup ---------- */
.browser-modal[hidden] { display: none !important; }

.browser-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(6, 12, 9, 0.78);
  backdrop-filter: blur(6px);
}

.bm-card {
  width: 100%;
  max-width: 360px;
  text-align: center;
  background: linear-gradient(160deg, #223f31, #16281c);
  border: 1px solid #ffffff24;
  border-radius: 22px;
  padding: 2rem 1.6rem 1.6rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.bm-icon { font-size: 2.6rem; margin-bottom: 0.6rem; }

.bm-title {
  font-family: "Baloo 2", cursive;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--cream);
  margin: 0 0 0.6rem;
}

.bm-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--sand);
  opacity: 0.92;
  margin: 0 0 1.3rem;
}
.bm-text b { color: var(--ochre-2); }

.bm-open {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 1.15rem;
  color: #2a1c12;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ochre-2), var(--ochre));
  box-shadow: 0 8px 20px #c9772e66, inset 0 1px 0 #ffffff55;
}
.bm-open:active { transform: scale(0.98); }

.bm-hint {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--sand-2);
  opacity: 0.8;
  margin: 1.1rem 0 0.4rem;
}
.bm-hint b { color: var(--cream); }
.bm-hint.pulse {
  animation: hintPulse 1s ease-in-out 3;
  opacity: 1;
}
@keyframes hintPulse {
  0%, 100% { color: var(--sand-2); }
  50% { color: var(--ochre-2); }
}

.bm-stay {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sand-2);
  opacity: 0.55;
  font-size: 0.8rem;
  text-decoration: underline;
  margin-top: 0.4rem;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid #ffffff14;
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, #12241ce6, #12241cb3);
}

.brand { display: flex; align-items: center; gap: 0.55rem; }

.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
  box-shadow: 0 2px 8px #0006;
}

.brand-name {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.brand-name .dot { color: var(--leaf); }

.nav-links {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--ochre-2); }

.status-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--sand-2);
  width: 100%;
  justify-content: flex-end;
}

.status-strip .sep { opacity: 0.4; }

.listeners { display: inline-flex; align-items: center; gap: 0.4rem; }

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 0 #6fae5b99;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #6fae5baa; }
  70% { box-shadow: 0 0 0 8px #6fae5b00; }
  100% { box-shadow: 0 0 0 0 #6fae5b00; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 3.5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-art { display: none; }

.hero-art .sun {
  position: absolute;
  top: 6%; left: 50%;
  transform: translateX(-50%);
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd88a 0%, #e0913f 45%, transparent 72%);
  filter: blur(2px);
  opacity: 0.55;
}

.hero-art .hills {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 46%;
  background:
    radial-gradient(60% 120% at 20% 100%, #2c5a44 0%, transparent 60%),
    radial-gradient(60% 120% at 80% 100%, #24503c 0%, transparent 60%);
  opacity: 0.7;
}

.hero-art .trees {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 90px;
  background-image:
    radial-gradient(circle at 10% 100%, #14261d 0 14px, transparent 15px),
    radial-gradient(circle at 25% 100%, #16302655 0 22px, transparent 23px),
    radial-gradient(circle at 45% 100%, #14261d 0 18px, transparent 19px),
    radial-gradient(circle at 70% 100%, #16302655 0 24px, transparent 25px),
    radial-gradient(circle at 88% 100%, #14261d 0 16px, transparent 17px);
  opacity: 0.8;
}

.sohrai-band {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 26px;
  background:
    repeating-linear-gradient(90deg, var(--clay) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(90deg, transparent 0 7px, var(--ochre) 7px 21px, transparent 21px 28px);
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  color: var(--ochre-2);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--cream);
}

.hero h1 .hl { color: var(--ochre-2); }

.tagline {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--sand);
  max-width: 620px;
  margin: 0 auto 2rem;
  opacity: 0.92;
}

/* ---------- Player ---------- */
.player {
  background: #ffffff0d;
  border: 1px solid #ffffff1f;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px var(--shadow);
  backdrop-filter: blur(8px);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: none;
  cursor: pointer;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 1.15rem;
  color: #2a1c12;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ochre-2), var(--ochre));
  box-shadow: 0 8px 20px #c9772e66, inset 0 1px 0 #ffffff55;
  transition: transform 0.15s, box-shadow 0.2s;
}

.play-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px #c9772e88; }
.play-btn:active { transform: translateY(0); }
.play-btn .play-icon { font-size: 0.95rem; }
.play-btn.playing { background: linear-gradient(135deg, var(--leaf), #4e8f3e); box-shadow: 0 8px 20px #6fae5b55; }

.now-playing { margin-top: 1.3rem; }

.np-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.66rem;
  color: var(--ochre-2);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.np-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
  min-height: 1.4em;
}

.progress { margin-top: 0.9rem; }

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: #ffffff1f;
  overflow: hidden;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ochre-2), var(--leaf));
  transition: width 0.25s linear;
}

.progress-time {
  text-align: center;
  font-size: 0.72rem;
  color: var(--sand-2);
  opacity: 0.75;
  margin-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.np-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ctrl {
  background: #ffffff12;
  border: 1px solid #ffffff26;
  color: var(--cream);
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}

.ctrl:hover { background: #ffffff26; }
.ctrl:active { transform: scale(0.94); }

.volume-wrap { display: inline-flex; align-items: center; gap: 0.4rem; }
.volume-wrap .vol-ico { font-size: 0.95rem; }

#volume {
  -webkit-appearance: none;
  appearance: none;
  width: 120px;
  height: 5px;
  border-radius: 999px;
  background: #ffffff2e;
  outline: none;
}

#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ochre-2);
  cursor: pointer;
  box-shadow: 0 1px 4px #0006;
}

#volume::-moz-range-thumb {
  width: 16px; height: 16px;
  border: none;
  border-radius: 50%;
  background: var(--ochre-2);
  cursor: pointer;
}

.wa-btn {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--leaf);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px dashed #6fae5b66;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.wa-btn:hover { color: #8fd07a; }

/* ---------- Chatter ---------- */
.chatter { padding: 1rem 1.5rem 2.5rem; display: flex; justify-content: center; }

.chatter-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 560px;
  width: 100%;
  background: linear-gradient(135deg, #ffffff12, #ffffff08);
  border: 1px solid #ffffff1f;
  border-left: 4px solid var(--ochre);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  transition: opacity 0.4s;
}

.chatter-avatar { font-size: 2rem; }
.chatter-who { font-weight: 600; color: var(--ochre-2); font-size: 0.85rem; }
.chatter-line { font-size: 1.02rem; color: var(--sand); font-style: italic; }

/* ---------- Info sections ---------- */
.info {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.6rem 1.5rem;
}

.info-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ochre-2);
  margin-bottom: 0.6rem;
}
.info-kicker.center { display: block; text-align: center; }

.info h2 {
  font-family: "Baloo 2", cursive;
  color: var(--cream);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.info p { line-height: 1.75; color: var(--sand); opacity: 0.92; margin: 0; }

/* About — glassy card */
.info-card {
  background: linear-gradient(135deg, #ffffff12, #ffffff07);
  border: 1px solid #ffffff1f;
  border-radius: 20px;
  padding: 1.8rem 1.8rem;
  box-shadow: 0 18px 44px var(--shadow);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--ochre-2), var(--leaf));
}

/* FAQ — grid of cards */
.faq-heading { text-align: center; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.4rem;
}

.faq-item {
  background: #ffffff0d;
  border: 1px solid #ffffff17;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  transition: transform 0.18s, border-color 0.2s, background 0.2s;
}
.faq-item:hover {
  transform: translateY(-3px);
  border-color: #e0913f66;
  background: #ffffff14;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cream);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.q-mark {
  flex: none;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ochre-2), var(--ochre));
  color: #2a1c12;
  font-weight: 800;
  font-size: 0.8rem;
}

.faq-item p { font-size: 0.92rem; opacity: 0.85; }

@media (max-width: 620px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: var(--sand-2);
  opacity: 0.6;
  font-size: 0.85rem;
  border-top: 1px solid #ffffff12;
  margin-top: 1rem;
}

.site-footer .credit { margin-top: 0.4rem; font-size: 0.78rem; }
.site-footer .credit a { color: var(--ochre-2); text-decoration: none; }
.site-footer .credit a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .status-strip { justify-content: center; }
  .nav-links { margin-left: 0; }
  .site-header { justify-content: center; text-align: center; }
}
