:root {
  --bg: #f3eadb;
  --bg-2: #eee4d3;
  --ink: #111111;
  --muted: #6d675f;
  --soft: #d8cdbb;
  --line: rgba(17, 17, 17, 0.13);
  --accent: #d94f2e;
  --accent-2: #a24522;
  --dark: #080807;
  --dark-2: #12100d;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --shadow-soft: 0 30px 70px rgba(40, 28, 12, 0.16);
  --shadow-tight: 0 18px 40px rgba(40, 28, 12, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.72), transparent 32rem),
    radial-gradient(circle at 92% 8%, rgba(217,79,46,.08), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: .75rem;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--bg);
  padding: .75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0 24px auto 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,17,17,.12), transparent);
  transform: translateY(66px);
  opacity: .85;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: .95;
  font-size: 15px;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.small-brand img { width: 34px; height: 34px; }

.nav-links {
  display: flex;
  gap: clamp(12px, 1.7vw, 24px);
  flex: 1 1 auto;
  justify-content: center;
  color: rgba(17,17,17,.72);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-links a { position: relative; }
.nav-dropdown {
  position: relative;
  padding: 14px 0;
  margin: -14px 0;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-dropdown-trigger::before {
  content: "▾";
  order: 2;
  color: currentColor;
  font-size: 10px;
  transform: translateY(-1px);
}
.nav-dropdown-menu {
  position: absolute;
  left: 50%;
  top: calc(100% - 8px);
  min-width: 230px;
  transform: translate(-50%, 0);
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(42,16,7,.94);
  box-shadow: 0 22px 58px rgba(0,0,0,.30);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.site-header:not(.dark-header) .nav-dropdown-menu {
  border-color: var(--line);
  background: rgba(255,250,242,.96);
  box-shadow: var(--shadow-tight);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: inherit;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: rgba(255,255,255,.10);
}
.site-header:not(.dark-header) .nav-dropdown-menu a:hover,
.site-header:not(.dark-header) .nav-dropdown-menu a:focus {
  background: rgba(217,79,46,.08);
}
.nav-dropdown-menu a::after {
  display: none;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.header-cta {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  background: rgba(255,255,255,.25);
}

.section-pad {
  padding: 110px 24px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.02fr);
  gap: 58px;
  align-items: center;
  padding-top: 70px;
}
.eyebrow {
  margin: 0 0 18px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.hero h1, .section-heading h2, .temple-content h2, .final-card h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: -.07em;
  line-height: .88;
}
.hero h1 {
  font-size: clamp(82px, 12vw, 174px);
  text-transform: uppercase;
  max-width: 690px;
}
.hero-subtitle {
  margin: 32px 0 0;
  max-width: 610px;
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: rgba(17,17,17,.78);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  border-radius: 999px;
  padding: 15px 20px;
  font-weight: 950;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-secondary { background: rgba(255,255,255,.28); color: var(--ink); }
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 54px;
  flex-wrap: wrap;
}
.hero-stats div {
  border-top: 1px solid var(--line);
  min-width: 120px;
  padding-top: 14px;
}
.hero-stats strong {
  display: block;
  font-size: 34px;
  letter-spacing: -.05em;
  line-height: 1;
}
.hero-stats span {
  display: block;
  margin-top: 6px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .09em;
  font-weight: 800;
  color: var(--muted);
}

.hero-media { position: relative; }
.video-shell {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.14);
  background: #111;
  box-shadow: var(--shadow-soft);
  transform: rotate(.8deg);
}
.video-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 60px rgba(0,0,0,.32);
  z-index: 2;
  pointer-events: none;
}
.video-shell video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7efe2;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.34);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  backdrop-filter: blur(18px);
}
.live-dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 999px;
  box-shadow: 0 0 24px rgba(217,79,46,.9);
}
.ambient-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,79,46,.22), transparent 70%);
  filter: blur(24px);
  z-index: -1;
}
.orb-one { right: -80px; top: -70px; }

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}
.section-heading h2, .temple-content h2, .final-card h2 {
  font-size: clamp(52px, 7vw, 104px);
}
.section-heading p:not(.eyebrow), .temple-content p, .final-card p:not(.eyebrow) {
  color: rgba(17,17,17,.70);
  font-size: 22px;
  max-width: 720px;
  margin: 24px 0 0;
}

.feature-strip, .ritual-cards, .platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-strip article, .large-card, .platform-card, .embed-card, .final-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.26);
  box-shadow: var(--shadow-tight);
}
.feature-strip article, .large-card {
  padding: 30px;
  min-height: 210px;
}
.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(17,17,17,.06);
  color: var(--accent);
  font-size: 28px;
  margin-bottom: 26px;
}
.feature-strip h3, .large-card h3, .platform-card h3 {
  margin: 0 0 10px;
  font-size: 27px;
  letter-spacing: -.04em;
  line-height: 1;
}
.feature-strip p, .large-card p, .platform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.screens { overflow: hidden; }
.phone-gallery {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 6px 24px 34px;
  margin: 0 -24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.phone-gallery::-webkit-scrollbar { height: 10px; }
.phone-gallery::-webkit-scrollbar-thumb { background: rgba(17,17,17,.2); border-radius: 999px; }
.phone-card {
  flex: 0 0 min(320px, 74vw);
  scroll-snap-align: center;
  margin: 0;
}
.phone-card img {
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(30,23,13,.18);
  background: var(--bg-2);
}
.phone-card figcaption {
  margin-top: 14px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  color: var(--muted);
  font-size: 12px;
}

.temple-mode {
  position: relative;
  min-height: 940px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 50px;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  color: #f7efe2;
  background: #060504;
}
.temple-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.28), rgba(0,0,0,.78)),
    url('assets/img/temple-shiva.webp');
  background-size: cover;
  background-position: center;
  opacity: .82;
}
.temple-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 50%, rgba(215,83,42,.15), transparent 30rem), rgba(0,0,0,.12);
}
.temple-content, .temple-phone { position: relative; z-index: 1; }
.temple-content { max-width: 720px; }
.temple-content .eyebrow { color: #e36a3f; }
.temple-content p { color: rgba(247,239,226,.78); }
.temple-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.temple-features span {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(247,239,226,.82);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.temple-phone img {
  width: 330px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 40px 80px rgba(0,0,0,.6);
}

.ritual-grid { padding-top: 130px; }
.large-card { min-height: 250px; }
.large-card h3 { font-size: 32px; }
.large-card p { font-size: 19px; }

.platform-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 110px;
  padding: 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.platform-card:hover { transform: translateY(-4px); border-color: rgba(217,79,46,.55); }
.platform-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}
.youtube-icon { border-radius: 18px; }
.arrow { font-size: 26px; color: var(--accent); }
.embed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.embed-card { padding: 16px; overflow: hidden; }
.embed-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 4px 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}
.embed-title span { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; }
.youtube-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--dark);
}
.youtube-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.final-card {
  text-align: center;
  padding: clamp(40px, 8vw, 90px) 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(217,79,46,.10), transparent 24rem),
    rgba(255,255,255,.28);
}
.final-card img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 30px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-tight);
}
.final-card p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.centered-actions { justify-content: center; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 36px 24px 54px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 54px; }
  .hero-media { order: -1; }
  .video-shell { transform: none; }
  .feature-strip, .ritual-cards, .platform-grid, .embed-grid { grid-template-columns: 1fr; }
  .temple-mode { grid-template-columns: 1fr; min-height: auto; padding-top: 96px; padding-bottom: 96px; }
  .temple-phone { display: none; }
}

