:root {
  --bg: #020024;
  --surface: #05054B;
  --text: #FFFFFF;
  --muted: #9191FF;
  --primary: #0000FF;
  --secondary: #00D4FF;
  --accent: #FF007F;
  --border: rgba(0, 212, 255, 0.2);
  --hi-tech: 1;
  --corporate: 1;
  --clean: 1;
  --digital: 1;
  --professional: 1;
  --trust: 1;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(0, 0, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(0, 212, 255, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #010018 40%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

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

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

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

.hi-tech.corporate.clean.digital.professional.trust {
  position: relative;
}

.disclosure-banner {
  background: rgba(5, 5, 75, 0.92);
  border-top: 3px solid var(--accent);
  padding: 10px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.disclosure-banner p {
  max-width: 1100px;
  margin: 0 auto 6px;
}

.disclosure-banner p:last-child {
  margin-bottom: 0;
}

.hero-shell {
  position: relative;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  height: 64px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.brand-lockup img {
  width: 36px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.05rem;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

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

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 120;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 0, 36, 0.95);
  z-index: 110;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-overlay.is-open {
  display: flex;
}

.nav-overlay a {
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-overlay .overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  cursor: pointer;
}

.page-hero {
  position: relative;
  background: var(--bg);
  padding: 120px 24px 60px;
  overflow: hidden;
}

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

.page-hero-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.page-hero-art img {
  width: min(70%, 520px);
  max-height: 420px;
  object-fit: contain;
  opacity: 0.18;
  filter: grayscale(1);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.page-hero .hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

.subpage-hero {
  position: relative;
  padding: 120px 24px 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 255, 0.25), transparent 55%),
    linear-gradient(225deg, rgba(255, 0, 127, 0.12), transparent 40%);
  pointer-events: none;
}

.subpage-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.subpage-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.subpage-hero p {
  color: var(--muted);
  max-width: 640px;
}

.section {
  position: relative;
  padding: 64px 24px;
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.section p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
}

.section p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

.updated-date {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
}

.offers-section {
  position: relative;
  padding: 72px 24px;
  background-color: var(--surface);
  background-image:
    linear-gradient(180deg, rgba(2, 0, 36, 0.82), rgba(5, 5, 75, 0.88)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 79px,
    rgba(0, 212, 255, 0.04) 80px
  );
  pointer-events: none;
}

.offers-header {
  max-width: 1100px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.offers-header h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.offers-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.offer-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  background: #ffffff;
  color: #121212;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.offer-logo {
  width: 100px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  flex-shrink: 0;
}

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

.offer-body {
  min-width: 0;
}

.offer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.offer-bonus {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0b3d91;
  margin-bottom: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
  max-width: 100%;
}

.offer-terms {
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.offer-desc {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.4;
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: #16a34a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease;
}

.offer-cta:hover {
  background: #15803d;
  color: #ffffff !important;
}

.topic-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 20px;
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}

.topic-cta:hover {
  background: var(--secondary);
  color: var(--bg);
}

.site-footer {
  background: #010018;
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

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

.footer-brand .brand-name {
  font-weight: 700;
  font-size: 1.05rem;
}

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

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
}

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

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

.footer-ontario {
  font-size: 12px;
  color: rgba(145, 145, 255, 0.85);
  line-height: 1.55;
  max-width: 920px;
  margin-bottom: 16px;
}

.footer-company {
  font-size: 0.8rem;
  color: rgba(145, 145, 255, 0.7);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(145, 145, 255, 0.55);
}

.age-modal,
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 0, 36, 0.92);
  padding: 24px;
}

.age-modal[hidden],
.cookie-modal[hidden] {
  display: none !important;
}

.modal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
}

.modal-panel h2 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.modal-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

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

.btn {
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

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

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

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

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.legal-content p,
.legal-content li {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
}

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

.contact-form {
  margin-top: 28px;
  max-width: 520px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(2, 0, 36, 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
}

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

.form-error {
  color: var(--accent);
  font-size: 0.82rem;
  margin-top: 4px;
  display: none;
}

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

.form-success {
  display: none;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(0, 212, 255, 0.08);
  color: var(--text);
}

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

.go-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px 48px;
  text-align: center;
}

.go-panel {
  max-width: 480px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--secondary);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.8s linear infinite;
}

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

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineSweep {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.reveal {
  animation: fadeRise 0.7s ease both;
}

.line-accent {
  height: 2px;
  background: var(--secondary);
  transform-origin: left;
  animation: lineSweep 0.9s ease both;
  margin: 12px 0 20px;
  max-width: 80px;
}

.layout-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.layout-stack {
  display: grid;
  gap: 18px;
}

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

.mini-card {
  border: 1px solid var(--border);
  padding: 18px;
  background: rgba(5, 5, 75, 0.55);
}

.mini-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.layout-rail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
}

.rail-mark {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.stat-item {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.stat-item strong {
  display: block;
  font-size: 1.2rem;
  color: var(--secondary);
}

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

.decor-wrap img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.decor-bg {
  background-size: cover;
  background-position: center;
  min-height: 160px;
  max-width: 100%;
  border: 1px solid var(--border);
  overflow: hidden;
}

.pull-quote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 18px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 255, 0.12);
}

.zigzag {
  display: grid;
  gap: 20px;
}

.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.zigzag-row:nth-child(even) .zig-media {
  order: 2;
}

.topic-page {
  padding-bottom: 64px;
}

.topic-page .section-inner {
  max-width: 960px;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.side-rail {
  border: 1px solid var(--border);
  padding: 20px;
  background: rgba(5, 5, 75, 0.6);
  height: fit-content;
  position: sticky;
  top: 24px;
}

.side-rail h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.side-rail ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

.side-rail li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.mosaic .decor-bg {
  min-height: 180px;
}

.not-found {
  padding: 140px 24px 80px;
  text-align: center;
}

.not-found h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .offer-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .offer-logo {
    width: 100px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

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

  .offer-cta {
    width: 100%;
  }

  .layout-split,
  .layout-rail,
  .layout-band,
  .layout-cards,
  .stat-row,
  .zigzag-row,
  .sidebar-layout,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .zigzag-row:nth-child(even) .zig-media {
    order: 0;
  }

  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .page-hero-art {
    display: none;
  }

  .page-hero {
    padding: 110px 20px 32px;
  }

  .side-rail {
    position: static;
  }

  .decor-wrap,
  .decor-bg,
  .page-hero-art,
  .mosaic {
    max-width: 100%;
    overflow: hidden;
  }

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

@media (max-width: 600px) {
  .footer-badges img {
    height: 36px;
  }

  .section {
    padding: 48px 18px;
  }

  .offer-logo {
    width: 88px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

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

  .offer-bonus {
    font-size: 0.88rem;
  }

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

  .page-hero-art img {
    width: min(100%, 320px);
    max-height: 200px;
    object-fit: contain;
  }
}
