:root {
  --background: #120d17;
  --surface: #211726;
  --surface-strong: #2d1d34;
  --text: #fff8ff;
  --muted: #d7c9d6;
  --accent: #f17db7;
  --accent-strong: #ffb0d7;
  --line: rgba(255, 255, 255, 0.16);
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: radial-gradient(circle at top, #472143 0, var(--background) 48%);
  color: var(--text);
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 68px 0 96px;
}

.hero {
  max-width: 680px;
  padding: 18px 0 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.hero-copy,
.offer-copy,
.modal > p:not(.eyebrow):not(.price):not(.price-note):not(.status-message) {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 36px 0 20px;
}

.preview-content,
.full-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.preview-card,
.media-button {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.preview-card:nth-child(3n + 1) {
  grid-row: span 2;
}

.preview-card img,
.media-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
  user-select: none;
  -webkit-user-drag: none;
}

.preview-card img {
  position: absolute;
  inset: 0;
}

.preview-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(110, 106, 114, 0.08), rgba(65, 61, 70, 0.24));
  content: "";
}

.upcoming-heading {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.upcoming-card {
  min-height: 180px;
}

.upcoming-card:nth-child(3n + 1) {
  grid-row: auto;
}

.upcoming-card img {
  filter: blur(5px) grayscale(0.35);
  transform: scale(1.06);
}

.locked-label,
.play-overlay {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
}

.locked-label {
  right: 12px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--text);
  font-size: 0.9rem;
}

.play-overlay {
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(20, 9, 25, 0.45);
  color: var(--text);
  font-size: 1.2rem;
  transform: translate(-50%, -50%);
}

.overlay,
.lightbox {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 5, 13, 0.74);
  backdrop-filter: blur(9px);
}

.paywall-overlay {
  align-items: end;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.paywall-modal {
  margin-bottom: 16px;
  pointer-events: auto;
}

.modal {
  width: min(100%, 510px);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--surface-strong), #1d1522);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  padding: 34px;
  text-align: center;
}

.modal h2 {
  margin-bottom: 16px;
}

.primary-button {
  width: 100%;
  margin: 12px 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff9dcd);
  color: #28101f;
  font-weight: 800;
  padding: 15px 20px;
}

.primary-button:hover,
.primary-button:focus-visible {
  filter: brightness(1.08);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.exit-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.price {
  margin: 22px 0 5px;
  font-size: 1.15rem;
}

.price s {
  color: var(--muted);
}

.price strong {
  margin-left: 8px;
  color: var(--accent-strong);
  font-size: 2.25rem;
}

.price-note {
  color: var(--muted);
  font-size: 0.83rem;
}

.terms-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
  text-align: left;
}

.terms-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.terms-consent a,
.legal-links a {
  color: var(--accent-strong);
}

.legal-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 30px 0 48px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.legal-footer > p {
  margin-bottom: 16px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.status-message {
  min-height: 1.35em;
  margin: 16px 0 0;
  color: #ffcf7c;
  font-size: 0.9rem;
}

.unlocked-section {
  margin-top: 66px;
}

.media-button {
  min-height: 260px;
  padding: 0;
  border: 1px solid var(--line);
  cursor: zoom-in;
}

.media-button:focus-visible,
.primary-button:focus-visible,
.text-button:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent-strong);
  text-decoration: underline;
}

.lightbox {
  z-index: 20;
  cursor: zoom-out;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: calc(100vh - 64px);
  border-radius: 10px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 13, 23, 0.9);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

[hidden] {
  display: none !important;
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100% - 24px, 680px);
    padding-top: 36px;
  }

  .legal-footer {
    width: min(100% - 24px, 680px);
  }

  .preview-content,
  .full-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .preview-card,
  .media-button {
    min-height: 210px;
  }

  .modal {
    padding: 28px 22px;
  }
}

@media (max-width: 420px) {
  .section-heading {
    display: block;
  }

  .preview-card,
  .media-button {
    min-height: 165px;
  }
}