@media (max-width: 680px) {
  .site-header { padding: 14px 16px; }
  .header-cta { display: none; }
  .brand img { width: 38px; height: 38px; }
  .section-pad { padding: 78px 18px; }
  .hero h1 { font-size: clamp(74px, 21vw, 112px); }
  .hero-subtitle { font-size: 22px; }
  .hero-stats { gap: 12px; }
  .hero-stats div { min-width: 96px; }
  .section-heading h2, .temple-content h2, .final-card h2 { font-size: 48px; }
  .section-heading p:not(.eyebrow), .temple-content p { font-size: 18px; }
  .feature-strip article, .large-card { padding: 22px; min-height: auto; }
  .platform-card { grid-template-columns: 46px 1fr auto; padding: 18px; }
  .platform-icon { width: 46px; height: 46px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

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

/* V2 refinements: airier display typography and video sound toggle */
.hero h1, .section-heading h2, .temple-content h2, .final-card h2 {
  letter-spacing: -0.018em;
  line-height: 0.94;
}
.hero h1 {
  letter-spacing: 0.012em;
  line-height: 0.92;
}
.section-heading h2, .temple-content h2, .final-card h2 {
  letter-spacing: -0.01em;
}

.video-sound-toggle {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.42);
  color: #f7efe2;
  border-radius: 999px;
  padding: 10px 12px;
  font: inherit;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 950;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.video-sound-toggle:hover { transform: translateY(-2px); border-color: rgba(217,79,46,.55); }
.video-sound-toggle[aria-pressed="true"] { background: rgba(217,79,46,.52); }
.sound-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.video-caption { bottom: 18px; }
.video-sound-toggle + .video-caption { left: 18px; }

.youtube-profile-card { min-height: 392px; }
.youtube-open-card {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
  min-height: 322px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(217,79,46,.16), transparent 18rem),
    var(--dark);
  color: #f7efe2;
  padding: 32px 24px;
}
.youtube-open-card strong {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.018em;
}
.youtube-open-card p {
  max-width: 480px;
  margin: 0;
  color: rgba(247,239,226,.72);
}
.youtube-play-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 26px;
  background: #f7efe2;
  color: var(--dark);
  font-size: 26px;
  box-shadow: 0 22px 38px rgba(0,0,0,.3);
}
.mini-btn { display: inline-flex; margin-top: 8px; }
.site-footer a { color: var(--accent-2); font-weight: 850; }

@media (max-width: 680px) {
  .hero h1 { letter-spacing: 0.006em; }
  .video-sound-toggle {
    right: 14px;
    bottom: 58px;
  }
  .video-caption { left: 14px; bottom: 14px; }
  .youtube-profile-card { min-height: auto; }
  .youtube-open-card { min-height: 260px; }
}

/* V3 refinements: app download CTA, clearer display tracking, moving red dial dot */
.hero h1,
.section-heading h2,
.temple-content h2,
.final-card h2 {
  letter-spacing: 0.012em;
  word-spacing: 0.035em;
}
.section-heading h2,
.temple-content h2,
.final-card h2 {
  max-width: 980px;
}
.platform-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.play-icon {
  color: var(--bg);
  background: var(--ink);
}
.dial-red-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(217,79,46,.12), 0 12px 22px rgba(162,69,34,.24);
  transform: translate(-50%, -50%);
  transform-origin: center;
  z-index: 4;
  pointer-events: none;
  transition: left .18s cubic-bezier(.2,.8,.2,1), top .18s cubic-bezier(.2,.8,.2,1), transform .18s cubic-bezier(.2,.8,.2,1);
}
.dial-pointer::before {
  opacity: 0;
}
.dial-pointer::after {
  height: 22px;
  top: 12px;
  opacity: .9;
}
.video-sound-toggle[aria-pressed="true"] .sound-label::after {
  content: "";
}
@media (max-width: 1100px) {
  .platform-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .platform-grid-four { grid-template-columns: 1fr; }
  .hero h1,
  .section-heading h2,
  .temple-content h2,
  .final-card h2 { letter-spacing: 0.006em; }
}

/* V4 layout fixes: keep hero video clear of title, center final CTA text */
@media (min-width: 981px) {
  .hero {
    grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
    gap: clamp(92px, 8vw, 150px);
    align-items: end;
  }
  .hero h1 {
    font-size: clamp(82px, 10.1vw, 148px);
    max-width: 760px;
    letter-spacing: 0.006em;
  }
  .hero-media {
    justify-self: end;
    width: min(540px, 100%);
    align-self: center;
    padding-top: clamp(108px, 11vw, 190px);
  }
  .video-shell {
    transform: rotate(.35deg);
  }
}

.final-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.final-card h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: min(1120px, 100%);
  text-align: center;
  text-wrap: balance;
}
.final-card .eyebrow {
  text-align: center;
}

/* Keep the video controls visually separated and tappable */
.video-shell {
  isolation: isolate;
}
.video-sound-toggle {
  z-index: 5;
}
.video-caption {
  z-index: 5;
}

/* Slightly safer tablet layout */
@media (min-width: 981px) and (max-width: 1220px) {
  .hero h1 {
    font-size: clamp(74px, 9.4vw, 118px);
  }
  .hero {
    gap: 70px;
  }
  .hero-media {
    width: min(470px, 100%);
    padding-top: 96px;
  }
}

