:root {
  --bg: #030712;
  --panel: #1a1215;
  --panel-2: #24181c;
  --text: #eef2ff;
  --muted: #97a3b6;
  --line: rgba(255,255,255,0.08);
  --pill: rgba(0,0,0,0.45);
  --radius: 28px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 208, 153, 0.18) 0%, transparent 26%),
    radial-gradient(circle at top right, rgba(255, 154, 118, 0.14) 0%, transparent 24%),
    linear-gradient(180deg, #171114 0%, #120d10 38%, #0c0910 100%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

body { min-height: 100vh; }

.page {
  width: min(1380px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: #fff4eb;
}

.hero p {
  margin: 0 0 30px;
  color: rgba(238, 242, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 760px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.clip-card {
  background: linear-gradient(180deg, rgba(41,28,31,0.96), rgba(20,14,18,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,0.30);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.clip-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.clip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 62px rgba(0,0,0,0.34);
  border-color: rgba(255, 208, 153, 0.20);
}

.clip-thumb-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #130f12;
}

.clip-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clip-thumb-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff4eb;
  font-size: 2rem;
  background: linear-gradient(135deg, #2a1c21, #161015);
}

.clip-thumb-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: flex;
  justify-content: flex-start;
}

.open-pill {
  background: rgba(12, 9, 10, 0.56);
  backdrop-filter: blur(10px);
  color: #fff8f2;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 0.98rem;
  border: 1px solid rgba(255,255,255,0.10);
}

.clip-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  padding: 20px 22px 24px;
}

.clip-text h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff5ed;
}

.clip-text p {
  margin: 7px 0 0;
  color: rgba(238, 242, 255, 0.62);
  font-size: 0.95rem;
}

.clip-size {
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff0e7;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  font-size: 0.92rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #dbe4f3;
  text-decoration: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.detail-video-card,
.detail-side-card {
  background: linear-gradient(180deg, rgba(42,29,33,0.96), rgba(21,15,18,0.99));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
}

.video-stage {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-video {
  max-width: 100%;
  max-height: calc(100vh - 210px);
  width: auto;
  height: auto;
  border-radius: 22px;
  background: black;
}

.detail-side-card h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.detail-file {
  color: var(--muted);
  margin: 0 0 18px;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.action-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
}

.action-btn.primary {
  background: white;
  color: #0a1020;
}

.action-btn.secondary {
  background: rgba(255,255,255,0.06);
  color: white;
}

.qr-box {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}

.qr-box img {
  width: min(100%, 260px);
  height: auto;
  display: block;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: white;
}

.qr-box p {
  margin: 0;
  color: var(--muted);
}

.gate {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3,7,18,0.82);
  backdrop-filter: blur(12px);
  z-index: 999;
}

.gate[hidden] {
  display: none !important;
}

.gate-card {
  width: min(480px, 100%);
  background: linear-gradient(180deg, rgba(20,28,45,0.98), rgba(8,14,26,1));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}

.gate-card h1 {
  margin: 0 0 8px;
}

.gate-card p {
  color: var(--muted);
}

.gate-form {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.gate-form input {
  flex: 1;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: white;
  padding: 0 16px;
}

.gate-form button {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  padding: 0 20px;
  cursor: pointer;
}

.gate-error {
  min-height: 24px;
  color: #ff8f8f;
}

@media (max-width: 980px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .video-stage {
    min-height: auto;
  }

  .detail-video {
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
  }
}


.showbot-footer {
  margin-top: 52px;
  padding: 28px 16px 34px;
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.92;
  color: rgba(238, 242, 255, 0.76);
}

.showbot-footer__inner {
  max-width: 900px;
  margin: 0 auto;
}

.showbot-footer p {
  margin: 6px 0;
}

.showbot-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 768px) {
  .showbot-footer {
    margin-top: 28px;
    padding: 20px 14px 28px;
    font-size: 13px;
  }
}


.page-gallery .hero {
  margin-bottom: 8px;
}


.page-gallery .clip-thumb {
  transition: transform 220ms ease;
}

.page-gallery .clip-card:hover .clip-thumb {
  transform: scale(1.025);
}

.page-gallery .clip-thumb-fallback {
  background: linear-gradient(135deg, #2a1c21, #161015);
  color: #fff4eb;
}

@media (max-width: 768px) {
  .page {
    width: min(1400px, calc(100vw - 24px));
    padding: 22px 0 36px;
  }

  .gallery-grid {
    gap: 18px;
  }

  .clip-card {
    border-radius: 24px;
  }

  .clip-meta {
    padding: 16px 16px 18px;
  }

  .clip-text h2 {
    font-size: 1.2rem;
  }

  .clip-size {
    padding: 9px 13px;
    font-size: 0.84rem;
  }
}


/* =========================
   GALLERY ENGAGEMENT REFRESH
   ========================= */

.page-gallery {
  padding-top: 38px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 860px;
}

.hero-gallery h1 {
  margin: 0 0 14px;
  font-size: clamp(2.7rem, 5.5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #fff3ea;
}

.hero-gallery p {
  margin: 0;
  max-width: 760px;
  color: rgba(238, 242, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-self: start;
  padding-top: 8px;
}

.hero-note-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(255, 243, 234, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-gallery .gallery-grid {
  margin-top: 26px;
}

.page-gallery .clip-card {
  position: relative;
}

.page-gallery .clip-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(10,7,9,0.10) 40%, rgba(10,7,9,0.22) 100%);
}

.page-gallery .clip-card-link {
  position: relative;
  z-index: 1;
}

.page-gallery .clip-meta {
  align-items: center;
}

.page-gallery .clip-text p {
  max-width: 28ch;
}

.page-gallery .clip-size {
  font-weight: 600;
}

.page-gallery .open-pill {
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

@media (max-width: 980px) {
  .hero-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-note {
    justify-content: flex-start;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .page-gallery {
    padding-top: 24px;
  }

  .hero-gallery h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .hero-gallery p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-note-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .page-gallery .clip-text p {
    max-width: none;
  }
}


/* =========================
   HERO LAYOUT FIX
   ========================= */

.page-gallery {
  padding-top: 34px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 8px;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255, 244, 235, 0.74);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 1040px;
}

.hero-gallery h1 {
  margin: 0 0 14px;
  max-width: 1100px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: #fff3ea;
}

.hero-gallery p {
  margin: 0;
  max-width: 860px;
  color: rgba(238, 242, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.6;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.hero-note-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: rgba(255, 243, 234, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-gallery .gallery-grid {
  margin-top: 24px;
}

.page-gallery .clip-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(10,7,9,0.10) 40%, rgba(10,7,9,0.22) 100%);
}

.page-gallery .clip-thumb {
  transition: transform 220ms ease;
}

.page-gallery .clip-card:hover .clip-thumb {
  transform: scale(1.025);
}

.page-gallery .clip-text h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff5ed;
}

.page-gallery .clip-text p {
  margin: 7px 0 0;
  color: rgba(238, 242, 255, 0.62);
  font-size: 0.95rem;
  max-width: 24ch;
}

.page-gallery .clip-size {
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff0e7;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  font-size: 0.92rem;
  font-weight: 600;
}

.page-gallery .open-pill {
  background: rgba(12, 9, 10, 0.56);
  backdrop-filter: blur(10px);
  color: #fff8f2;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 0.98rem;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

@media (max-width: 980px) {
  .hero-gallery h1 {
    font-size: clamp(2.4rem, 9vw, 4.2rem);
  }
}

@media (max-width: 768px) {
  .page-gallery {
    padding-top: 22px;
  }

  .hero-gallery {
    gap: 14px;
  }

  .hero-kicker {
    min-height: 36px;
    padding: 0 14px;
    font-size: 11px;
  }

  .hero-gallery p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-note-pill {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  .page-gallery .clip-text p {
    max-width: none;
  }
}


/* =========================
   GALLERY DENSITY / HERO COMPACT
   ========================= */

.page-gallery {
  padding-top: 20px;
}

.hero-gallery {
  gap: 10px;
  margin-bottom: 2px;
}

.hero-kicker {
  min-height: 34px;
  padding: 0 14px;
  font-size: 11px;
}

.hero-gallery h1 {
  margin: 0 0 8px;
  max-width: 900px;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero-gallery p {
  margin: 0;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-subline {
  margin-top: 10px !important;
  color: rgba(255, 243, 234, 0.72) !important;
  font-size: 0.95rem !important;
}

.page-gallery .gallery-grid {
  margin-top: 16px;
}

.page-gallery .clip-card {
  border-radius: 24px;
}

.page-gallery .clip-meta {
  padding: 16px 16px 18px;
  gap: 10px;
}

.page-gallery .clip-text h2 {
  font-size: 1.2rem;
}

.page-gallery .clip-text p {
  margin: 5px 0 0;
  font-size: 0.88rem;
  max-width: none;
}

.page-gallery .clip-size {
  padding: 9px 12px;
  font-size: 0.82rem;
}

.page-gallery .open-pill {
  padding: 11px 16px;
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-gallery {
    padding-top: 14px;
  }

  .hero-gallery h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .hero-gallery p {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .hero-subline {
    font-size: 0.9rem !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
  }
}


.detail-instagram {
  margin: 18px 0 0;
  color: rgba(255, 243, 234, 0.78);
  font-size: 0.96rem;
  line-height: 1.45;
}

.detail-instagram strong {
  color: #fff4eb;
  font-weight: 700;
}


.gate-remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: rgba(238, 242, 255, 0.78);
  font-size: 0.95rem;
  cursor: pointer;
}

.gate-remember input {
  width: 18px;
  height: 18px;
  accent-color: #ffffff;
}
