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

:root {
  --bg: #030712;
  --surface: #020617;
  --text: #ECFEFF;
  --muted: #67E8F9;
  --primary: #22D3EE;
  --secondary: #A3E635;
  --accent: #F97316;
  --border: rgba(236, 254, 255, 0.14);
  --max-w: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

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

main {
  flex: 1;
}

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

a:hover {
  opacity: 0.85;
}

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

.disclosure-banner {
  background: rgba(236, 254, 255, 0.06);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.5;
  padding: 8px 16px;
}

.disclosure-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclosure-banner__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--primary);
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top: none;
  background: transparent;
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 32px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.navbar__links a {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.navbar__links a:hover {
  opacity: 1;
}

.navbar__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.navbar__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar__drawer {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
}

.navbar__drawer.is-open {
  display: block;
}

.navbar__drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.navbar__drawer a {
  color: var(--text);
  font-size: 16px;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}

.hero__headline {
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  border-right: 2px solid var(--accent);
}

.hero__headline h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

.hero__subtitle p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 420px;
}

.offers-section {
  position: relative;
  padding: 64px 24px;
  background-image: linear-gradient(rgba(3, 7, 18, 0.88), rgba(3, 7, 18, 0.92)), url("/images/offers_bg/bg.jpg");
  background-size: cover;
  background-position: center;
}

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

.offers-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.offers-section__subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

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

.offer-card {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s, border-color 0.2s;
}

.offer-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.offer-card__logo-wrap {
  width: 160px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

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

.offer-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.offer-card__bonus-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-card__bonus {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.offer-card__terms {
  font-size: 0.7rem;
  color: rgba(103, 232, 249, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offer-card__desc {
  font-size: 0.78rem;
  color: rgba(236, 254, 255, 0.55);
  line-height: 1.5;
}

.offer-card__cta {
  margin-top: auto;
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.offer-card__cta:hover {
  background: var(--primary);
  color: var(--bg);
  opacity: 1;
}

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

.info-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.info-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

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

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

.info-layout-split--reverse {
  direction: rtl;
}

.info-layout-split--reverse > * {
  direction: ltr;
}

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

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

.info-layout-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 6px;
}

.info-mini-card h3 {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.info-mini-card p {
  font-size: 0.82rem;
}

.info-layout-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-stack-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}

.info-stack-item__num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.info-layout-banner {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.info-layout-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--secondary);
}

.info-layout-table-wrap {
  overflow-x: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border);
}

.info-table th {
  background: var(--surface);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.info-table td {
  color: var(--muted);
}

.info-layout-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.info-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--primary);
  font-family: var(--font-mono);
}

.info-layout-aside {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.info-aside-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 6px;
}

.info-aside-panel h3 {
  font-size: 0.8rem;
  color: var(--secondary);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.info-aside-panel ul {
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
}

.info-aside-panel li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.info-layout-hero-bg {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.info-layout-hero-bg__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.info-layout-hero-bg__content {
  position: relative;
  z-index: 1;
}

.info-layout-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-grid-block {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.info-grid-block h3 {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.info-layout-meter {
  display: flex;
  gap: 32px;
  align-items: center;
}

.info-meter {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--primary);
  position: relative;
}

.info-meter::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--primary);
  transform: rotate(-45deg);
}

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

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

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer__logo img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

.footer__logo p {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer__badge img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer__badge:hover img {
  opacity: 1;
}

.footer__ontario {
  margin-top: 24px;
  font-size: 11px;
  color: rgba(103, 232, 249, 0.6);
  line-height: 1.6;
}

.footer__copy {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(236, 254, 255, 0.4);
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate.is-hidden {
  display: none;
}

.age-gate__box {
  background: var(--surface);
  border: 2px solid var(--primary);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.age-gate__box h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

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

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

.age-gate__btn {
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s;
}

.age-gate__btn--confirm {
  background: var(--primary);
  color: var(--bg);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

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

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

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

.cookie-banner__btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: inherit;
}

.cookie-banner__btn--accept {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

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

.page-content__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--text);
}

.page-content h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--primary);
}

.page-content h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  color: var(--text);
}

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

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

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

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

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 6px;
}

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

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

.contact-form__error {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.contact-form__error.is-visible {
  display: block;
}

.contact-form__submit {
  padding: 12px 32px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.contact-form__success {
  display: none;
  padding: 32px;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid var(--secondary);
  border-radius: 8px;
  text-align: center;
}

.contact-form__success.is-visible {
  display: block;
}

.contact-form__success h3 {
  color: var(--secondary);
  margin-bottom: 8px;
}

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

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

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

.error-page a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 600;
}

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

.redirect-page__box {
  text-align: center;
  max-width: 480px;
}

.redirect-page__ad {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

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

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

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

.redirect-page p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.redirect-page a {
  color: var(--primary);
}

@media (max-width: 768px) {
  .navbar {
    background: var(--surface);
    border-left: none;
    border-right: none;
  }

  .navbar__links {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__headline {
    border-right: none;
    border-bottom: 2px solid var(--accent);
  }

  .info-layout-split,
  .info-layout-aside,
  .info-layout-grid-2,
  .info-layout-card {
    grid-template-columns: 1fr;
  }

  .info-layout-split--reverse {
    direction: ltr;
  }

  .info-layout-meter {
    flex-direction: column;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .info-decor-wrap {
    max-width: 100%;
    max-height: 240px;
  }

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

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

@media (max-width: 375px) {
  .info-decor-wrap {
    max-width: 100%;
    max-height: 180px;
  }

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