:root {
  --ink: #1c2430;
  --ink-soft: #3a4556;
  --paper: #f3efe6;
  --paper-2: #e7e0d2;
  --white: #fbf8f2;
  --line: rgba(28, 36, 48, 0.14);
  --gold: #8d6a2f;
  --gold-2: #c4a15a;
  --wine: #6d3140;
  --navy: #152033;
  --glow: rgba(196, 161, 90, 0.45);
  --serif: "Palatino Linotype", Palatino, "Iowan Old Style", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --read: Cambria, "Palatino Linotype", Georgia, serif;
  --shadow: 0 18px 40px rgba(21, 32, 51, 0.08);
}

* { box-sizing: border-box; }

html { font-size: 118%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(196, 161, 90, 0.16), transparent 60%),
    linear-gradient(180deg, #f7f3eb 0%, var(--paper) 28%, #efe8db 100%);
  font-family: var(--read);
  font-size: 1.08rem;
  line-height: 1.72;
  font-weight: 450;
}

img { max-width: 100%; display: block; }

a {
  color: var(--wine);
  text-decoration-color: rgba(109, 49, 64, 0.35);
  text-underline-offset: 0.18em;
  transition: color 0.35s ease, text-shadow 0.35s ease, text-decoration-color 0.35s ease, background 0.35s ease;
}

a:hover {
  color: #4d1d2a;
  text-decoration-color: var(--gold-2);
  text-shadow: 0 0 16px var(--glow);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus { top: 0.6rem; }

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.55rem 6vw;
  background: var(--navy);
  color: #f4ead6;
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.topbar a { color: #f4ead6; }

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--gold-2);
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 650;
  color: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(196, 161, 90, 0.0);
  transition: box-shadow 0.4s ease;
}

.topbar:hover .age-pill { box-shadow: 0 0 18px var(--glow); }

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 6vw 0.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  text-shadow: none;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(141, 106, 47, 0.45);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.brand:hover img {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 0 22px var(--glow);
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand span {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  font-family: var(--sans);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--ink);
}

nav.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  padding: 0.7rem 6vw 1.1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 1.02rem;
}

nav.site-nav a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: 0.2rem 0;
}

nav.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

nav.site-nav a:hover::after,
nav.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

nav.site-nav a:hover { text-shadow: 0 0 14px var(--glow); }

nav.site-nav a[aria-current="page"] { color: var(--wine); }

.wrap { width: min(1120px, 90vw); margin: 0 auto; }

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.5rem;
  align-items: end;
  padding: 2.4rem 0 1rem;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

h1, h2, h3 { font-weight: 640; letter-spacing: -0.025em; line-height: 1.18; }

h1 {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.6vw, 4.15rem);
  margin: 0 0 0.8rem;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  margin: 2.1rem 0 0.7rem;
}

h3 {
  font-family: var(--sans);
  font-size: 1.22rem;
  letter-spacing: 0;
  margin: 1.4rem 0 0.4rem;
}

.lede {
  font-family: var(--serif);
  font-size: 1.38rem;
  line-height: 1.48;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

p { margin: 0 0 1rem; }

.drop::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.5rem;
  line-height: 0.8;
  padding: 0.12rem 0.45rem 0 0;
  color: var(--wine);
}

.frame {
  margin: 0;
  position: relative;
}

.frame img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 6px 72px 6px 6px;
  box-shadow: var(--shadow);
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
}

.frame:hover img {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 50px rgba(21, 32, 51, 0.16), 0 0 28px rgba(196, 161, 90, 0.28);
  filter: saturate(1.05);
}

.frame figcaption {
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: 0.55rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.4rem;
  padding-bottom: 3rem;
}

.note {
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  padding: 1rem 1.05rem 0.4rem;
  font-size: 0.98rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.note:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(21, 32, 51, 0.1), 0 0 22px rgba(196, 161, 90, 0.25);
}

.note strong {
  font-family: var(--sans);
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.pull {
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--gold-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--navy);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
  margin: 1.2rem 0 0.4rem;
}

