/* Manthan's page: the studio's night, with the game's ocean of milk under it. */
:root {
  --ocean: #b9b4e6;      /* the milk ocean at dusk */
  --ocean-deep: #2b2a6e;
  --deva: #e9b949;
  --manav: #4cc2b0;
  --asura: #e0533f;
}

/* hero */
.m-hero { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 60% at 70% 105%, rgba(185, 180, 230, .38) 0%, rgba(185, 180, 230, 0) 60%),
    radial-gradient(60% 50% at 82% 30%, rgba(242, 121, 59, .18) 0%, rgba(242, 121, 59, 0) 70%),
    linear-gradient(180deg, #0b0d2a 0%, #1a1a52 70%, #2b2a6e 100%);
}
.m-hero::after { /* soft waves of milk along the bottom */
  content: ""; position: absolute; inset: auto 0 0; height: 90px; z-index: -1;
  background:
    radial-gradient(40px 14px at 20% 70%, rgba(244,238,221,.10), transparent 70%),
    radial-gradient(60px 16px at 55% 60%, rgba(244,238,221,.10), transparent 70%),
    radial-gradient(50px 14px at 85% 75%, rgba(244,238,221,.10), transparent 70%);
}
.m-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.m-hero-text { display: grid; gap: 22px; min-width: 0; }
.m-title { font: 400 clamp(3.6rem, 2.2rem + 6vw, 7rem)/0.95 'Rozha One', var(--display); letter-spacing: -0.01em; }
.m-title .deva { display: block; font: 600 .38em/1.4 var(--display); margin-top: 6px; }
.m-hero .lede { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); color: #ddd7ee; max-width: 32rem; }
.small-note { color: var(--haze); font-size: var(--s-sm); }

.m-stage { position: relative; justify-self: center; width: min(320px, 78vw); }
.phone { position: relative; aspect-ratio: 9 / 16; width: 100%; border-radius: 34px; padding: 9px; background: #05061a;
  box-shadow: 0 0 0 1px rgba(244,238,221,.12), 0 40px 80px -20px rgba(0,0,0,.7), 0 0 120px -20px rgba(185,180,230,.45); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: var(--panel); }