/* V5 mobile video-control alignment fix */
.video-shell {
  min-width: 0;
}
.video-caption,
.video-sound-toggle {
  bottom: clamp(10px, 2vw, 18px) !important;
  padding: clamp(7px, 1.6vw, 10px) clamp(9px, 2vw, 14px);
  min-height: 34px;
  line-height: 1;
  white-space: nowrap;
}
.video-caption {
  left: clamp(10px, 2vw, 18px) !important;
  max-width: calc(47% - 14px);
  gap: clamp(6px, 1.4vw, 8px);
}
.video-sound-toggle {
  right: clamp(10px, 2vw, 18px) !important;
  max-width: calc(53% - 14px);
  gap: clamp(6px, 1.4vw, 8px);
  justify-content: center;
}
.video-caption span:last-child,
.video-sound-toggle .sound-label {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sound-icon {
  flex: 0 0 auto;
}
.live-dot {
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .video-caption,
  .video-sound-toggle {
    font-size: 10px;
    letter-spacing: .075em;
    min-height: 32px;
  }
  .video-sound-toggle .sound-icon {
    width: 20px;
    height: 20px;
  }
  .video-caption .live-dot {
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 380px) {
  .video-caption,
  .video-sound-toggle {
    padding: 7px 8px;
    font-size: 9px;
    letter-spacing: .055em;
  }
  .video-caption { max-width: calc(45% - 12px); }
  .video-sound-toggle { max-width: calc(55% - 12px); }
}

/* V6 multi-app ecosystem redesign */
.app-ecosystem {
  padding-top: 44px;
}
.app-showcase-grid {
  display: grid;
  gap: 22px;
}
.app-showcase-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, .72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 18%, rgba(217,79,46,.10), transparent 28rem),
    rgba(255,255,255,.28);
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 58px);
}
.app-showcase-card.flagship {
  min-height: 560px;
}
.app-showcase-card.hanuman-card {
  color: #fff0c8;
  background:
    linear-gradient(90deg, rgba(24,7,1,.88), rgba(92,34,10,.68)),
    url('assets/apps/hanuman-temple/feature.webp');
  background-size: cover;
  background-position: center;
  border-color: rgba(255,255,255,.12);
}
.app-card-copy { position: relative; z-index: 2; }
.app-status {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid rgba(217,79,46,.28);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--accent-2);
  background: rgba(255,255,255,.32);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hanuman-card .app-status {
  color: #ffd69a;
  border-color: rgba(255,214,154,.24);
  background: rgba(0,0,0,.22);
}
.app-card-icon {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-tight);
}
.app-showcase-card h3 {
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: .94;
  letter-spacing: .006em;
}
.app-showcase-card p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(17,17,17,.70);
  font-size: 22px;
  line-height: 1.24;
}
.hanuman-card p { color: rgba(255,240,200,.78); }
.jaap-counter-card p { color: rgba(255,244,220,.78); }
.hanuman-chalisa-card p { color: rgba(255,230,172,.78); }
.app-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hanuman-card .btn-primary {
  background: #fff0c8;
  color: #2c1006;
  border-color: #fff0c8;
}
.jaap-counter-card .btn-primary {
  background: #ffd786;
  color: #3b080f;
  border-color: #ffd786;
}
.hanuman-chalisa-card .btn-primary {
  background: #ffd27a;
  color: #241008;
  border-color: #ffd27a;
}
.hanuman-card .btn-secondary {
  color: #fff0c8;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.jaap-counter-card .btn-secondary {
  color: #fff4dc;
  border-color: rgba(255,215,134,.24);
  background: rgba(255,255,255,.08);
}
.hanuman-chalisa-card .btn-secondary {
  color: #ffe6ac;
  border-color: rgba(255,210,122,.24);
  background: rgba(255,255,255,.08);
}
.app-card-media {
  position: relative;
  min-height: 420px;
}
.guru-media img,
.hanuman-media img {
  position: absolute;
  width: min(250px, 48%);
  border-radius: 28px;
  border: 1px solid rgba(17,17,17,.12);
  box-shadow: 0 32px 58px rgba(20,12,4,.24);
  background: var(--bg-2);
}
.guru-media img:first-child,
.hanuman-media img:first-child {
  right: 28%;
  top: 0;
  transform: rotate(-5deg);
}
.guru-media img:last-child,
.hanuman-media img:last-child {
  right: 0;
  top: 86px;
  transform: rotate(5deg);
}
.hanuman-media img {
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 34px 66px rgba(0,0,0,.48);
}
.app-showcase-card.jaap-counter-card {
  color: #fff4dc;
  background:
    linear-gradient(90deg, rgba(45,6,11,.92), rgba(112,45,13,.64), rgba(45,6,11,.76)),
    url('assets/apps/jaap-counter/feature.png');
  background-size: cover;
  background-position: center;
  border-color: rgba(255,215,134,.22);
}
.jaap-counter-card .app-status {
  color: #ffd786;
  border-color: rgba(255,215,134,.30);
  background: rgba(0,0,0,.28);
}
.jaap-media img {
  position: absolute;
  width: min(250px, 48%);
  border-radius: 28px;
  border: 1px solid rgba(255,215,134,.22);
  box-shadow: 0 34px 66px rgba(0,0,0,.48);
  background: #3b080f;
}
.jaap-media img:first-child { right: 28%; top: 0; transform: rotate(-5deg); }
.jaap-media img:last-child { right: 0; top: 86px; transform: rotate(5deg); }
.app-showcase-card.hanuman-chalisa-card {
  color: #ffe6ac;
  background:
    linear-gradient(90deg, rgba(18,7,2,.94), rgba(86,38,12,.70), rgba(18,7,2,.84)),
    url('assets/apps/hanuman-chalisa/feature.jpg');
  background-size: cover;
  background-position: center;
  border-color: rgba(255,210,122,.22);
}
.hanuman-chalisa-card .app-status {
  color: #ffd27a;
  border-color: rgba(255,210,122,.30);
  background: rgba(0,0,0,.30);
}
.chalisa-media img {
  position: absolute;
  width: min(250px, 48%);
  border-radius: 28px;
  border: 1px solid rgba(255,210,122,.22);
  box-shadow: 0 34px 66px rgba(0,0,0,.54);
  background: #190802;
}
.chalisa-media img:first-child { right: 28%; top: 0; transform: rotate(-5deg); }
.chalisa-media img:last-child { right: 0; top: 86px; transform: rotate(5deg); }
.hanuman-preview-panel {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(340px, .78fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff0c8;
  background:
    linear-gradient(90deg, rgba(13,4,1,.88), rgba(66,22,6,.52)),
    url('assets/apps/hanuman-temple/feature.webp');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  padding: clamp(30px, 6vw, 68px);
}
.hanuman-preview-copy h2 {
  margin: 0;
  font-size: clamp(54px, 9vw, 118px);
  line-height: .95;
  letter-spacing: .006em;
}
.hanuman-preview-copy p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,240,200,.76);
  font-size: 22px;
  line-height: 1.28;
}
.light-tags span {
  color: rgba(255,240,200,.82);
  background: rgba(255,255,255,.08);
}
.hanuman-preview-gallery {
  min-height: 520px;
  position: relative;
}
.hanuman-preview-gallery img {
  position: absolute;
  width: min(220px, 44%);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 32px 70px rgba(0,0,0,.45);
}
.hanuman-preview-gallery img:nth-child(1) { left: 0; top: 34px; transform: rotate(-6deg); }
.hanuman-preview-gallery img:nth-child(2) { left: 34%; top: 0; transform: rotate(2deg); }
.hanuman-preview-gallery img:nth-child(3) { right: 0; top: 64px; transform: rotate(7deg); }
.footer-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }

