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

:root {
  --bg: #0F140C;
  --surface: #1C2415;
  --text: #ECFDF5;
  --muted: #A7F3D0;
  --primary: #4D7C0F;
  --secondary: #65A30D;
  --accent: #FACC15;
  --border: rgba(236, 253, 245, 0.12);
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1280px;
  --nav-h: 70px;
  --offer-card-bg: #ffffff;
  --offer-card-text: #1a1a1a;
  --offer-card-bonus: #3A5A40;
  --offer-card-cta: #588157;
}

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

main {
  flex: 1;
}

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

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

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

.disclosure-banner {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.disclosure-banner__bg {
  display: flex;
  width: 100%;
}

.disclosure-banner__half {
  flex: 1;
  min-height: 48px;
}

.disclosure-banner__half--left {
  background: var(--primary);
}

.disclosure-banner__half--right {
  background: #ffffff;
}

.disclosure-banner__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  background: linear-gradient(90deg, #ECFDF5 50%, #1C2415 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: static;
  background: var(--bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 200;
}

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-left,
.nav-right {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-left a,
.nav-right a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--accent);
}

.logo-link {
  display: flex;
  justify-content: center;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 6px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: background 0.2s;
}

.nav-burger.active span {
  background: var(--accent);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 250;
}

.nav-overlay.active {
  display: block;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 300;
  transition: right 0.3s ease;
  padding: 24px 20px;
  overflow-y: auto;
}

.nav-drawer.active {
  right: 0;
}

.nav-drawer__close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 10px;
  margin-bottom: 24px;
}

.nav-drawer ul {
  list-style: none;
}

.nav-drawer li {
  border-bottom: 1px solid var(--border);
}

.nav-drawer a {
  display: block;
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-drawer a:hover {
  color: var(--accent);
}

.header-inner--sub {
  grid-template-columns: 1fr auto 1fr;
}

.header-inner--sub .logo-link {
  grid-column: 2;
}

.nav-subpage {
  display: flex;
  justify-content: flex-end;
  grid-column: 3;
}

.nav-subpage a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  background: var(--primary);
  padding: 64px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(236, 253, 245, 0.04) 19px, rgba(236, 253, 245, 0.04) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(236, 253, 245, 0.04) 19px, rgba(236, 253, 245, 0.04) 20px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, transparent 0deg, rgba(250, 204, 21, 0.06) 30deg, transparent 60deg);
  animation: radar-sweep 8s linear infinite;
  pointer-events: none;
}

