:root {
  --bg: #FFF0F0;
  --surface: #FFFFFF;
  --text: #5C2A2A;
  --muted: #B38686;
  --primary: #FF4D4D;
  --secondary: #FF8080;
  --accent: #FFB3B3;
  --border: rgba(255,77,77,0.1);
  --max-w: 1200px;
  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: Georgia, "Times New Roman", Times, serif;
  --brass: #c9a227;
  --copper: #b87333;
  --leather: #5c2a2a;
  --style-brass: brass;
  --style-mechanical: mechanical;
  --style-victorian: victorian;
  --style-gears: gears;
  --style-tactile: tactile;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(184, 115, 51, 0.1), transparent 50%),
    linear-gradient(165deg, #FFF0F0 0%, #ffe4e4 42%, #fff5f0 100%);
  position: relative;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(92, 42, 42, 0.03) 48px,
      rgba(92, 42, 42, 0.03) 49px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(201, 162, 39, 0.04) 48px,
      rgba(201, 162, 39, 0.04) 49px
    );
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
}

#offers .logo-placeholder img,
#offers .offer-logo {
  max-width: none;
  height: 100%;
}

a {
  color: var(--primary);
}

.disclosure-banner {
  background: #f5f5f5;
  color: #6b6b6b;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  padding: 8px 16px;
  border: none;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #2a1515;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 58px;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant: small-caps;
  flex-shrink: 0;
}

.brand-lockup img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.45));
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(201, 162, 39, 0.45);
  width: 42px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brass);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  padding: 4px 0;
  position: relative;
  text-transform: capitalize;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 21, 21, 0.55);
  z-index: 90;
}

.nav-drawer-backdrop.open {
  display: block;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, 86vw);
    background: #1f1010;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 72px 0 24px;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 95;
    overflow-y: auto;
    border-right: 2px solid var(--brass);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 14px 20px;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    border-left-color: var(--accent);
    background: rgba(255, 77, 77, 0.08);
  }

  .nav-links a::after {
    display: none;
  }
}

main {
  flex: 1;
}

.site-footer {
  background: #2a1515;
  color: rgba(255, 240, 240, 0.88);
  padding: 40px 24px 28px;
  margin-top: 48px;
  border-top: 3px solid var(--brass);
  box-shadow: inset 0 1px 0 rgba(201, 162, 39, 0.25);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 18px 0;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
}

.footer-badges img {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-compliance {
  font-size: 0.85rem;
  color: rgba(255, 240, 240, 0.72);
  margin-bottom: 12px;
  max-width: 72ch;
}

.footer-helpline {
  font-size: 0.85rem;
  color: rgba(255, 240, 240, 0.78);
  margin-bottom: 14px;
}

.footer-helpline a {
  color: var(--accent);
}

.footer-updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-requisites {
  font-size: 0.8rem;
  color: rgba(255, 240, 240, 0.65);
  margin-bottom: 16px;
}

.au-disclosure {
  font-size: 11px;
  color: rgba(255, 240, 240, 0.58);
  line-height: 1.5;
  margin-top: 8px;
  max-width: 90ch;
}

.age-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(42, 21, 21, 0.82);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-overlay.active {
  display: flex;
}

.age-dialog {
  background: var(--surface);
  border: 2px solid var(--brass);
  box-shadow:
    0 0 0 4px rgba(184, 115, 51, 0.25),
    0 18px 40px rgba(42, 21, 21, 0.45);
  max-width: 420px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.age-dialog::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  pointer-events: none;
}

.age-dialog h2 {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  color: var(--text);
}

.age-dialog p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

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

.btn-confirm,
.btn-decline,
.cookie-actions button,
.contact-form button {
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  padding: 10px 18px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.btn-confirm {
  background: linear-gradient(180deg, var(--brass), var(--copper));
  color: #1f1010;
  font-weight: 700;
  border: 1px solid rgba(92, 42, 42, 0.3);
}

.btn-decline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.age-blocked {
  display: none;
  color: var(--primary);
  font-weight: 600;
}

.age-blocked.visible {
  display: block;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #2a1515;
  color: rgba(255, 240, 240, 0.9);
  padding: 16px 24px;
  border-top: 2px solid var(--brass);
  box-shadow: 0 -8px 24px rgba(42, 21, 21, 0.35);
}

.cookie-banner.active {
  display: block;
}

.cookie-banner p {
  font-size: 0.85rem;
  max-width: var(--max-w);
  margin: 0 auto 12px;
}

.cookie-actions {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions .accept {
  background: linear-gradient(180deg, var(--brass), var(--copper));
  color: #1f1010;
  font-weight: 700;
}

.cookie-actions .reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 179, 179, 0.4);
}

.go-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 14px;
}

.go-page h1 {
  font-family: var(--font-display);
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

#AD {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.go-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--accent);
  border-top-color: var(--brass);
  border-radius: 50%;
  animation: gear-spin 0.9s linear infinite;
  box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.12);
}

@keyframes gear-spin {
  to {
    transform: rotate(360deg);
  }
}

.go-notes {
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 40ch;
}

.go-notes a {
  color: var(--primary);
}

.legal-page,
.subpage-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.legal-page h1,
.subpage-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-variant: small-caps;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-page h2,
.subpage-main h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 22px 0 10px;
  color: var(--leather);
}

.legal-page h3,
.subpage-main h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 16px 0 8px;
}

.legal-page p,
.subpage-main p,
.legal-page li,
.subpage-main li {
  margin-bottom: 10px;
  color: var(--text);
}

.legal-page ul,
.subpage-main ul {
  padding-left: 1.25rem;
  margin-bottom: 14px;
}

.legal-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.2),
    inset 0 0 40px rgba(255, 77, 77, 0.03);
  padding: 28px 24px;
  position: relative;
}

.legal-shell::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(201, 162, 39, 0.35);
  pointer-events: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-width: 480px;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: linear-gradient(180deg, var(--primary), #d63c3c);
  color: #fff;
  font-weight: 700;
  align-self: flex-start;
  border: 1px solid var(--copper);
  box-shadow: 0 2px 0 rgba(184, 115, 51, 0.4);
}

.form-error {
  display: none;
  color: var(--primary);
  font-size: 0.85rem;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  background: var(--surface);
  border: 1px solid var(--brass);
  padding: 18px;
  margin-top: 16px;
  color: var(--text);
}

.form-success.visible {
  display: block;
}

.decor-img {
  max-width: 100%;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .decor-img,
  .hero-media img,
  .strip-img,
  .rail-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 220px;
  }

  .pay-mosaic .band-img {
    max-width: 100%;
    min-height: 140px;
    max-height: 200px;
  }

  .info-section,
  .hero,
  .hero-grid,
  .hero-cell,
  .pay-mosaic,
  .odds-layout,
  .odds-rail,
  .inplay-split,
  .types-hero-strip {
    max-width: 100%;
    overflow-x: hidden;
  }

  #info-1 .info-visual,
  #info-8::after {
    max-width: 100%;
  }
}

.page-404 {
  text-align: center;
  padding: 64px 24px;
}

.page-404 h1 {
  font-family: var(--font-display);
  font-variant: small-caps;
  margin-bottom: 12px;
}

.page-404 a {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 20px;
  background: linear-gradient(180deg, var(--brass), var(--copper));
  color: #1f1010;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
}