.sheet {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 0.3rem;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.sheet:hover {
  border-color: rgba(141, 106, 47, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(21, 32, 51, 0.08), 0 0 20px rgba(196, 161, 90, 0.22);
}

.sheet h3 { margin-top: 0.2rem; }

ol.steps, ul.long { padding-left: 1.2rem; }

ol.steps li, ul.long li { margin: 0 0 0.85rem; padding-left: 0.25rem; }

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.98rem;
  background: var(--white);
  margin: 1rem 0 1.4rem;
}

th, td {
  text-align: left;
  padding: 0.72rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: #f6f1e6;
}

tr { transition: background 0.3s ease, box-shadow 0.3s ease; }

tbody tr:hover { background: #fff8ea; box-shadow: inset 3px 0 0 var(--gold-2); }

.casino-board { padding: 0.4rem 0 1.6rem; }

.casino-board h2 { margin-top: 0.4rem; }

.score-key {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.casino-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 1.1rem;
}

.casino-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.05rem 1.1rem 1rem;
  min-height: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.casino-card:hover {
  transform: translateY(-4px);
  border-color: rgba(141, 106, 47, 0.55);
  box-shadow: 0 16px 36px rgba(21, 32, 51, 0.1), 0 0 24px rgba(196, 161, 90, 0.28);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-mark {
  flex: 0 0 auto;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f7f1e4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.casino-card:hover .logo-mark {
  transform: rotate(-3deg);
  box-shadow: 0 0 18px var(--glow), inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.logo-mark small {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mark-betclic { background: #12352b; color: #f2d48a; }
.mark-bwin { background: #1a1a1a; color: #ff8a00; }
.mark-solverde { background: #1d4a32; color: #e7f3d8; }
.mark-cportugal { background: #6d2434; color: #f6e4c2; }
.mark-nossa { background: #243044; color: #f0d48a; }
.mark-luckia { background: #0e3a5a; color: #d7ecff; }
.mark-lebull { background: #3a2418; color: #f0c27a; }
.mark-yobingo { background: #4a2a68; color: #ffe7a3; }

.card-id { min-width: 0; }

.card-id h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.card-id p { margin: 0.15rem 0 0; font-family: var(--sans); font-size: 0.92rem; color: var(--ink-soft); }

.score {
  margin-left: auto;
  text-align: right;
  font-family: var(--sans);
}

.score b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
}

.score span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.license {
  margin: 0;
  padding: 0.55rem 0.7rem;
  background: #f6f1e6;
  border-left: 3px solid var(--gold);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.45;
}

.casino-card .blurb { margin: 0; font-size: 1.02rem; }

.card-link {
  margin-top: auto;
  align-self: flex-start;
}

.band {
  background: var(--navy);
  color: #f6f0e4;
  padding: 2.2rem 0 1.6rem;
  margin-top: 1rem;
}

.band a { color: #f0d7a2; }

.band h2 { margin-top: 0; }

.site-foot {
  padding: 2.2rem 6vw 2.6rem;
  background: #101826;
  color: #e6dccb;
  font-size: 0.98rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 1.6rem;
}

.brand-lock {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.foot-label {
  font-family: var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-2);
}

.site-foot a { display: block; color: #f3e7d2; margin: 0.28rem 0; }

.fine {
  margin-top: 1.4rem;
  color: #cbbfaa;
  font-size: 0.92rem;
}

.fine a { display: inline; }

.page-hero { padding: 2rem 0 0.4rem; }

.wide-photo {
  margin: 1.2rem 0 1.6rem;
}

.wide-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 4px;
  transition: box-shadow 0.45s ease, transform 0.45s ease;
}

.wide-photo:hover img {
  transform: scale(1.01);
  box-shadow: 0 18px 46px rgba(21, 32, 51, 0.18), 0 0 26px rgba(196, 161, 90, 0.25);
}

address {
  font-style: normal;
  font-family: var(--sans);
  font-size: 1.15rem;
}

.age {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 38, 0.72);
  display: grid;
  place-items: center;
  z-index: 30;
  padding: 1rem;
}

.age[hidden] { display: none; }

.age-card {
  width: min(560px, 100%);
  background: var(--white);
  padding: 1.4rem 1.4rem 1.1rem;
  border-top: 5px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.age-card h2 { margin-top: 0; font-size: 1.8rem; }

.age-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.6rem; }

button, .btn {
  font-family: var(--sans);
  font-size: 1rem;
  border: 0;
  background: var(--navy);
  color: #f6f0e4;
  padding: 0.7rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: box-shadow 0.35s ease, transform 0.35s ease, background 0.35s ease;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px var(--glow);
  color: white;
  text-shadow: none;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

@media (max-width: 900px) {
  html { font-size: 110%; }
  .hero, .layout, .split, .foot-grid, .casino-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  nav.site-nav { display: none; padding-top: 0.2rem; }
  nav.site-nav.open { display: flex; flex-direction: column; }
  .mast { padding-top: 0.8rem; }
}