@keyframes radar-sweep {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-light {
  color: var(--text);
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-family: var(--mono);
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.offers-section {
  position: relative;
  padding: 56px 20px;
  background-image: linear-gradient(rgba(15, 20, 12, 0.88), rgba(15, 20, 12, 0.92)), url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

.offers-inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.offers-header {
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.offers-header h2 {
  font-family: var(--mono);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.offers-header p {
  font-size: 0.9rem;
  color: var(--muted);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.offer-card {
  background: var(--offer-card-bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.offer-card-logo {
  width: 200px;
  height: 80px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.offer-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--offer-card-text);
  margin-bottom: 8px;
}

.offer-bonus-group {
  margin-bottom: 12px;
}

.offer-card-bonus {
  font-size: 0.95rem;
  color: var(--offer-card-bonus);
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
}

.offer-terms-note {
  font-size: 0.7rem;
  color: #888;
  margin-top: 4px;
}

.offer-card-desc {
  font-size: 0.72rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.offer-cta {
  display: inline-block;
  background: var(--offer-card-cta);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  width: 100%;
  font-family: var(--sans);
  transition: background 0.2s;
  text-decoration: none;
  box-sizing: border-box;
}

.offer-cta:hover {
  background: #466b4a;
  color: #fff;
}

.info-section {
  padding: 56px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.info-section:nth-child(even) {
  background: var(--surface);
}

.info-inner {
  max-width: var(--wrap);
  margin: 0 auto;
}

.info-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.info-section h2 {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.info-section p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.decor-wrap {
  max-width: 500px;
  max-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

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

.layout-rail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
}

.rail-mono {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
  border: 1px solid var(--border);
  background: rgba(77, 124, 15, 0.08);
}

.layout-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid var(--border);
  background: rgba(28, 36, 21, 0.6);
}

.layout-card .decor-wrap {
  flex-shrink: 0;
  width: 200px;
  max-height: 160px;
}

.layout-asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}

.side-panel {
  border: 1px solid var(--border);
  padding: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-panel-head {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.side-panel-bg {
  min-height: 200px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  opacity: 0.7;
}

.layout-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.layout-timeline {
  padding-left: 48px;
  border-left: 2px solid var(--primary);
  position: relative;
}

.timeline-badge {
  position: absolute;
  left: -20px;
  top: 0;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.layout-float {
  position: relative;
  padding-top: 8px;
}

.float-img {
  float: right;
  max-width: 280px;
  max-height: 200px;
  margin: 0 0 16px 24px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.float-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 280px;
  max-height: 200px;
}

.layout-grid-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.stat-block {
  border: 1px solid var(--border);
  padding: 16px;
  text-align: center;
  background: var(--bg);
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--text);
}

.layout-diagonal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.decor-bg {
  min-height: 220px;
  max-height: 320px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.layout-terminal {
  border: 1px solid var(--border);
  padding: 32px;
  background: var(--bg);
  position: relative;
}

.layout-terminal::before {
  content: "[SYS/ROULETTE]";
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 1px;
}

.layout-window {
  border: 2px solid var(--border);
  padding: 4px;
  background: var(--surface);
}

.layout-window-inner {
  border: 1px solid var(--border);
  padding: 24px;
  background: var(--bg);
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 20px 32px;
}

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

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.footer-badge img {
  height: 48px;
  width: auto;
}

.footer-ontario {
  font-size: 11px;
  color: rgba(167, 243, 208, 0.65);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 900px;
}

.footer-copy {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(167, 243, 208, 0.45);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal__box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  max-width: 440px;
  width: 100%;
}

.modal__box h2 {
  font-family: var(--mono);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
}

.modal__box p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid var(--border);
}

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

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

.btn--ghost {
  background: transparent;
  color: var(--muted);
}

.btn--ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.cookie {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 400;
}

.cookie.active {
  display: block;
}

.cookie p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  max-width: var(--wrap);
}

.cookie__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-content {
  padding: 48px 20px 64px;
}

.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-content-inner h1 {
  font-family: var(--mono);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--text);
}

.page-content-inner h2 {
  font-family: var(--mono);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 28px 0 12px;
  color: var(--text);
}

.page-content-inner h3 {
  font-family: var(--mono);
  font-size: 1rem;
  margin: 20px 0 10px;
  color: var(--muted);
}

.page-content-inner p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.page-content-inner ul {
  margin: 0 0 14px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-content-inner li {
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 32px;
  border: 1px solid var(--border);
  padding: 28px;
  background: var(--surface);
}

.contact-form label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

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

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

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #f87171;
  margin-top: -12px;
  margin-bottom: 12px;
}

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

.form-success {
  display: none;
  padding: 24px;
  border: 1px solid var(--primary);
  background: rgba(77, 124, 15, 0.1);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.redirect-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background: var(--bg);
}

.redirect-ad {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 16px;
}

.redirect-page h1 {
  font-family: var(--mono);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
}

.redirect-page p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin-bottom: 24px;
}

.redirect-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  margin-bottom: 24px;
}

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

.redirect-notes {
  font-size: 0.8rem;
  color: rgba(167, 243, 208, 0.6);
  max-width: 480px;
}

.redirect-notes p {
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.error-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
}

.error-page h1 {
  font-family: var(--mono);
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 24px;
}

.error-home-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--text);
  border: 1px solid var(--primary);
}

.error-home-link:hover {
  background: var(--secondary);
  color: var(--text);
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    position: relative;
  }

  .nav-left,
  .nav-right,
  .nav-subpage {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .layout-split,
  .layout-asymmetric,
  .layout-diagonal {
    grid-template-columns: 1fr;
  }

  .layout-rail {
    grid-template-columns: 1fr;
  }

  .rail-mono {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .layout-card {
    flex-direction: column;
  }

  .float-img {
    float: none;
    margin: 0 auto 20px;
    max-width: 100%;
  }

  .layout-grid-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 32px 20px;
  }

  .offer-card-logo {
    width: 180px;
    height: 72px;
  }

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

@media (max-width: 375px) {
  .decor-wrap,
  .decor-wrap img,
  .float-img,
  .float-img img,
  .side-panel-bg,
  .decor-bg,
  .layout-diagonal {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-wrap img,
  .float-img img {
    max-height: 240px;
    object-fit: cover;
  }

  .side-panel-bg,
  .decor-bg {
    max-height: 200px;
    min-height: 120px;
  }

  .offer-card-logo {
    width: 180px;
    height: 72px;
  }

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

  .offer-card-bonus {
    font-size: 0.85rem;
  }
}