.dark-header {
  color: #fff0c8;
}
.dark-header .nav-links { color: rgba(255,240,200,.78); }
.dark-header .header-cta {
  color: #fff0c8;
  border-color: rgba(255,255,255,.18);
  background: rgba(0,0,0,.24);
}
.hanuman-page {
  background: #160703;
  color: #fff0c8;
}
.hanuman-page .site-header::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent); }
.hanuman-hero {
  position: relative;
  min-height: calc(100svh - 80px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .55fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  overflow: hidden;
  padding: 86px max(24px, calc((100vw - var(--max)) / 2)) 116px;
}
.hanuman-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,5,1,.92), rgba(56,17,5,.48), rgba(17,5,1,.84)),
    url('assets/apps/hanuman-temple/feature.webp');
  background-size: cover;
  background-position: center;
  opacity: .96;
}
.hanuman-hero-copy,
.hanuman-hero-phone { position: relative; z-index: 1; }
.hanuman-hero-icon {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 28px;
  margin-bottom: 26px;
  box-shadow: 0 24px 52px rgba(0,0,0,.35);
}
.hanuman-hero h1 {
  margin: 0;
  font-size: clamp(82px, 12vw, 172px);
  line-height: .9;
  letter-spacing: .006em;
}
.hanuman-hero .hero-subtitle { color: rgba(255,240,200,.78); }
.hanuman-hero .btn-primary {
  background: #fff0c8;
  color: #2c1006;
  border-color: #fff0c8;
}
.hanuman-hero .btn-secondary {
  color: #fff0c8;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.hanuman-hero-phone img {
  width: min(360px, 78vw);
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 45px 90px rgba(0,0,0,.58);
}
.hanuman-page .section-heading h2,
.hanuman-page .large-card h3 { color: #fff0c8; }
.hanuman-page .section-heading p:not(.eyebrow),
.hanuman-page .large-card p { color: rgba(255,240,200,.72); }
.hanuman-page .large-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.hanuman-screens .phone-card img {
  border-color: rgba(255,255,255,.16);
  background: #2a1007;
  box-shadow: 0 32px 70px rgba(0,0,0,.44);
}
.hanuman-experience {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 50px;
  align-items: center;
  overflow: hidden;
  padding: 118px max(24px, calc((100vw - var(--max)) / 2));
}
.hanuman-experience-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,3,1,.88), rgba(60,21,5,.44), rgba(9,3,1,.82)),
    url('assets/apps/hanuman-temple/feature.webp');
  background-size: cover;
  background-position: center;
}
.hanuman-experience .btn-primary {
  background: #fff0c8;
  color: #2c1006;
  border-color: #fff0c8;
}
.hanuman-experience .btn-secondary {
  color: #fff0c8;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
}
.hanuman-page .site-footer {
  color: rgba(255,240,200,.66);
  border-top-color: rgba(255,255,255,.12);
}
.hanuman-page .site-footer a { color: #ffd69a; }

@media (max-width: 980px) {
  .app-showcase-card,
  .hanuman-preview-panel,
  .hanuman-hero,
  .hanuman-experience {
    grid-template-columns: 1fr;
  }
  .app-card-media,
  .hanuman-preview-gallery {
    min-height: 420px;
  }
  .hanuman-hero-phone,
  .hanuman-experience .temple-phone {
    justify-self: center;
  }
  .hanuman-experience .temple-phone { display: block; }
}
@media (max-width: 680px) {
  .app-showcase-card,
  .hanuman-preview-panel {
    padding: 24px;
    min-height: auto;
  }
  .app-showcase-card h3,
  .hanuman-preview-copy h2 {
    font-size: 48px;
  }
  .app-showcase-card p,
  .hanuman-preview-copy p:not(.eyebrow) {
    font-size: 18px;
  }
  .app-card-media,
  .hanuman-preview-gallery {
    min-height: 330px;
  }
  .guru-media img,
  .hanuman-media img,
  .jaap-media img,
  .chalisa-media img,
  .hanuman-preview-gallery img {
    width: 45%;
    border-radius: 20px;
  }
  .hanuman-hero {
    padding-top: 58px;
    padding-bottom: 82px;
  }
  .hanuman-hero h1 { font-size: clamp(64px, 18vw, 92px); }
  .hanuman-hero-icon { width: 82px; height: 82px; border-radius: 22px; }
  .hanuman-experience { padding-top: 82px; padding-bottom: 82px; }
}

/* Portfolio homepage */
.portfolio-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.72), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(217,79,46,.10), transparent 24rem),
    linear-gradient(180deg, #f6efe3 0%, #eee2cf 48%, #f5ecdc 100%);
}
.portfolio-page .site-header {
  background: rgba(246,239,227,.62);
}
.portfolio-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(320px, .74fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 108px);
  padding-bottom: clamp(34px, 6vw, 78px);
}
.portfolio-hero h1 {
  max-width: 890px;
  margin: 0;
  font-size: clamp(58px, 8.4vw, 122px);
  line-height: .93;
  letter-spacing: .004em;
}
.portfolio-hero .hero-subtitle {
  max-width: 760px;
  margin-top: 26px;
  font-size: clamp(20px, 2.5vw, 30px);
}
.portfolio-hero-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(74px, 1fr));
  gap: clamp(12px, 2vw, 18px);
  align-self: stretch;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.56), transparent 20rem),
    rgba(255,255,255,.28);
  box-shadow: var(--shadow-soft);
}
.portfolio-hero-wall::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius-xl) - 8px);
  border: 1px solid rgba(17,17,17,.07);
  pointer-events: none;
}
.hero-app-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: clamp(18px, 3vw, 30px);
  box-shadow: 0 20px 40px rgba(40,28,12,.18);
  background: #fff5e7;
}
.hero-app-icon-main {
  grid-column: span 2;
  grid-row: span 2;
}
.portfolio-apps {
  padding-top: clamp(36px, 6vw, 84px);
}
.portfolio-section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}
.portfolio-section-heading h2 {
  margin: 0;
  font-size: clamp(46px, 6.3vw, 84px);
  line-height: .96;
  letter-spacing: .004em;
}
.portfolio-section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(17,17,17,.68);
  font-size: clamp(18px, 2.1vw, 22px);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.portfolio-card {
  --card-accent: #d94f2e;
  --card-accent-strong: #111111;
  --card-surface: rgba(255,255,255,.34);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-accent) 28%, rgba(17,17,17,.14));
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 0%, color-mix(in srgb, var(--card-accent) 20%, transparent), transparent 18rem),
    var(--card-surface);
  box-shadow: var(--shadow-tight);
  padding: 20px;
}
.portfolio-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: .75;
}
.portfolio-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.portfolio-card-top img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(40,28,12,.18);
}
.portfolio-card-top span {
  display: inline-flex;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--card-accent) 32%, rgba(17,17,17,.13));
  border-radius: 999px;
  padding: 8px 10px;
  color: color-mix(in srgb, var(--card-accent-strong) 82%, #111);
  background: rgba(255,255,255,.32);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .1em;
  line-height: 1.1;
  text-transform: uppercase;
}
.portfolio-card-copy {
  margin-top: 22px;
}
.portfolio-card-copy h3 {
  margin: 0;
  font-size: clamp(30px, 3.15vw, 44px);
  line-height: .98;
  letter-spacing: .004em;
  white-space: nowrap;
  overflow-wrap: normal;
}
.portfolio-card-copy p {
  min-height: 92px;
  margin: 14px 0 0;
  color: rgba(17,17,17,.68);
  font-size: 17px;
  line-height: 1.34;
}
.portfolio-card-preview {
  position: relative;
  display: grid;
  place-items: end center;
  height: 360px;
  margin: 18px -6px 0;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.05)),
    color-mix(in srgb, var(--card-accent) 18%, #1a120b);
}
.portfolio-card-preview img {
  width: min(230px, 78%);
  max-height: 330px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 24px 54px rgba(0,0,0,.28);
}
.portfolio-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.portfolio-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 14px;
  text-align: center;
}
.portfolio-actions .btn-primary {
  background: var(--card-accent-strong);
  border-color: var(--card-accent-strong);
  color: #fff8ed;
}
.portfolio-actions .btn-secondary {
  background: rgba(255,255,255,.38);
  border-color: color-mix(in srgb, var(--card-accent) 26%, rgba(17,17,17,.14));
}
.portfolio-card-guru {
  --card-accent: #d94f2e;
  --card-accent-strong: #111111;
}
.portfolio-card-chalisa {
  --card-accent: #d8a248;
  --card-accent-strong: #261008;
  --card-surface: rgba(71,35,14,.12);
}
.portfolio-card-temple {
  --card-accent: #d66c35;
  --card-accent-strong: #471708;
  --card-surface: rgba(115,49,16,.12);
}
.portfolio-card-jaap {
  --card-accent: #f0a834;
  --card-accent-strong: #5a1117;
  --card-surface: rgba(136,44,18,.10);
}
.portfolio-card-global {
  --card-accent: #4c8fd9;
  --card-accent-strong: #0b2448;
  --card-surface: rgba(59,98,157,.10);
}
.portfolio-card-rife {
  --card-accent: #33b48b;
  --card-accent-strong: #062d25;
  --card-surface: rgba(20,111,86,.10);
}
.portfolio-final .final-card {
  background:
    radial-gradient(circle at 30% 0%, rgba(217,79,46,.12), transparent 22rem),
    radial-gradient(circle at 75% 20%, rgba(51,180,139,.10), transparent 20rem),
    rgba(255,255,255,.30);
}

