:root {
  --bg: #070508;
  --bg-soft: #120b10;
  --text: #f6ece8;
  --muted: #b9a39c;
  --accent: #e23b5a;
  --accent-2: #ff7a93;
  --gold: #e2b58a;
  --ok: #3dd68c;
  --safe: max(16px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: "Manrope", system-ui, sans-serif;
  min-height: 100dvh;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
[hidden] { display: none !important; }

.gate {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  background:
    linear-gradient(180deg, rgba(7,5,8,.5), rgba(7,5,8,.92)),
    url("../photos/p065.jpg") center/cover no-repeat;
  padding: 24px;
}
.gate-card {
  width: min(420px, 100%);
  background: rgba(18,11,16,.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  padding: 28px 24px;
  text-align: center;
}
.gate-card h2 {
  font-family: "Fraunces", serif;
  font-size: 32px;
  margin: 8px 0 10px;
  line-height: 1.1;
}
.sub { color: var(--muted); line-height: 1.5; margin-bottom: 18px; }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.lang-card img { width: 100%; height: 160px; object-fit: cover; object-position: center 18%; }
.lang-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px;
  background: linear-gradient(transparent, #000);
  font-weight: 800;
}

.kicker {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 18px; border-radius: 999px; font-weight: 800;
  width: 100%;
}
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 10px 30px rgba(226,59,90,.35);
}
.btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  margin-top: 8px;
}

.page { padding-bottom: 48px; }
.page.waiting { padding-bottom: 120px; }
.wrap { max-width: 720px; margin: 0 auto; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 16px 8px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.brand h1 { font-size: 18px; }
.online {
  display: flex; align-items: center; gap: 6px;
  color: var(--ok); font-size: 12px; font-weight: 700;
}
.watch { color: var(--muted); font-size: 11px; margin-top: 2px; }
.online i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px rgba(61,214,140,.18);
}
.lang-mini {
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-weight: 800; font-size: 12px;
}

.hero {
  margin: 8px 16px 18px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}
.hero img {
  width: 100%; height: 48vh; max-height: 420px;
  object-fit: cover; object-position: center 18%;
}
.hero-copy {
  position: absolute; inset: auto 0 0;
  padding: 80px 20px 22px;
  background: linear-gradient(180deg, transparent, rgba(7,5,8,.92) 70%);
}
.hero-copy h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 8vw, 44px);
  line-height: 1.05;
  margin: 8px 0;
}
.hero-copy p { color: var(--muted); }
.hint { margin-top: 8px; color: var(--gold) !important; font-size: 13px; font-weight: 700; }

.stats {
  display: none;
}
.bar {
  margin: 0 16px 8px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .4s ease;
}
.bar-label {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section { padding: 6px 16px 18px; }
.section h3 {
  font-family: "Fraunces", serif;
  font-size: 26px;
  margin-bottom: 12px;
}

.reel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 42%;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel figure {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #000;
}
.reel video, .reel img {
  width: 100%; height: 280px; object-fit: cover;
}

.grid {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.grid .col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.grid figure {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  margin: 0;
  line-height: 0;
}
.grid img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.locked img, .locked video {
  filter: blur(16px) saturate(.75) brightness(.5);
  pointer-events: none;
}
.locked .veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,5,8,.08), rgba(7,5,8,.55) 70%);
}
.locked.next img, .locked.next video {
  filter: blur(16px) saturate(.75) brightness(.5);
}
.locked.next .veil {
  background:
    linear-gradient(180deg, rgba(7,5,8,.08), rgba(7,5,8,.55) 70%);
  box-shadow: none;
}
.locked .veil b {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .04em;
}
figure.just-open img, figure.just-open video {
  animation: reveal .8s ease;
}
@keyframes reveal {
  from { filter: blur(16px) brightness(.5); transform: scale(1.1); }
  to { filter: none; transform: none; }
}

.warn {
  margin: 8px 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #3a1a12;
  color: #ffd2c4;
  font-size: 13px;
}
.footer {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 12px 24px 24px;
  line-height: 1.5;
}

.sticky {
  position: fixed;
  left: 16px; right: 16px;
  bottom: var(--safe);
  z-index: 40;
  background: rgba(14,8,12,.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 12px 14px;
  text-align: center;
}
.wait-hint {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}
.wait-time {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .04em;
}
.lb {
  position: fixed; inset: 0; z-index: 75;
  background: #000;
  display: grid; place-items: center;
  padding: 16px;
}
.lb img, .lb video { max-width: 100%; max-height: 88dvh; border-radius: 12px; }
.lb-close {
  position: absolute; top: 14px; right: 16px;
  font-size: 32px; color: #fff;
}

@media (min-width: 900px) {
  .reel { grid-auto-columns: 220px; }
}
