:root {
  --paper: #f4efe6;
  --cream: #fffaf3;
  --ink: #241c1a;
  --muted: #6e625c;
  --wine: #9f2d3a;
  --wine-deep: #6e1d2a;
  --line: #e4d5c6;
  --header: 4.35rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(159, 45, 58, 0.06), transparent 220px),
    var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  background: var(--wine-deep);
  color: #f8e7e4;
}

.topbar p {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-align: center;
}

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.15rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: var(--header);
  padding: 0.35rem 0;
}

.brand-mark {
  display: flex;
  flex: 0 0 auto;
}

.brand-mark svg {
  display: block;
  width: 36px;
  height: 36px;
}

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 680;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--cream);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.3rem 0.8rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--wine);
}

.nav-menu a[aria-current="page"] {
  color: var(--wine-deep);
  box-shadow: inset 0 -2px 0 var(--wine);
}

.brand:focus-visible,
.nav-toggle:focus-visible,
.nav-menu a:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

.hero {
  padding: 2.15rem 1.15rem 2.5rem;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.hero h1 {
  max-width: 14em;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.05rem, 4.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-bottom: 0.85rem;
  background: var(--wine);
}

.hero h2 {
  max-width: 38rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 0.2rem 0 0.95rem;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    min-height: 2.85rem;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: var(--cream);
  }

  .nav-menu a[aria-current="page"] {
    color: var(--cream);
    background: var(--wine);
    border-color: var(--wine);
    box-shadow: none;
  }

  .hero {
    padding: 1.7rem 1.15rem 2.1rem;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 1.02rem;
  }

  .topbar p {
    font-size: 0.72rem;
  }
}

.listing {
  padding: 0 1.15rem 3rem;
}

.listing h2 {
  margin: 0 0 1.15rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.offer-head,
.offer-line {
  display: grid;
  grid-template-columns: 3.25rem 6.4rem minmax(7.5rem, 0.85fr) minmax(13rem, 1.7fr) 4.8rem max-content;
  gap: 0.75rem 1rem;
  align-items: center;
}

.offer-head {
  padding: 0 1.15rem 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: 0 10px 24px rgba(36, 28, 26, 0.04);
}

.offer-line {
  padding: 0.95rem 1.15rem 0.8rem;
}

.offer-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 680;
  letter-spacing: -0.04em;
  color: var(--wine);
}

.offer-line img {
  display: block;
  width: 92px;
  height: 52px;
  object-fit: contain;
  border-radius: 0.7rem;
  background: #f7f1e8;
  border: 1px solid var(--line);
}

.offer-name,
.offer-bonus,
.offer-score {
  margin: 0;
}

.offer-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.offer-bonus {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

.offer-bonus span,
.offer-score span {
  display: none;
}

.offer-score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.offer-score strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 680;
  letter-spacing: -0.04em;
}

.offer-score small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.offer-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--wine);
  color: #fffaf3;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.offer-visit:hover,
.offer-visit:focus-visible {
  background: var(--wine-deep);
  color: #fffaf3;
}

.offer-visit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.offer-note {
  margin: 0;
  padding: 0.7rem 1.15rem 0.9rem;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .offer-head {
    display: none;
  }

  .offer-line {
    grid-template-columns: auto 92px minmax(0, 1fr) auto;
    grid-template-areas:
      "num media name score"
      "bonus bonus bonus bonus"
      "visit visit visit visit";
  }

  .offer-num { grid-area: num; }
  .offer-line img { grid-area: media; }
  .offer-name { grid-area: name; }
  .offer-score { grid-area: score; align-items: flex-end; }
  .offer-bonus { grid-area: bonus; }
  .offer-visit { grid-area: visit; width: 100%; }

  .offer-bonus span,
  .offer-score span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--muted);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

@media (max-width: 420px) {
  .offer-line {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "num name score"
      "media media media"
      "bonus bonus bonus"
      "visit visit visit";
  }

  .offer-line img {
    width: 100%;
    height: 64px;
  }
}

.site-footer {
  margin-top: 1rem;
  padding: 2.4rem 1.15rem 2.8rem;
  background: #2a171b;
  color: #f6ebe6;
}

.footer-copy {
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) minmax(12rem, 0.9fr) minmax(16rem, 1.4fr);
  gap: 1.5rem 2rem;
}

.footer-nav,
.footer-play {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.footer-nav p,
.footer-play p:first-child {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 680;
}

.footer-nav a {
  color: #f0d2cb;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fffaf3;
}

.footer-play-text {
  margin: 0;
  max-width: 38rem;
  color: #e7d2cb;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-badges a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-badges img {
  display: block;
  width: auto;
  max-width: 7.5rem;
  height: 2.6rem;
  object-fit: contain;
}

.footer-notes {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.footer-notes p {
  margin: 0;
  color: #e7d2cb;
  font-size: 0.8rem;
  line-height: 1.5;
}

.footer-notes strong {
  color: #fffaf3;
}

.age-gate,
.restriction {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.age-gate {
  background: rgba(36, 28, 26, 0.62);
}

html.age-ok .age-gate,
html.is-restricted .age-gate {
  display: none;
}

html:not(.age-ok),
html.is-restricted {
  overflow: hidden;
}

.age-card,
.restriction-card {
  width: min(100%, 32rem);
  padding: 1.4rem 1.3rem 1.3rem;
  border-radius: 1.2rem;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 18px 50px rgba(36, 28, 26, 0.18);
}

.age-kicker {
  margin: 0 0 0.45rem;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.age-card h2,
.restriction-card h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.age-card p:last-of-type,
.restriction-card p:last-of-type {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.age-yes,
.age-no,
.cookie-actions button {
  min-height: 2.75rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.age-yes,
.cookie-actions button[data-cookie="accept"] {
  border: 0;
  background: var(--wine);
  color: #fffaf3;
}

.age-no,
.cookie-actions button[data-cookie="refuse"] {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.age-yes:hover,
.cookie-actions button[data-cookie="accept"]:hover {
  background: var(--wine-deep);
}

.restriction {
  display: none;
  z-index: 90;
  background: #2a171b;
}

html.is-restricted .restriction {
  display: grid;
}

.restriction-card {
  background: #fffaf3;
}

.cookie-bar {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 70;
}

html.age-ok .cookie-bar.is-open {
  display: block;
}

html.is-restricted .cookie-bar {
  display: none;
}

.cookie-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--cream);
  box-shadow: 0 14px 36px rgba(36, 28, 26, 0.14);
}

.cookie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.cookie-card #cookie-title {
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cookie-actions a {
  color: var(--wine-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 800px) {
  .footer-grid,
  .cookie-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cookie-actions,
  .age-actions {
    width: 100%;
  }

  .age-yes,
  .age-no,
  .cookie-actions button,
  .cookie-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.page {
  padding: 2.15rem 1.15rem 3.2rem;
}

.page h1 {
  max-width: 16em;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.05rem, 4.6vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.page h1::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 3px;
  margin-bottom: 0.85rem;
  background: var(--wine);
}

.page-lead {
  max-width: 40rem;
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  font-weight: 500;
  line-height: 1.6;
}

.page h2 {
  margin: 1.8rem 0 0.45rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page p,
.page li {
  max-width: 42rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

.page p {
  margin: 0.55rem 0 0;
}

.page ul {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
}

.page li + li {
  margin-top: 0.35rem;
}

.page a {
  color: var(--wine-deep);
  font-weight: 700;
}

.mail {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--wine);
  color: #fffaf3;
  font-weight: 700;
}

.mail:hover,
.mail:focus-visible {
  background: var(--wine-deep);
  color: #fffaf3;
}
