/* Rainbet Canada Landing — Dark Immersive Glassmorphism 2026 */
:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gold: #f0c14b;
  --gold-dim: #c9a227;
  --cyan: #00e5ff;
  --text: #e8eef7;
  --text-muted: #94a3b8;
  --success: #34d399;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.container.narrow {
  width: min(780px, 92%);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 14, 23, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(10, 14, 23, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.desktop-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.desktop-nav a:hover {
  color: var(--gold);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(10, 14, 23, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.mobile-menu a:hover {
  background: var(--glass);
  color: var(--gold);
}

.btn-nav {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #0a0e17 !important;
  text-align: center;
  font-weight: 600;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 23, 0.55) 0%,
    rgba(10, 14, 23, 0.75) 40%,
    rgba(10, 14, 23, 0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  background: rgba(240, 193, 75, 0.12);
  border: 1px solid rgba(240, 193, 75, 0.35);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #fff 30%, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold) 0%, #d4a017 100%);
  color: #0a0e17;
  font-weight: 650;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(240, 193, 75, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(240, 193, 75, 0.35);
  color: #0a0e17;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text);
  font-weight: 550;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(240, 193, 75, 0.08);
  color: var(--gold);
}

.btn-small {
  background: var(--gold);
  color: #0a0e17;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== GLASS CARDS ===== */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

/* ===== QUICK FACTS ===== */
.quick-facts {
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding-bottom: 40px;
}

.facts-card {
  padding: 36px 32px;
}

.facts-card h2 {
  font-size: 1.45rem;
  margin-bottom: 28px;
  color: var(--gold);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.fact-item.full {
  grid-column: 1 / -1;
}

.fact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.fact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* ===== INTRO ===== */
.intro-text {
  padding: 40px 0 60px;
}

.intro-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ===== SECTIONS COMMON ===== */
section {
  padding: 70px 0;
}

.section-header {
  margin-bottom: 36px;
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 820px;
}

/* ===== TRUST ===== */
.trust-section {
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.03));
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.trust-content p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.trust-highlight {
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.trust-highlight h3 {
  color: var(--cyan);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.trust-highlight ul {
  list-style: none;
}

.trust-highlight li {
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 0.95rem;
}

.trust-highlight li:last-child {
  border-bottom: none;
}

/* ===== BONUS ===== */
.bonus-section {
  background: radial-gradient(ellipse at 20% 50%, rgba(240, 193, 75, 0.06), transparent 60%);
}

.bonus-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.section-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
}

.bonus-content h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.bonus-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 14px;
  color: var(--gold);
}

.bonus-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.styled-list,
.steps-list {
  margin: 16px 0 24px 20px;
  color: var(--text-muted);
}

.styled-list li,
.steps-list li {
  margin-bottom: 10px;
}

.check-list {
  list-style: none;
  margin: 16px 0 28px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ===== REGISTER ===== */
.register-section {
  background: var(--bg-elevated);
}

.register-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.register-layout.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.register-layout.reverse .register-visual {
  order: 2;
}

.register-content h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.register-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.steps-list {
  counter-reset: step;
  list-style: none;
  margin-left: 0;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  margin-bottom: 18px;
  color: var(--text-muted);
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #0a0e17;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===== GAMES ===== */
.games-section {
  padding: 80px 0;
}

.games-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===== MOBILE ===== */
.mobile-section {
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.04));
}

.mobile-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.mobile-content h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.mobile-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.mobile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mobile-tags span {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

.phone-frame {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 24px;
}

/* ===== PAYMENTS ===== */
.payments-section p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.two-cols .col {
  padding: 28px;
}

.two-cols h3 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.two-cols ol {
  margin-left: 20px;
  color: var(--text-muted);
}

.two-cols li {
  margin-bottom: 10px;
}

/* ===== RATINGS ===== */
.ratings-section {
  background: var(--bg-elevated);
}

.ratings-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
}

.ratings-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.ratings-table th,
.ratings-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.ratings-table th {
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.ratings-table td {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ratings-table tr:last-child td {
  border-bottom: none;
}

.ratings-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  background: linear-gradient(135deg, rgba(240, 193, 75, 0.2), rgba(240, 193, 75, 0.08));
  border: 1px solid rgba(240, 193, 75, 0.35);
  color: var(--gold);
  font-weight: 700;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* ===== PROS CONS ===== */
.pros-cons {
  padding: 80px 0;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.pros,
.cons {
  padding: 32px;
}

.pros h3 {
  color: var(--success);
  margin-bottom: 18px;
}

.cons h3 {
  color: var(--danger);
  margin-bottom: 18px;
}

.pros ul,
.cons ul {
  list-style: none;
}

.pros li,
.cons li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.cons li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: 700;
}

/* ===== AUDIENCE ===== */
.audience-section {
  background: radial-gradient(ellipse at 80% 20%, rgba(0, 229, 255, 0.05), transparent 50%);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.audience-card {
  padding: 32px;
}

.audience-card h3 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.audience-card.alt h3 {
  color: var(--text-muted);
}

.audience-card ul {
  list-style: none;
}

.audience-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.audience-card li:last-child {
  border-bottom: none;
}

/* ===== FINAL ASSESSMENT ===== */
.final-assessment {
  padding: 70px 0;
}

.final-assessment h2 {
  font-size: 1.7rem;
  margin-bottom: 22px;
  color: var(--gold);
}

.final-assessment p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--bg-elevated);
  padding: 80px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: rgba(240, 193, 75, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 550;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.25s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0 100px;
}

.cta-box {
  text-align: center;
  padding: 56px 40px;
  background: linear-gradient(145deg, rgba(240, 193, 75, 0.08), rgba(0, 229, 255, 0.05));
  border: 1px solid rgba(240, 193, 75, 0.2);
}

.cta-box h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.cta-box p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #06090f;
  border-top: 1px solid var(--glass-border);
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.logo-footer {
  height: 32px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-note p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.8rem;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #0a0e17;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(240, 193, 75, 0.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  color: #0a0e17;
  transform: translateY(-3px);
}

/* ===== COOKIE ===== */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s;
}

.cookie-notice.show {
  transform: translateY(0);
}

.cookie-notice p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .trust-grid,
  .bonus-layout,
  .register-layout,
  .register-layout.reverse,
  .mobile-layout,
  .pros-cons-grid,
  .audience-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .register-layout.reverse .register-visual {
    order: 0;
  }

  .two-cols {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80vh;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .facts-card {
    padding: 24px 18px;
  }

  .trust-highlight {
    position: static;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  section {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .cta-box {
    padding: 36px 22px;
  }

  .floating-cta {
    bottom: 18px;
    right: 18px;
    padding: 12px 18px;
    font-size: 0.85rem;
  }

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