@media (max-width: 1120px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .portfolio-hero {
    grid-template-columns: 1fr;
  }
  .portfolio-hero-wall {
    order: -1;
    max-width: 560px;
  }
}
@media (max-width: 680px) {
  .portfolio-page .site-header {
    background: rgba(246,239,227,.84);
  }
  .portfolio-hero {
    padding-top: 34px;
    padding-bottom: 28px;
  }
  .portfolio-hero h1 {
    font-size: clamp(42px, 12.5vw, 64px);
  }
  .portfolio-hero .hero-subtitle {
    font-size: 19px;
  }
  .portfolio-hero-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
    padding: 14px;
    border-radius: 24px;
  }
  .hero-app-icon-main {
    grid-column: span 1;
    grid-row: span 1;
  }
  .hero-app-icon {
    border-radius: 16px;
  }
  .portfolio-apps {
    padding-top: 30px;
  }
  .portfolio-section-heading {
    margin-bottom: 22px;
  }
  .portfolio-section-heading h2 {
    font-size: 38px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .portfolio-card {
    border-radius: 20px;
    padding: 16px;
  }
  .portfolio-card-top img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .portfolio-card-top span {
    font-size: 10px;
    letter-spacing: .07em;
  }
  .portfolio-card-copy {
    margin-top: 18px;
  }
  .portfolio-card-copy h3 {
    font-size: clamp(28px, 9vw, 34px);
  }
  .portfolio-card-copy p {
    min-height: auto;
    font-size: 16px;
  }
  .portfolio-card-preview {
    height: 310px;
    margin-top: 16px;
  }
  .portfolio-card-preview img {
    width: min(210px, 76%);
    max-height: 292px;
  }
  .portfolio-actions {
    grid-template-columns: 1fr;
  }
  .portfolio-actions .btn {
    min-height: 50px;
  }
}

