/* One-page scroll story: Who What When Where Why */
@import url('/css/frenzy-base.css');

html { scroll-behavior: smooth; }

.one-page-wrap {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.one-hero {
  text-align: center;
  margin-bottom: 1rem;
}

.section-nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.65);
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  position: sticky;
  top: max(0.35rem, env(safe-area-inset-top));
  z-index: 20;
}
.section-nav a {
  color: #ffd166;
  text-decoration: none;
  font-family: 'Righteous', cursive;
  font-size: 1.05rem;
}
.section-nav a:hover { text-decoration: underline; }

.story-section {
  scroll-margin-top: 4.5rem;
  margin-bottom: 2rem;
}
.story-section > .section-label {
  font-family: 'Righteous', cursive;
  font-size: clamp(1.8rem, 7vw, 2.2rem);
  color: #0affd4;
  text-shadow: 0 0 8px rgba(10,255,212,0.5);
  margin: 0 0 0.75rem;
  text-align: center;
}

.gaga-hero {
  margin: 0 0 1rem;
  padding-top: max(0.5rem, env(safe-area-inset-top));
}
.hero-gaga-wrap { margin: 0 0 0.5rem; text-align: center; }
.hero-gaga-frame {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50% / 42%;
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow: 0 0 14px rgba(255,10,132,0.65), 0 0 4px rgba(255,255,255,0.2), 0 6px 12px rgba(0,0,0,0.35);
  position: relative;
}
.hero-gaga {
  display: block;
  width: 100%;
  height: auto;
}
.hero-logo-badge {
  position: absolute;
  top: 10%;
  left: 12%;
  width: clamp(48px, 14vw, 70px);
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.65));
  pointer-events: none;
}
.hero-quote {
  margin-top: 0.9rem;
  margin-bottom: 0;
  font-family: 'Righteous', cursive;
  font-size: clamp(1.85rem, 7.5vw, 2.5rem);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.85), 0 0 20px rgba(255,255,255,0.35);
}
.hero-attr {
  margin-top: 0.15rem;
  font-size: 1.05rem;
  color: #fff;
}
.hero-attr-note {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.92);
}