.phone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.phone .screen img.on { opacity: 1; }
.m-stage .kalash { position: absolute; width: 46%; left: -34%; bottom: -4%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.55)); }
.m-stage .festival-tag { position: absolute; right: -6px; top: 26px; transform: translateX(30%); background: rgba(11,13,42,.85); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: var(--s-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
@media (max-width: 860px) {
  .m-hero .wrap { grid-template-columns: 1fr; }
  .m-stage { width: min(260px, 66vw); margin-top: 8px; }
  .m-stage .kalash { left: -30%; }
  .m-stage .festival-tag { transform: translateX(20%); }
}

/* a turn on the mountain */
.turn { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.step {
  width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px 18px 18px 14px;
  background: transparent; border: 1px solid transparent; border-radius: 14px; color: var(--milk); font: inherit; cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease;
}
.step:hover { background: rgba(244,238,221,.03); }
.step[aria-pressed="true"] { background: var(--panel); border-color: var(--line); }
.step .n { grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font: 600 1rem/1 var(--display); color: var(--gold); }
.step[aria-pressed="true"] .n { background: var(--gold); color: var(--night); border-color: var(--gold); }
.step b { font: 600 var(--s-lg)/1.3 var(--display); }
.step span:last-child { color: var(--haze); font-size: var(--s-sm); line-height: 1.55; }
.tablet { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; padding: 10px; background: #05061a; box-shadow: 0 0 0 1px rgba(244,238,221,.1), 0 40px 80px -30px rgba(0,0,0,.7); }
.tablet .screen { position: relative; height: 100%; border-radius: 14px; overflow: hidden; }
.tablet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.tablet img.on { opacity: 1; }
@media (max-width: 860px) { .turn { grid-template-columns: 1fr; } .tablet { order: -1; } }

/* endings */
.endings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ending { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); overflow: hidden; display: grid; gap: 10px; align-content: start; }
.ending::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.ending::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); }
.ending .eyebrow { color: var(--c); }
.ending h3 { font-size: var(--s-xl); }
.ending p { color: #d6d0e6; }
.ending.e-deva { --c: var(--deva); } .ending.e-manav { --c: var(--manav); } .ending.e-asura { --c: var(--asura); }
@media (max-width: 860px) { .endings { grid-template-columns: 1fr; } }

/* treasures */
.ocean { background:
  radial-gradient(90% 70% at 50% 110%, rgba(185,180,230,.28), transparent 70%),
  linear-gradient(180deg, var(--night) 0%, var(--ocean-deep) 100%); }
.treasures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); margin: 0; padding: 0; list-style: none; }
.treasure { display: grid; gap: 8px; text-align: center; justify-items: center; align-content: start; }
.treasure .obj { height: clamp(140px, 18vw, 220px); width: 100%; display: grid; place-items: center; position: relative; }
.treasure .obj::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(233,185,73,.20), transparent 68%); }
.treasure img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; filter: drop-shadow(0 16px 24px rgba(0,0,0,.5)); animation: bob 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.treasure h3 { font-size: var(--s-xl); margin-top: 6px; }
.treasure .what { font: 600 var(--s-xs)/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.treasure p { color: #ddd7ee; font-size: var(--s-sm); max-width: 16rem; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .treasure img { animation: none; } }
@media (max-width: 760px) { .treasures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }

/* festivals */
.fest-scroll { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -4px; }
.festivals { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: clamp(14px, 2vw, 24px); padding: 4px; margin: 0; list-style: none; }
.fest { scroll-snap-align: start; display: grid; gap: 14px; }
.fest .phone { border-radius: 26px; padding: 7px; }
.fest .phone .screen { border-radius: 20px; }
.fest .phone img { opacity: 1; }
.fest h3 { font-size: var(--s-lg); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fest h3 small { font: 600 .6875rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.fest p { color: var(--haze); font-size: var(--s-sm); margin-top: -8px; }
@media (max-width: 860px) { .festivals { grid-template-columns: repeat(5, 62vw); } }

.pawns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(36px, 5vw, 56px); padding: 18px 20px; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.pawns img { width: 44px; flex: none; }
.pawns .label { font: 600 var(--s-md)/1.3 var(--display); margin-right: 8px; }
.chip { padding: 5px 12px; border-radius: 999px; background: rgba(244,238,221,.05); border: 1px solid var(--line-soft); font-size: var(--s-sm); color: #ddd7ee; }
.chip.free { border-color: var(--teal); color: var(--milk); }

/* together & families */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.two h3 { font-size: var(--s-xl); margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #ddd7ee; }
.ticks li::before { content: ""; width: 10px; height: 10px; margin-top: 9px; transform: rotate(45deg); border: 1.5px solid var(--gold); }
.ticks b { color: var(--milk); font-weight: 600; }
.langs { margin-top: clamp(40px, 6vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 var(--s-lg)/1.6 var(--body); color: #ddd7ee; }
.langs .eyebrow { width: 100%; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* prices */
.prices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; }
.price-card { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); min-width: 0; }
.price-card h3 { font-size: var(--s-lg); margin-bottom: 14px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); color: #ddd7ee; }
.price-list li:last-child { border-bottom: 0; }
.price-list b { font-variant-numeric: tabular-nums; color: var(--milk); font-weight: 600; white-space: nowrap; }
.price-card.free b { color: var(--teal); }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* get it */
.get { text-align: left; display: grid; gap: 22px; justify-items: start; }
.get h2 { font: 400 clamp(2.4rem, 1.6rem + 3vw, 4rem)/1 'Rozha One', var(--display); }
