:root {
  --bg: #050505;
  --surface: #0E0E0E;
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --primary: #6366F1;
  --secondary: #22C55E;
  --accent: #F43F5E;
  --border: rgba(244,244,245,0.12);
  --font-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --max: 1200px;
  --offer-bg: #1a1a1a;
  --offer-border: #2a2a2a;
  --offer-bonus: #ffd700;
  --offer-cta-bg: #22c55e;
  --offer-cta-text: #ffffff;
  --crypto: "crypto";
  --dashboard: "dashboard";
  --data-driven: "data-driven";
  --blocks: "blocks";
  --metrics: "metrics";
  --real-time-feel: "real-time feel";
  --warn: #f59e0b;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(165deg, var(--bg) 0%, #0a0a12 38%, var(--bg) 100%),
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(99, 102, 241, 0.14), transparent 55%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: var(--crypto) " " var(--dashboard) " " var(--data-driven) " " var(--blocks) " " var(--metrics) " " var(--real-time-feel);
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(244, 244, 245, 0.015) 79px,
      rgba(244, 244, 245, 0.015) 80px
    ),
    radial-gradient(circle at 85% 70%, rgba(244, 63, 94, 0.05), transparent 40%);
  opacity: 0.9;
}

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

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

ul {
  padding-left: 1.25rem;
}

.crypto-dashboard {
  font-variant-numeric: tabular-nums;
}

.data-driven {
  letter-spacing: 0.04em;
}

.blocks {
  display: grid;
  gap: 12px;
}

.metrics {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.real-time-feel {
  position: relative;
}

.real-time-feel::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse-live 1.6s ease-out infinite;
}

@keyframes pulse-live {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

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

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

.disclosure-banner {
  width: 100%;
  background: #fafafa;
  padding: 10px 16px;
}

.disclosure-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 16px 10px 20px;
  background: #ffffff;
  border-left: 4px solid var(--warn);
  color: #1a1a1a;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.disclosure-banner__inner p + p {
  margin-top: 8px;
}

.site-header {
  position: static;
  background: var(--bg);
  z-index: 100;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 90px;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-link:hover {
  color: var(--text);
}

.logo-link img {
  width: 40px;
  height: 41px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

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

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  padding-top: 12px;
  width: 100%;
}

.site-nav a {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-overlay {
  display: none;
}

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

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

  .site-nav {
    display: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(5, 5, 5, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 48px 24px;
  }

  .nav-overlay a {
    color: var(--text);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
  }

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  border-bottom: 1px solid var(--border);
}

.hero-left {
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  border-right: 2px solid var(--accent);
}

.hero-left h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: #fff;
  max-width: 480px;
  animation: fade-up 0.6s ease both;
}

.hero-right {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
}

.hero-right p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 440px;
  animation: fade-up 0.7s ease 0.1s both;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    border-right: none;
    border-bottom: 2px solid var(--accent);
    min-height: 200px;
  }

  .hero-right {
    min-height: 160px;
  }
}

.offers-section {
  padding: 56px 24px;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.9)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

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

.offers-section h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.offers-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
  max-width: 720px;
}

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

.offer-card {
  background: var(--offer-bg);
  border: 1px solid var(--offer-border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.35);
}

.offer-logo {
  width: 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  box-sizing: border-box;
}

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

.offer-name {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.offer-bonus-group {
  text-align: center;
  max-width: 100%;
  overflow: hidden;
}

.offer-bonus {
  color: var(--offer-bonus);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.offer-terms {
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 4px;
}

.offer-desc {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.offer-cta {
  display: block;
  text-align: center;
  background: var(--offer-cta-bg);
  color: var(--offer-cta-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  margin-top: auto;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.offer-cta:hover {
  color: var(--offer-cta-text);
  filter: brightness(1.08);
  transform: scale(1.02);
}

.section-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px;
}

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

.info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.25), transparent);
}

.info-section h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.info-section p {
  color: var(--muted);
  margin-bottom: 12px;
}

.info-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.info-cta:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.12);
  color: var(--text);
}

.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 3px 8px;
  margin-bottom: 10px;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--secondary);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 4px 10px;
}

.metric-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

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

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

.decor-band {
  width: 100%;
  max-width: 500px;
  height: 180px;
  background-size: cover;
  background-position: center;
  margin: 16px 0;
  border: 1px solid var(--border);
  overflow: hidden;
}

@media (max-width: 480px) {
  .decor-img {
    max-width: 100%;
    max-height: 200px;
  }

  .decor-band {
    max-width: 100%;
    height: 140px;
  }

  .offer-logo {
    width: 160px;
    height: 64px;
  }

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

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

.updated {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 8px;
}

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

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand:hover {
  color: var(--text);
}

.footer-brand img {
  width: 36px;
  height: 37px;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
  max-width: 640px;
}

.footer-rg {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  max-width: 720px;
}

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

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

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

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

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

.footer-badges a {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.footer-badges a:hover {
  opacity: 0.85;
}

.footer-requisites {
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 16px;
}

.footer-ontario {
  font-size: 11px;
  color: rgba(161, 161, 170, 0.9);
  line-height: 1.55;
  max-width: 900px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}

#age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#age-gate.active {
  display: flex;
}

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

.age-dialog h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

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

.age-actions button {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
}

[data-age-gate="confirm"] {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

[data-age-gate="decline"] {
  background: transparent;
  color: var(--muted);
}

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

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

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

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

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.cookie-inner p {
  color: var(--muted);
  font-size: 0.85rem;
  flex: 1 1 280px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
}

#cookie-accept {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

#cookie-reject {
  background: transparent;
  color: var(--muted);
}

.page-hero {
  padding: 40px 24px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}

.page-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.page-content h2 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
}

.page-content h3 {
  font-size: 1rem;
  margin: 20px 0 10px;
}

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

.page-content ul {
  color: var(--muted);
  margin-bottom: 16px;
}

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

.contact-form {
  margin-top: 28px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.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(--font-sans);
  font-size: 0.9rem;
}

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

.contact-form button {
  align-self: flex-start;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: filter 0.2s ease;
}

.contact-form button:hover {
  filter: brightness(1.1);
}

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

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

#contact-success {
  display: none;
  padding: 24px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--text);
  max-width: 520px;
  margin-top: 28px;
}

#contact-success.visible {
  display: block;
}

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

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

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

.go-page h1 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.go-page p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 420px;
}

#AD {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}

.go-notes {
  margin-top: 28px;
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
}

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

.error-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}

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

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

.error-page a {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.error-page a:hover {
  color: #fff;
  filter: brightness(1.08);
}