.tagline-box {
  background: rgba(0, 0, 0, 0.65);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1rem;
  text-align: center;
}
.tagline { color: #fff; font-size: 1.6rem; font-family: 'Righteous', cursive; }
.tagline-flash {
  display: block;
  font-size: 1.85rem;
  font-family: 'Righteous', cursive;
  letter-spacing: 0.05em;
  animation: taglineFlash 2s ease-in-out infinite;
}
@keyframes taglineFlash {
  0%, 100% { color: #0affd4; text-shadow: 0 0 8px #0affd4; }
  50% { color: #ff0a84; text-shadow: 0 0 8px #ff0a84; }
}

.announce-box {
  background: rgba(255, 10, 132, 0.18);
  border: 1px solid rgba(255, 10, 132, 0.55);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}
.announce-label {
  font-family: 'Righteous', cursive;
  font-size: clamp(1.35rem, 6vw, 1.75rem);
  text-transform: uppercase;
  color: #ff0a84;
  display: block;
  margin-bottom: 0.5rem;
}
a.coupon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.65rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: #ffd166;
  color: #1a0033 !important;
  font-weight: 700;
  font-family: 'Righteous', cursive;
  text-decoration: none !important;
}

.lang-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.lang-row.lang-fixed {
  position: fixed;
  top: max(0.45rem, env(safe-area-inset-top));
  right: max(0.45rem, env(safe-area-inset-right));
  z-index: 60;
  margin: 0;
  padding: 0.3rem;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lang-row button {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-family: 'Righteous', cursive;
  cursor: pointer;
}
.lang-row button.active {
  background: rgba(10,255,212,0.3);
  border-color: #0affd4;
  color: #0affd4;
}

.tonight-card {
  background: rgba(255, 10, 132, 0.18);
  border: 2px solid rgba(255, 10, 132, 0.55);
}
.tonight-label {
  font-family: 'Righteous', cursive;
  color: #0affd4;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.event-list { display: grid; gap: 0.65rem; margin-top: 0.75rem; }
.event-row {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}
.event-date { color: #ffd166; font-size: 0.85rem; margin: 0 0 0.2rem; }
.event-name { font-family: 'Righteous', cursive; font-size: 1.05rem; margin: 0 0 0.25rem; }
.event-blurb { font-size: 0.9rem; color: #e2e8f0; margin: 0; }
.soft-note { font-size: 0.9rem; color: #ffd166; margin-top: 0.5rem; }

.calendar-widget { text-align: center; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.calendar-header h3 { margin: 0; font-size: 1.1rem; color: #ffd166; font-family: 'Righteous', cursive; }
.calendar-nav {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
}
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; font-size: 0.68rem; color: rgba(255,255,255,0.7); }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-days .day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}
.calendar-days .day.other { opacity: 0.35; pointer-events: none; }
.calendar-days .day.past { opacity: 0.45; pointer-events: none; }
.calendar-days .day.today { background: rgba(10,255,212,0.3); color: #0affd4; font-weight: bold; }
.calendar-open-note { font-size: 0.85rem; color: #ffd166; margin-top: 0.75rem; }
.today-status { font-size: 0.95rem; color: #0affd4; font-weight: 600; margin-top: 0.5rem; }

.gayly-popup { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.gayly-popup.hidden { display: none; }
.gayly-popup .inner {
  background: linear-gradient(135deg, #220044, #440022);
  border: 2px solid #ff0a84;
  border-radius: 24px;
  padding: 1.25rem;
  max-width: 400px;
  width: 100%;
}
.gayly-tabs { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.gayly-tabs button { flex: 1; padding: 0.5rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; }
.gayly-tabs button.active { background: rgba(10,255,212,0.3); border-color: #0affd4; color: #0affd4; }
.gayly-view.hidden { display: none !important; }
.gayly-view .gayly-hours { font-size: 1.4rem; color: #0affd4; font-weight: 600; }
.gayly-week { display: grid; gap: 0.45rem; }
.gayly-week .day-row { display: flex; justify-content: space-between; padding: 0.45rem 0.5rem; background: rgba(255,255,255,0.08); border-radius: 8px; font-size: 0.9rem; }
.gayly-week .day-row.today { border: 1px solid #0affd4; }
.gayly-popup .close-btn { margin-top: 0.75rem; width: 100%; padding: 0.65rem; border-radius: 8px; background: #333; border: 1px solid #555; color: #fff; cursor: pointer; }

.map-actions { justify-content: center; gap: 0.65rem; flex-wrap: wrap; margin-top: 0.75rem; }
.map-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.5rem 1rem; border-radius: 10px;
  font-family: 'Righteous', cursive; font-size: 0.85rem;
  color: #fff; text-decoration: none;
  border: 1px solid rgba(10,255,212,0.5);
  background: rgba(0,0,0,0.65);
}
.map-btn-apple { border-color: rgba(255,10,132,0.5); }

/* Walk scroll-scrub (Where + Photos) */
.walk-section {
  --walk-pin-max-h: min(62vh, 480px);
  --walk-scrub-extra: 55vh;
  position: relative;
  width: 100%;
  margin: 1rem 0;
  z-index: 10;
}
.walk-sticky { position: sticky; top: 3.5rem; z-index: 10; width: 100%; }
.walk-track {
  position: relative;
  height: calc(var(--walk-pin-max-h) + 3rem + var(--walk-scrub-extra));
  --walk-progress: 0;
}
.walk-pin {
  position: relative;
  width: 100%;
  height: var(--walk-pin-max-h);
  overflow: hidden;
  background: #000;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-bottom: none;
}
.walk-video-layer { position: absolute; inset: 0; overflow: hidden; }
.walk-stills {
  position: absolute; inset: 0;
}
.walk-stills img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.walk-stills img.is-active { opacity: 1; }
[data-walk-video] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.walk-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 45%);
}
.walk-stages { position: absolute; inset: 0; z-index: 2; }
[data-walk-stage] {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.45s ease;
  pointer-events: none;
}
[data-walk-stage].is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.walk-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.55rem 0.85rem 0.65rem;
  background: rgba(0,0,0,0.9);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.walk-counter {
  position: absolute; top: 0.65rem; right: 0.65rem;
  font-size: 0.65rem; letter-spacing: 0.14em;
  background: rgba(0,0,0,0.78); padding: 0.2rem 0.45rem; border-radius: 4px;
}
.walk-label { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0; color: #f5f5f5; }
.walk-headline { font-family: 'Righteous', cursive; font-size: clamp(0.95rem, 3.6vw, 1.25rem); margin: 0; color: #fff; }
.walk-headline em { font-style: normal; color: #0affd4; }
.walk-direction { font-size: 0.68rem; color: #fff; margin: 0.15rem 0 0; line-height: 1.35; }
.walk-scroll-hint {
  align-items: center; justify-content: center; gap: 0.3rem;
  margin-top: 0.15rem; font-size: 0.55rem; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.35);
}
.walk-progress-bar {
  position: absolute; top: 0; left: 0; height: 2px; z-index: 10;
  background: linear-gradient(90deg, #ff0a84, #0affd4);
  width: calc(var(--walk-progress, 0) * 100%);
}
.walk-info {
  background: rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 0.7rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.6);
}
.walk-info a { color: #ffd166; text-decoration: none; }
.walk-cta {
  margin-top: 0.3rem; padding: 0.35rem 0.65rem;
  border-radius: 8px; background: #ff0a84; color: #fff !important;
  font-family: 'Righteous', cursive; font-size: 0.72rem; text-decoration: none !important;
}
#who { margin-bottom: 0; }
#who > .card { margin-bottom: 0.5rem; }
.photos-reel {
  margin: 0.35rem 0 0.75rem;
}
#who .photos-scrub-hint,
.walk-autoplay .photos-scrub-hint {
  margin: 0 0 0.45rem !important;
  text-align: center;
  font-size: 0.9rem;
  color: #ffd166;
}
.photos-scrub-frame {
  display: block;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 5 / 4.2;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50% / 42%;
  border: 2px solid rgba(255,255,255,0.55);
  box-shadow: 0 0 14px rgba(255,10,132,0.65), 0 0 4px rgba(255,255,255,0.2), 0 6px 12px rgba(0,0,0,0.35);
  position: relative;
  background: #000;
}
.photos-scrub-frame .walk-stills {
  position: absolute;
  inset: 0;
}
.photos-scrub-frame .walk-vignette {
  border-radius: 50% / 42%;
}
#what { margin-top: 0; }
#what > .section-label { margin: 0 0 0.5rem; }

/* Where walk: autoplay video, no scrub track */
.walk-autoplay {
  --walk-pin-max-h: min(72vh, 640px);
  margin: 1rem 0;
  position: relative;
  z-index: 10;
}
.walk-autoplay-pin {
  position: relative;
  width: 100%;
  height: var(--walk-pin-max-h);
  overflow: hidden;
  background: #000;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255,255,255,0.2);
  border-bottom: none;
}
.walk-autoplay .walk-info {
  border-radius: 0 0 16px 16px;
}

.why-card { text-align: center; }
.why-born {
  margin: 0 0 0.65rem;
  font-family: 'Righteous', cursive;
  font-size: clamp(1.45rem, 6vw, 1.9rem);
  letter-spacing: 0.05em;
}

/* Reduced-motion: static pin, collapse the scrub track, show final frame only */
.walk-sticky.is-reduced { position: relative; top: auto; }
.walk-track:has(.is-reduced) { height: auto; }
.walk-sticky.is-reduced [data-walk-stage] { opacity: 0; }
.walk-sticky.is-reduced [data-walk-stage]:last-child { opacity: 1; }

a.line-friend-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .75rem; padding: .65rem 1.1rem; border-radius: 999px;
  background: #06c755; color: #fff !important; font-weight: 700; text-decoration: none !important;
}
a.line-friend-btn svg { width: 1.2rem; height: 1.2rem; fill: #fff; }

@media (max-width: 480px) {
  body { padding-bottom: calc(max(2rem, env(safe-area-inset-bottom)) + 5.5rem); }
}
