:root {
  --ink: #141112;
  --paper: #f4f1ef;
  --surface: #ffffff;
  --muted: #776d6f;
  --line: rgba(20, 17, 18, 0.12);
  --rose: #b84a55;
  --rose-dark: #8f2634;
  --silver: #d6d3cf;
  --mint: #88d6bd;
  --black: #050505;
  --shadow: 0 24px 60px rgba(15, 10, 12, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px);
  color: white;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark,
.avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  background: var(--black);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.62) 34%, rgba(5, 5, 5, 0.14) 66%, rgba(5, 5, 5, 0.38) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.82) 0%, rgba(5, 5, 5, 0) 44%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: auto;
  padding: 0 clamp(20px, 6vw, 72px) 112px 20px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(54px, 9vw, 118px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-text {
  max-width: 520px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions,
.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.icon-btn:hover,
.tab:hover,
.segment:hover {
  transform: translateY(-1px);
}

.primary {
  color: white;
  background: var(--rose-dark);
}

.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.glass {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.glass-dark {
  color: white;
  background: rgba(20, 17, 18, 0.86);
}

.outline {
  color: var(--rose-dark);
  border-color: rgba(124, 63, 76, 0.3);
  background: transparent;
}

.full {
  width: 100%;
}

.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.hero-status {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.hero-status span {
  display: grid;
  gap: 3px;
  min-width: 110px;
  padding: 14px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(5, 5, 5, 0.22);
}

.hero-status strong {
  color: white;
  font-size: 15px;
}

.preview-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: -58px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 16px;
  align-items: start;
}

.access-card,
.preview-panel,
.price-card,
.access-section,
.steps,
.age-panel,
.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(30, 20, 24, 0.08);
}

.access-card {
  position: sticky;
  top: 82px;
  padding: 20px;
}

.avatar {
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  color: white;
  border-color: rgba(124, 63, 76, 0.18);
  background: var(--rose-dark);
  font-weight: 900;
}

.access-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.access-card p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.profile-row span {
  color: var(--muted);
}

.access-card .btn {
  margin-top: 18px;
}

.preview-panel {
  padding: 12px;
}

.section-head.compact {
  padding: 12px 10px 16px;
  margin-bottom: 0;
}

.section-head.compact h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.tabs,
.segmented {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tabs {
  padding: 6px 6px 14px;
  overflow-x: auto;
}

.tab,
.segment {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: white;
  cursor: pointer;
  font-weight: 800;
}

.tab.active,
.segment.active {
  color: white;
  border-color: var(--rose-dark);
  background: var(--rose-dark);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 12px;
}

.preview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.preview-card.tall {
  grid-row: span 2;
  grid-column: span 2;
}

.preview-card.wide {
  grid-column: span 2;
}

.preview-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: blur(10px) saturate(0.82) brightness(0.86);
  transform: scale(1.06);
}

.preview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.38) 62%),
    linear-gradient(to top, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.04) 56%);
}

.preview-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0 10px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  background: rgba(5, 5, 5, 0.35);
  backdrop-filter: blur(12px);
}

.access-section {
  width: min(1180px, calc(100% - 32px));
  margin: 76px auto 16px;
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: center;
}

.section-head {
  max-width: 620px;
  margin-bottom: 18px;
}

.section-head h2,
.telegram h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card {
  padding: 22px;
}

.price-card.featured {
  color: white;
  background: var(--black);
}

.price-label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--rose);
}

.price-card h3 {
  margin: 10px 0;
  font-size: 46px;
}

.price-card p {
  min-height: 68px;
  color: var(--muted);
  line-height: 1.5;
}

.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.access-copy p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.access-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
}

.single-price h3 {
  font-size: 58px;
}

.age-gate,
.checkout {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(16px);
}

.checkout[hidden] {
  display: none;
}

.age-panel,
.checkout-panel {
  width: min(480px, 100%);
  padding: 26px;
  box-shadow: var(--shadow);
}

.age-panel h2,
.checkout-panel h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.age-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.checkout-panel {
  position: relative;
}

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.checkout-row span {
  color: var(--muted);
}

.qr-box {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #faf9f8;
  text-align: center;
  color: var(--muted);
}

.checkout-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.qr-grid {
  width: 136px;
  height: 136px;
  border: 10px solid white;
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--black) 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(var(--black) 10px, transparent 10px) 0 0 / 24px 24px,
    #fff;
  box-shadow: 0 12px 24px rgba(20, 17, 18, 0.12);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 22px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.is-hidden {
  display: none;
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 78vh;
  }

  .hero img {
    object-position: 40% center;
  }

  .hero-copy {
    margin-left: 0;
    padding: 0 20px 130px;
  }

  .hero-status {
    left: 16px;
    right: 16px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-status span {
    min-width: 0;
    padding: 12px 10px;
  }

  .preview-wrap {
    grid-template-columns: 1fr;
    margin-top: -34px;
  }

  .access-card {
    position: static;
  }

  .preview-grid,
  .price-grid,
  .access-section {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-auto-rows: 330px;
  }

  .preview-card.tall,
  .preview-card.wide {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .site-header {
    height: 58px;
    padding: 0 14px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-actions .btn,
  .age-actions .btn {
    width: 100%;
  }

  .tabs {
    padding-bottom: 10px;
  }

  .price-card p {
    min-height: auto;
  }
}
