@font-face {
  font-family: "Cooper Black Regular";
  src: url("../Fonts/COOPBL.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2b3136;
  --ink-soft: #454b51;
  --brand-1: #fe8a8a;
  --brand-2: #ff8da2;
  --brand-3: #ffb199;
  --glass-bg: rgba(255, 255, 255, .35);
  --glass-stroke: rgba(255, 255, 255, .65);
  --glass-shadow: 0 18px 40px rgba(0, 0, 0, .18);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, .65);
  --bubble-pink: rgba(255, 230, 236, .82);
  --space: clamp(18px, 3vw, 34px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(1200px 800px at 50% -220px, rgba(255, 255, 255, .28), transparent 60%),
    linear-gradient(180deg, var(--brand-1) 0%, var(--brand-1) 22%, var(--brand-2) 48%, var(--brand-3) 100%);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/shroomie-buddy-red.gif") center 62% / clamp(360px, 74vw, 932px) auto no-repeat;
  opacity: .18;
  filter: saturate(115%) contrast(105%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(900px 380px at 50% 0%, rgba(255,255,255,.18), transparent 64%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(43, 49, 54, .7);
  outline-offset: 4px;
}

.brand-head,
h1,
h2,
h3 {
  font-family: "Cooper Black Regular", "Cooper Black", serif;
  font-weight: 400;
  letter-spacing: .2px;
}

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.liquid {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .48);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .75);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-radius: 0 0 22px 22px;
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .16));
}

.menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255,255,255,.8);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  position: relative;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -7px;
}

.menu-btn span::after {
  top: 7px;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 4%;
  display: none;
  min-width: min(310px, 92vw);
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .74);
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav.open .menu-panel {
  display: grid !important;
  gap: 8px;
}

.menu-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.menu-panel a:hover,
.menu-panel a[aria-current="page"] {
  background: var(--bubble-pink);
}

.page-shell {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 4vw, 46px) 0 34px;
}

.hero {
  display: grid;
  gap: clamp(18px, 4vw, 36px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 24px;
}

.hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2.15rem, 7vw, 5.2rem);
  line-height: .96;
  max-width: 11ch;
}

.hero p {
  max-width: 64ch;
  margin: 0;
  font-size: clamp(1.04rem, 2vw, 1.2rem);
  line-height: 1.55;
}

.hero-art {
  display: grid;
  place-items: center;
}

.hero-art img {
  width: min(330px, 78vw);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
}

.eyebrow,
.text-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: .58rem .9rem;
  border-radius: 999px;
  background: var(--bubble-pink);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 10px 24px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.75);
  color: var(--ink);
  font-weight: 900;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.78);
  background: rgba(255,255,255,.72);
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.75);
}

.pill:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.9);
}

.pill.primary {
  background: #2b3136;
  color: #fff;
  border-color: rgba(43,49,54,.18);
}

.pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.section {
  margin-top: var(--space);
}

.section-head {
  text-align: center;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0 auto;
  font-size: clamp(1.55rem, 4vw, 2.5rem);
}

.section-head p {
  max-width: 70ch;
  margin: 10px auto 0;
  line-height: 1.55;
  color: var(--ink-soft);
}

.notice-band {
  padding: clamp(18px, 3vw, 28px);
  border-radius: 22px;
}

.notice-band p {
  max-width: 78ch;
  margin: 0 auto;
  text-align: center;
  line-height: 1.55;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.card {
  padding: clamp(16px, 3vw, 24px);
  border-radius: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
}

.card p,
.card li {
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.official-link-list {
  display: grid;
  gap: 12px;
}

.official-link {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  color: var(--ink);
  text-decoration: none;
}

.official-link strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.04rem;
}

.official-link span {
  color: var(--ink-soft);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.warning-list {
  display: grid;
  gap: 12px;
}

.warning-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.warning-item i {
  margin-top: 4px;
  color: #2b3136;
}

.footer-meta {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: .92rem;
  color: var(--ink);
  margin: 26px 0 30px;
  font-weight: 800;
}

.footer-meta a {
  color: var(--ink);
  text-decoration: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.age-gate.show {
  display: flex;
}

.age-card {
  width: min(92vw, 460px);
  padding: 20px;
  border-radius: 22px;
  text-align: center;
}

.age-card img {
  width: min(180px, 56vw);
  display: block;
  margin: 8px auto;
}

.age-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.age-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.age-denied {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.82);
}

@media (min-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr);
  }

  .card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid.two,
  .official-link-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: 12ch;
  }

  .actions,
  .age-actions {
    flex-direction: column;
  }

  .pill {
    width: 100%;
  }
}
