:root {
  color-scheme: light;
  --red: #e40000;
  --ink: #151515;
  --muted: #5b5f62;
  --paper: #f6f2ea;
  --paper-edge: rgba(255, 255, 255, 0.72);
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #080808;
  color: var(--ink);
}

.landing {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}

.background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.02);
  filter: saturate(0.96) contrast(1.02);
}

.scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.48)),
    rgba(0, 0, 0, 0.54);
}

.age-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 620px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(30px, 5vw, 58px) clamp(24px, 5vw, 46px) clamp(28px, 5vw, 42px);
  border-radius: 18px;
  border: 1px solid var(--paper-edge);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.82), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(238, 232, 220, 0.92)),
    var(--paper);
  box-shadow: 0 28px 70px var(--shadow);
  text-align: center;
}

.age-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(35deg, rgba(88, 75, 61, 0.15) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 42px 42px, 28px 28px;
  mix-blend-mode: multiply;
}

.enter-link:focus-visible {
  outline: 3px solid rgba(228, 0, 0, 0.45);
  outline-offset: 4px;
}

.age-mark {
  margin: 0;
  color: var(--red);
  font-family: Impact, "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(94px, 18vw, 168px);
  line-height: 0.8;
  letter-spacing: 0;
}

.enter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  width: min(100%, 520px);
  padding: 15px 24px;
  border: 1px solid rgba(155, 135, 82, 0.65);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.28);
  color: #c91515;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.12;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.enter-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);
  color: var(--red);
}

.landing.is-revealed .age-card {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.landing.is-revealed .scrim {
  background: rgba(0, 0, 0, 0.18);
  transition: background 180ms ease;
}

@media (max-width: 720px) {
  .landing {
    padding: 18px;
    align-items: center;
  }

  .background {
    object-position: 58% top;
  }

  .age-card {
    min-height: 320px;
    border-radius: 16px;
  }

}

@media (max-width: 420px) {
  .age-card {
    gap: 14px;
    padding-inline: 18px;
  }

  .enter-link {
    min-height: 58px;
  }
}