/* V9 108 Jaap: Mantra Counter app showcase */
.jaap-counter-page {
  background: #2a0509;
  color: #fff4dc;
}
.jaap-counter-page .site-header::after { background: linear-gradient(90deg, transparent, rgba(255,215,134,.26), transparent); }
.jaap-hero-bg {
  background:
    linear-gradient(90deg, rgba(42,5,9,.94), rgba(109,43,13,.48), rgba(42,5,9,.84)),
    url('assets/apps/jaap-counter/feature.png');
  background-size: cover;
  background-position: center;
  opacity: .98;
}
.jaap-counter-page .hanuman-hero .hero-subtitle,
.jaap-counter-page .section-heading p:not(.eyebrow),
.jaap-counter-page .large-card p {
  color: rgba(255,244,220,.72);
}
.jaap-counter-page .section-heading h2,
.jaap-counter-page .large-card h3,
.jaap-counter-page .temple-content h2 { color: #fff4dc; }
.jaap-counter-page .large-card {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,215,134,.16);
}
.jaap-counter-page .eyebrow { color: #ffd786; }
.jaap-counter-page .btn-primary,
.jaap-experience .btn-primary {
  background: #ffd786;
  color: #3b080f;
  border-color: #ffd786;
}
.jaap-counter-page .btn-secondary,
.jaap-experience .btn-secondary {
  color: #fff4dc;
  border-color: rgba(255,215,134,.24);
  background: rgba(255,255,255,.08);
}
.jaap-screens .phone-card img {
  border-color: rgba(255,215,134,.20);
  background: #3b080f;
  box-shadow: 0 32px 70px rgba(0,0,0,.48);
}
.jaap-experience-bg {
  background:
    linear-gradient(90deg, rgba(42,5,9,.92), rgba(109,43,13,.42), rgba(42,5,9,.86)),
    url('assets/apps/jaap-counter/feature.png');
  background-size: cover;
  background-position: center;
}
.jaap-counter-page .temple-features span {
  color: rgba(255,244,220,.84);
  background: rgba(255,215,134,.10);
  border-color: rgba(255,215,134,.18);
}
.jaap-counter-page .site-footer {
  color: rgba(255,244,220,.66);
  border-top-color: rgba(255,215,134,.14);
}
.jaap-counter-page .site-footer a { color: #ffd786; }

/* Hanuman Chalisa Retro Darshan app showcase */
.chalisa-page {
  background: #120702;
  color: #ffe6ac;
}
.chalisa-page .site-header::after { background: linear-gradient(90deg, transparent, rgba(255,210,122,.24), transparent); }
.chalisa-hero-bg {
  background:
    linear-gradient(90deg, rgba(18,7,2,.96), rgba(70,30,10,.54), rgba(18,7,2,.88)),
    url('assets/apps/hanuman-chalisa/feature.jpg');
  background-size: cover;
  background-position: center;
  opacity: .98;
}
.chalisa-page .hanuman-hero .hero-subtitle,
.chalisa-page .section-heading p:not(.eyebrow),
.chalisa-page .large-card p {
  color: rgba(255,230,172,.72);
}
.chalisa-page .section-heading h2,
.chalisa-page .large-card h3,
.chalisa-page .temple-content h2 { color: #ffe6ac; }
.chalisa-page .large-card {
  background: rgba(255,255,255,.052);
  border-color: rgba(255,210,122,.16);
}
.chalisa-page .eyebrow { color: #ffd27a; }
.chalisa-page .btn-primary,
.chalisa-experience .btn-primary {
  background: #ffd27a;
  color: #241008;
  border-color: #ffd27a;
}
.chalisa-page .btn-secondary,
.chalisa-experience .btn-secondary {
  color: #ffe6ac;
  border-color: rgba(255,210,122,.24);
  background: rgba(255,255,255,.08);
}
.chalisa-screens .phone-card img {
  border-color: rgba(255,210,122,.20);
  background: #190802;
  box-shadow: 0 32px 70px rgba(0,0,0,.50);
}
.chalisa-experience-bg {
  background:
    linear-gradient(90deg, rgba(18,7,2,.94), rgba(82,34,9,.46), rgba(18,7,2,.88)),
    url('assets/apps/hanuman-chalisa/feature.jpg');
  background-size: cover;
  background-position: center;
}
.chalisa-page .temple-features span {
  color: rgba(255,230,172,.84);
  background: rgba(255,210,122,.10);
  border-color: rgba(255,210,122,.18);
}
.chalisa-page .site-footer {
  color: rgba(255,230,172,.64);
  border-top-color: rgba(255,210,122,.14);
}
.chalisa-page .site-footer a { color: #ffd27a; }

/* V7 Global Jaap app showcase */
.app-showcase-card.global-jaap-card {
  color: #eef6ff;
  background:
    linear-gradient(90deg, rgba(3,7,19,.92), rgba(8,31,56,.72), rgba(3,7,19,.78)),
    url('assets/apps/global-jaap/feature.webp');
  background-size: cover;
  background-position: center;
  border-color: rgba(236,192,106,.20);
}
.global-jaap-card .app-status {
  color: #ecc06a;
  border-color: rgba(236,192,106,.28);
  background: rgba(0,0,0,.28);
}
.global-jaap-card p { color: rgba(238,246,255,.78); }
.global-jaap-card .btn-primary,
.global-jaap-page .btn-primary,
.global-experience .btn-primary {
  background: #ecc06a;
  color: #030713;
  border-color: #ecc06a;
}
.global-jaap-card .btn-secondary,
.global-jaap-page .btn-secondary,
.global-experience .btn-secondary {
  color: #eef6ff;
  border-color: rgba(236,192,106,.24);
  background: rgba(255,255,255,.08);
}
.global-media img {
  position: absolute;
  width: min(250px, 48%);
  border-radius: 28px;
  border: 1px solid rgba(236,192,106,.20);
  box-shadow: 0 34px 66px rgba(0,0,0,.46);
  background: #030713;
}
.global-media img:first-child { right: 28%; top: 0; transform: rotate(-5deg); }
.global-media img:last-child { right: 0; top: 86px; transform: rotate(5deg); }
.global-jaap-page {
  background: #030713;
  color: #eef6ff;
}
.global-jaap-page .site-header::after { background: linear-gradient(90deg, transparent, rgba(236,192,106,.24), transparent); }
.global-hero-bg {
  background:
    linear-gradient(90deg, rgba(3,7,19,.94), rgba(7,22,41,.50), rgba(3,7,19,.86)),
    url('assets/apps/global-jaap/feature.webp');
  background-size: cover;
  background-position: center;
  opacity: .98;
}
.global-jaap-page .hanuman-hero .hero-subtitle,
.global-jaap-page .section-heading p:not(.eyebrow),
.global-jaap-page .large-card p {
  color: rgba(238,246,255,.72);
}
.global-jaap-page .section-heading h2,
.global-jaap-page .large-card h3,
.global-jaap-page .temple-content h2 { color: #eef6ff; }
.global-jaap-page .large-card {
  background: rgba(255,255,255,.055);
  border-color: rgba(236,192,106,.16);
}
.global-jaap-page .eyebrow { color: #ecc06a; }
.global-screens .phone-card img {
  border-color: rgba(236,192,106,.20);
  background: #030713;
  box-shadow: 0 32px 70px rgba(0,0,0,.46);
}
.global-experience-bg {
  background:
    linear-gradient(90deg, rgba(3,7,19,.92), rgba(8,31,56,.44), rgba(3,7,19,.86)),
    url('assets/apps/global-jaap/feature.webp');
  background-size: cover;
  background-position: center;
}
.global-jaap-page .temple-features span {
  color: rgba(238,246,255,.82);
  background: rgba(236,192,106,.10);
  border-color: rgba(236,192,106,.18);
}
.global-jaap-page .site-footer {
  color: rgba(238,246,255,.66);
  border-top-color: rgba(236,192,106,.14);
}
.global-jaap-page .site-footer a { color: #ecc06a; }

@media (max-width: 680px) {
  .global-media img { width: 45%; border-radius: 20px; }
}


/* V8 Rife Generator app showcase */
.app-showcase-card.rife-generator-card {
  color: #eaffdf;
  background:
    linear-gradient(90deg, rgba(3,6,5,.94), rgba(16,34,18,.78), rgba(3,6,5,.84)),
    url('assets/apps/rife-generator/feature.webp');
  background-size: cover;
  background-position: center;
  border-color: rgba(142,255,112,.20);
}
.rife-generator-card .app-status {
  color: #8eff70;
  border-color: rgba(142,255,112,.28);
  background: rgba(0,0,0,.30);
}
.rife-generator-card p { color: rgba(234,255,223,.76); }
.rife-generator-card .btn-primary,
.rife-page .btn-primary,
.rife-experience .btn-primary {
  background: #8eff70;
  color: #030605;
  border-color: #8eff70;
}
.rife-generator-card .btn-secondary,
.rife-page .btn-secondary,
.rife-experience .btn-secondary {
  color: #eaffdf;
  border-color: rgba(142,255,112,.24);
  background: rgba(255,255,255,.08);
}
.rife-media img {
  position: absolute;
  width: min(250px, 48%);
  border-radius: 28px;
  border: 1px solid rgba(142,255,112,.18);
  box-shadow: 0 34px 66px rgba(0,0,0,.54);
  background: #030605;
}
.rife-media img:first-child { right: 28%; top: 0; transform: rotate(-5deg); }
.rife-media img:last-child { right: 0; top: 86px; transform: rotate(5deg); }
.rife-page {
  background: #030605;
  color: #eaffdf;
}
.rife-page .site-header::after { background: linear-gradient(90deg, transparent, rgba(142,255,112,.22), transparent); }
.rife-hero-bg {
  background:
    linear-gradient(90deg, rgba(3,6,5,.95), rgba(11,27,13,.52), rgba(3,6,5,.88)),
    url('assets/apps/rife-generator/feature.webp');
  background-size: cover;
  background-position: center;
  opacity: .98;
}
.rife-page .hanuman-hero .hero-subtitle,
.rife-page .section-heading p:not(.eyebrow),
.rife-page .large-card p {
  color: rgba(234,255,223,.70);
}
.rife-page .section-heading h2,
.rife-page .large-card h3,
.rife-page .temple-content h2 { color: #eaffdf; }
.rife-page .large-card {
  background: rgba(255,255,255,.052);
  border-color: rgba(142,255,112,.14);
}
.rife-page .eyebrow { color: #8eff70; }
.rife-screens .phone-card img {
  border-color: rgba(142,255,112,.18);
  background: #030605;
  box-shadow: 0 32px 70px rgba(0,0,0,.50);
}
.rife-experience-bg {
  background:
    linear-gradient(90deg, rgba(3,6,5,.94), rgba(13,34,16,.45), rgba(3,6,5,.88)),
    url('assets/apps/rife-generator/feature.webp');
  background-size: cover;
  background-position: center;
}
.rife-page .temple-features span {
  color: rgba(234,255,223,.82);
  background: rgba(142,255,112,.10);
  border-color: rgba(142,255,112,.18);
}
.rife-page .site-footer {
  color: rgba(234,255,223,.64);
  border-top-color: rgba(142,255,112,.14);
}
.rife-page .site-footer a { color: #8eff70; }

@media (max-width: 680px) {
  .rife-media img { width: 45%; border-radius: 20px; }
}

/* V15 Games portfolio and Hanuman Sky Leap */
.portfolio-games {
  padding-top: clamp(58px, 8vw, 118px);
}
.game-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr);
  gap: clamp(28px, 5vw, 70px);
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(255,205,86,.24);
  border-radius: 34px;
  padding: clamp(30px, 5vw, 68px);
  color: #fff3cf;
  background:
    radial-gradient(circle at 17% 8%, rgba(255,166,50,.28), transparent 22rem),
    radial-gradient(circle at 88% 70%, rgba(36,158,255,.22), transparent 26rem),
    linear-gradient(135deg, #30100e, #071c4a 58%, #06112f);
  box-shadow: 0 38px 90px rgba(26,17,24,.30);
}
.game-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,15,45,.04), rgba(7,15,45,.52)),
    url('assets/games/hanuman-sky-leap/screens/storm-mountains.jpg') center 44% / cover;
  opacity: .16;
  pointer-events: none;
}
.game-showcase-copy,
.game-showcase-visual { position: relative; z-index: 1; }
.game-showcase-copy { align-self: center; }
.game-title-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}
.game-title-lockup img {
  width: 74px;
  height: 74px;
  border-radius: 21px;
  box-shadow: 0 16px 42px rgba(0,0,0,.34);
}
.game-title-lockup span {
  color: #ffd267;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.game-showcase h3 {
  margin: 28px 0 20px;
  color: #fff1c3;
  font-size: clamp(52px, 6.7vw, 92px);
  font-weight: 950;
  letter-spacing: -.025em;
  line-height: .88;
  text-transform: uppercase;
}
.game-showcase-copy > p {
  max-width: 590px;
  margin: 0;
  color: rgba(236,244,255,.78);
  font-size: clamp(18px, 2vw, 22px);
}
.game-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}
.game-facts span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  border: 1px solid rgba(255,210,103,.20);
  border-radius: 999px;
  padding: 9px 13px;
  color: rgba(236,244,255,.72);
  background: rgba(3,10,31,.28);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.game-facts strong { color: #ffd267; font-size: 18px; }
.game-btn-primary {
  color: #07142e;
  border-color: #ffc84f;
  background: linear-gradient(180deg, #ffe184, #f2a91f);
  box-shadow: 0 12px 32px rgba(242,169,31,.24);
}
.game-btn-secondary {
  color: #fff1c3;
  border-color: rgba(255,225,150,.28);
  background: rgba(4,13,40,.30);
}
.game-showcase-visual {
  min-height: 560px;
  align-self: stretch;
}
.game-preview {
  position: absolute;
  width: min(310px, 58%);
  border: 1px solid rgba(255,229,166,.30);
  border-radius: 30px;
  box-shadow: 0 36px 70px rgba(0,0,0,.52);
}
.game-preview-back { left: 2%; top: 4%; transform: rotate(-6deg); }
.game-preview-front { right: 0; bottom: -14%; transform: rotate(6deg); }

.sky-game-page {
  color: #eef6ff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,133,35,.18), transparent 38rem),
    radial-gradient(circle at 90% 32%, rgba(48,133,255,.16), transparent 34rem),
    #05122f;
}
.sky-game-page .site-header { color: #fff1c3; }
.sky-game-page .site-header::after { background: linear-gradient(90deg, transparent, rgba(255,210,103,.24), transparent); }
.sky-game-page .header-cta {
  border-color: rgba(255,210,103,.30);
  color: #07142e;
  background: #ffc84f;
}
.sky-game-page .eyebrow { color: #ffc84f; }
.sky-game-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .86fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: calc(100svh - 78px);
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 38px 38px;
  padding: clamp(60px, 8vw, 104px) 24px;
}
.sky-game-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,18,47,.96) 0%, rgba(5,18,47,.72) 46%, rgba(5,18,47,.36) 100%),
    linear-gradient(0deg, rgba(5,18,47,.78), transparent 40%),
    url('assets/games/hanuman-sky-leap/screens/storm-mountains.jpg') center 34% / cover;
  opacity: .88;
}
.sky-game-hero-copy,
.sky-game-hero-phones { position: relative; z-index: 1; }
.sky-game-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  border-radius: 25px;
  box-shadow: 0 24px 52px rgba(0,0,0,.48), 0 0 0 1px rgba(255,221,135,.28);
}
.sky-game-hero h1 {
  margin: 0;
  color: #fff1c3;
  font-size: clamp(68px, 9.2vw, 130px);
  font-weight: 950;
  letter-spacing: -.035em;
  line-height: .85;
  text-transform: uppercase;
  text-shadow: 0 8px 34px rgba(0,0,0,.42);
}
.sky-game-hero .hero-subtitle {
  max-width: 660px;
  margin-top: 28px;
  color: rgba(238,246,255,.82);
  font-size: clamp(20px, 2.3vw, 27px);
}
.sky-game-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.sky-game-stats span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255,210,103,.18);
  border-radius: 15px;
  padding: 12px 15px;
  color: rgba(238,246,255,.60);
  background: rgba(5,18,47,.46);
  font-size: 12px;
}
.sky-game-stats strong { color: #ffd267; font-size: 13px; }
.sky-game-hero-phones { min-height: 650px; }
.sky-phone {
  position: absolute;
  width: min(330px, 72%);
  border: 1px solid rgba(255,224,149,.26);
  border-radius: 32px;
  box-shadow: 0 44px 90px rgba(0,0,0,.58);
}
.sky-phone-back { left: 0; top: 4%; transform: rotate(-7deg); opacity: .72; }
.sky-phone-front { right: 0; bottom: -9%; transform: rotate(6deg); }
.sky-game-features .section-heading,
.sky-game-gallery .section-heading { max-width: 880px; }
.sky-game-page .section-heading h2 {
  color: #f8fbff;
  font-size: clamp(48px, 6.5vw, 86px);
}
.sky-game-page .section-heading p:not(.eyebrow) { color: rgba(224,238,255,.68); }
.sky-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}
.sky-feature-card {
  min-height: 310px;
  border: 1px solid rgba(126,181,255,.14);
  border-radius: 26px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,189,68,.13), transparent 16rem),
    rgba(255,255,255,.045);
}
.sky-feature-card > span { color: #ffc84f; font-size: 12px; font-weight: 950; letter-spacing: .16em; }
.sky-feature-card h3 { margin: 56px 0 14px; color: #fff1c3; font-size: 32px; line-height: 1; }
.sky-feature-card p { margin: 0; color: rgba(224,238,255,.67); font-size: 17px; }
.sky-game-how {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
  max-width: calc(var(--max) + 48px);
  margin: 20px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255,210,103,.15);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(32,85,150,.28), rgba(255,137,37,.10));
}
.sky-game-how-media { max-height: 820px; overflow: hidden; }
.sky-game-how-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.sky-game-how-copy { align-self: center; padding: clamp(38px, 7vw, 92px); }
.sky-game-how h2 { margin: 0; color: #fff1c3; font-size: clamp(55px, 7vw, 94px); line-height: .9; }
.sky-game-how ol { display: grid; gap: 22px; margin: 42px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.sky-game-how li { position: relative; display: grid; gap: 5px; padding-left: 54px; counter-increment: steps; }
.sky-game-how li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,210,103,.32);
  border-radius: 50%;
  color: #ffc84f;
  font-weight: 950;
}
.sky-game-how li strong { color: #f8fbff; font-size: 20px; }
.sky-game-how li span { color: rgba(224,238,255,.65); }
.sky-screen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
}
.sky-screen-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(126,181,255,.17);
  border-radius: 25px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 24px 60px rgba(0,0,0,.26);
}
.sky-screen-grid img { width: 100%; aspect-ratio: 1200 / 2670; object-fit: cover; object-position: top; }
.sky-screen-grid figcaption {
  padding: 14px 16px;
  color: #ffd267;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sky-game-cta-card {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(255,210,103,.20);
  border-radius: 34px;
  padding: clamp(42px, 8vw, 92px) 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,184,53,.20), transparent 24rem),
    rgba(255,255,255,.045);
}
.sky-game-cta-card > img { width: 112px; height: 112px; margin: 0 auto 28px; border-radius: 30px; box-shadow: 0 24px 55px rgba(0,0,0,.42); }
.sky-game-cta-card h2 { max-width: 760px; margin: 0 auto; color: #fff1c3; font-size: clamp(52px, 7vw, 92px); line-height: .9; }
.sky-game-cta-card > p:not(.eyebrow) { max-width: 620px; margin: 24px auto 0; color: rgba(224,238,255,.68); font-size: 20px; }
.sky-game-page .site-footer { color: rgba(224,238,255,.60); border-top-color: rgba(126,181,255,.15); }
.sky-game-page .site-footer a { color: #ffd267; }

@media (max-width: 1000px) {
  .game-showcase { grid-template-columns: 1fr; }
  .game-showcase-visual { min-height: 650px; }
  .sky-game-hero { grid-template-columns: 1fr; }
  .sky-game-hero-phones { min-height: 700px; max-width: 610px; width: 100%; }
  .sky-feature-grid { grid-template-columns: 1fr; }
  .sky-feature-card { min-height: auto; }
  .sky-feature-card h3 { margin-top: 36px; }
  .sky-screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .portfolio-games { padding-top: 56px; }
  .game-showcase { min-height: auto; border-radius: 24px; padding: 24px 18px; }
  .game-title-lockup img { width: 62px; height: 62px; border-radius: 18px; }
  .game-showcase h3 { font-size: 50px; }
  .game-showcase-visual { min-height: 450px; }
  .game-preview { width: 58%; border-radius: 20px; }
  .sky-game-hero { min-height: auto; padding: 44px 18px 64px; border-radius: 0 0 26px 26px; }
  .sky-game-hero-bg { background-position: 58% center; }
  .sky-game-icon { width: 76px; height: 76px; border-radius: 21px; }
  .sky-game-hero h1 { font-size: clamp(58px, 17vw, 82px); }
  .sky-game-hero .hero-subtitle { font-size: 19px; }
  .sky-game-stats { display: grid; grid-template-columns: 1fr; }
  .sky-game-hero-phones { min-height: 500px; }
  .sky-phone { width: 62%; border-radius: 22px; }
  .sky-game-how { grid-template-columns: 1fr; margin: 0 18px; border-radius: 24px; }
  .sky-game-how-media { max-height: 640px; }
  .sky-game-how-copy { padding: 42px 24px; }
  .sky-game-how h2 { font-size: 58px; }
  .sky-screen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sky-screen-grid figure:first-child { grid-row: auto; }
  .sky-screen-grid figure { border-radius: 17px; }
  .sky-screen-grid figcaption { padding: 11px 10px; font-size: 9px; }
  .sky-game-cta-card { border-radius: 24px; }
}
