:root {
  --bg: #050F0A;
  --surface: #0C1A14;
  --text: #D1D5DB;
  --muted: #4B5563;
  --primary: #3A5A40;
  --secondary: #588157;
  --accent: #A3B18A;
  --border: rgba(88,129,87,0.2);
  --font-display: "Courier New", Courier, monospace;
  --font-body: "Lucida Console", Monaco, monospace;
  --font-ui: Georgia, "Times New Roman", serif;
  --nav-h: 56px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(88, 129, 87, 0.18), transparent 55%),
    linear-gradient(180deg, #050F0A 0%, #0A1610 40%, #050F0A 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--nav-h) + 12px);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(163, 177, 138, 0.35) 2px,
      rgba(163, 177, 138, 0.35) 3px
    );
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--secondary);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.disclosure {
  text-align: center;
  font-size: 10px;
  color: var(--muted);
  padding: 6px 16px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.site-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: #06120C;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  flex-shrink: 0;
  padding: 0 8px;
}

.brand-lockup img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
}

.brand-lockup span {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-tabs {
  display: flex;
  flex: 1;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
  height: 100%;
  min-width: 0;
}

.nav-tabs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text);
  opacity: 0.75;
  padding: 4px 2px;
  min-width: 0;
}

.nav-tabs a:hover,
.nav-tabs a:focus {
  opacity: 1;
  color: var(--accent);
}

.nav-ico {
  width: 18px;
  height: 18px;
  display: block;
  border: 2px solid currentColor;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.nav-ico--pay {
  background: linear-gradient(135deg, var(--primary) 50%, transparent 50%);
}

.nav-ico--warn {
  background: repeating-linear-gradient(45deg, currentColor, currentColor 2px, transparent 2px, transparent 4px);
}

.nav-ico--list {
  border-style: dashed;
}

.nav-ico--phone {
  border-radius: 2px 2px 4px 4px;
}

.nav-ico--ball {
  border-radius: 50%;
}

.nav-ico--dice {
  transform: rotate(12deg);
}

.nav-ico--search {
  border-radius: 50% 50% 50% 0;
}

.nav-ico--grid {
  background: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 5px 5px;
}

.nav-ico--bars {
  background: repeating-linear-gradient(90deg, currentColor, currentColor 2px, transparent 2px, transparent 5px);
}

.nav-ico--game {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border: none;
  background: currentColor;
}

.nav-label {
  font-size: 10px;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: 0.02em;
}

.nav-more {
  display: none;
  position: relative;
  flex-shrink: 0;
}

.burger {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 2px solid var(--secondary);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.burger-panel {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--surface);
  border: 2px solid var(--secondary);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.65);
  padding: 8px;
  z-index: 1001;
}

.burger-panel.open {
  display: block;
}

.burger-panel a {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  font-family: var(--font-display);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.burger-panel a:last-child {
  border-bottom: none;
}

.site-footer {
  background: var(--surface);
  border-top: 4px solid var(--primary);
  padding: 40px 0 28px;
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 12px;
  right: 12px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent),
    var(--accent) 8px,
    var(--primary) 8px,
    var(--primary) 16px
  );
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  font-size: 13px;
}

.footer-links a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
}

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

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

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

.footer-compliance {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 900px;
}

.footer-updated {
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.footer-company {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-au-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 920px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 10, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.modal-box {
  background: var(--surface);
  border: 3px solid var(--secondary);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.7);
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.modal-box h2 {
  font-family: var(--font-display);
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.modal-box p {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--text);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--font-display);
  font-size: 13px;
  padding: 10px 16px;
  border: 2px solid var(--secondary);
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

.age-denied {
  display: none;
  margin-top: 16px;
  font-size: 13px;
  color: var(--accent);
}

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

.cookie-banner {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--nav-h) + 12px);
  z-index: 1500;
  background: var(--surface);
  border: 2px solid var(--secondary);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.65);
  padding: 14px 16px;
  max-width: 720px;
  margin: 0 auto;
}

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

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  font-size: 13px;
  flex: 1;
  min-width: 200px;
}

.cookie-buttons {
  display: flex;
  gap: 8px;
}

.page-main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
}

.redirect-page {
  flex: 1 0 auto;
}

.page-hero {
  background: var(--primary);
  padding: 36px 16px;
  border-bottom: 4px solid var(--accent);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.page-hero.scanline-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.12) 3px,
    rgba(0, 0, 0, 0.12) 4px
  );
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text);
  position: relative;
  z-index: 1;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
}

.legal-content {
  padding: 32px 0 48px;
  max-width: 800px;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 16px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--secondary);
  margin: 28px 0 10px;
}

.legal-content h3 {
  font-size: 1rem;
  color: var(--accent);
  margin: 18px 0 8px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content code {
  font-family: var(--font-body);
  font-size: 0.9em;
  color: var(--accent);
}

.contact-form {
  margin-top: 28px;
  background: var(--surface);
  border: 2px solid var(--secondary);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
  padding: 20px;
  max-width: 520px;
}

.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--accent);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  margin-bottom: 14px;
}

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

.form-error {
  display: none;
  color: #c4a484;
  font-size: 12px;
  margin: -8px 0 12px;
}

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

.form-success {
  display: none;
  background: var(--surface);
  border: 2px solid var(--accent);
  padding: 20px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
  margin-top: 20px;
}

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

.form-success.hidden,
.contact-form.hidden {
  display: none;
}

.retro {
  image-rendering: pixelated;
}

.arcade {
  letter-spacing: 0.06em;
}

.theme-8-bit {
  font-family: var(--font-display);
}

.pixel {
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
}

.chunky {
  border-width: 3px;
  border-style: solid;
}

.nostalgic {
  background-image: linear-gradient(180deg, rgba(163, 177, 138, 0.08), transparent);
}

.glitch {
  position: relative;
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 3px solid var(--secondary);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
}

.decor-wrap {
  max-width: 100%;
  overflow: hidden;
}

.offer-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.offer-card:hover {
  transform: translateY(-2px);
}

.offer-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.offer-card__logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}

.offer-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
  max-height: none;
}

.offer-card__brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  font-family: system-ui, sans-serif;
}

.offer-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-card__bonus {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a2e;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.4;
  font-family: system-ui, sans-serif;
}

.offer-card__terms {
  font-size: 0.7rem;
  color: #6b7280;
  display: block;
  margin-top: 4px;
  font-family: system-ui, sans-serif;
}

.offer-card__desc {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.45;
  font-family: system-ui, sans-serif;
}

.offer-card__cta {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
  color: #fff;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  padding: 12px 18px;
  border-radius: 6px;
  margin-top: auto;
  text-decoration: none;
}

.offer-card__cta:hover {
  filter: brightness(1.08);
  color: #fff;
}

@media (max-width: 900px) {
  .nav-tabs .nav-item-extra {
    display: none;
  }

  .nav-more {
    display: block;
  }

  .brand-lockup span {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
  }

  .cookie-banner {
    left: 8px;
    right: 8px;
  }

  .offer-card__logo {
    width: 56px;
    height: 56px;
  }

  .offer-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .offer-card__bonus {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .decor-img {
    max-width: 100%;
    max-height: 220px;
  }

  .decor-wrap {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }

  .decor-img {
    max-width: 100%;
    max-height: 180px;
  }

  .hero-panel--copy {
    padding-left: 16px;
    padding-right: 16px;
  }
}
