/* ── Font ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Multima';
  src: url('fonts/Multima-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ── Base reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.62;
  color: #1c1c26;
  background: #fff;
  overflow-x: hidden;
}
.font-display { font-family: 'Multima', Georgia, serif; }

/* ── Label tag ────────────────────────────── */
.label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  line-height: 1.33;
  color: #3a80c8;
  font-weight: 400;
}

/* ── Outline button ─────────────────────── */
.btn-outline {
  position: relative;
  isolation: isolate;
  transition: box-shadow 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn-outline::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #5296d4 0%, #2d6ab4 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.btn-outline:hover::before { opacity: 1; }
.btn-outline:hover {
  box-shadow: 0 0 0 3px rgba(58,128,200,0.18), 0 0 28px 8px rgba(58,128,200,0.24);
  color: #fff !important;
  border-color: transparent !important;
}

/* ── Mobile nav ──────────────────────────── */
#mobile-menu { display: none; }
#mobile-menu.open { display: flex; }

/* ── Primary CTA button ─────────────────────── */
.cta-btn {
  position: relative;
  isolation: isolate;
  background: #0e0e14;
  transition: box-shadow 0.35s ease;
}
.cta-btn::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #5296d4 0%, #2d6ab4 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.cta-btn:hover::before { opacity: 1; }
.cta-btn:hover {
  box-shadow: 0 0 0 3px rgba(58,128,200,0.18), 0 0 28px 8px rgba(58,128,200,0.24);
}
.cta-btn .cta-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent; flex-shrink: 0;
  transition: background 0.35s ease;
}
.cta-btn:hover .cta-icon { background: #fff; }
.cta-btn .cta-icon img {
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.cta-btn:hover .cta-icon img { filter: none; transform: translateX(2px); }

/* White/light button variant */
.cta-btn-light .cta-icon { background: transparent !important; }
.cta-btn-light .cta-icon img { filter: brightness(0) !important; }
.cta-btn-light:hover { color: #fff; }
.cta-btn-light:hover .cta-icon { background: rgba(255,255,255,0.15) !important; }
.cta-btn-light:hover .cta-icon img { filter: brightness(0) invert(1) !important; transform: translateX(2px); }

/* ── Scroll reveal ──────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ── Pill ticker animations ─────────────── */
@keyframes pills-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pills-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ── How-it-works sequential flowing glow ─ */
@keyframes hiw-glow {
  0%, 100%  { box-shadow: none; }
  8%        { box-shadow: 0 0 0 2px rgba(58,128,200,0.40),
                           0 0 22px 7px  rgba(58,128,200,0.25),
                           0 0 50px 16px rgba(58,128,200,0.08); }
  15%       { box-shadow: 0 0 0 2px rgba(58,128,200,0.55),
                           0 0 30px 10px rgba(58,128,200,0.38),
                           0 0 64px 22px rgba(58,128,200,0.14); }
  24%       { box-shadow: none; }
}
.hiw-glow-1 { animation: hiw-glow 10s ease-in-out infinite 0s; }
.hiw-glow-2 { animation: hiw-glow 10s ease-in-out infinite 1.2s; }
.hiw-glow-3 { animation: hiw-glow 10s ease-in-out infinite 2.4s; }
.hiw-glow-4 { animation: hiw-glow 10s ease-in-out infinite 3.6s; }

/* ── Pulse animation ─────────────────────── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── Vertical card background images ─────── */
.vi-sports   { background-image:url('card-sports-desktop.webp');   background-size:cover; background-position:center; }
.vi-politics { background-image:url('card-politics-desktop.webp'); background-size:cover; background-position:center; }
.vi-finance  { background-image:url('card-finance-desktop.webp');  background-size:cover; background-position:center; }
.vi-science  { background-image:url('card-science-desktop.webp');  background-size:cover; background-position:center; }
.vi-crypto   { background-image:url('card-crypto-desktop.webp');   background-size:cover; background-position:center; }
.vi-custom   { background-image:url('card-custom-desktop.webp');   background-size:cover; background-position:center; }

/* ── Mobile overrides ────────────────────── */
@media (max-width: 767px) {
  .cta-btn .cta-icon { width: 20px; height: 20px; }
  .cta-btn:hover .cta-icon { background: transparent; }

  .vi-sports   { background-image:url('card-sports-mobile.webp') !important; }
  .vi-politics { background-image:url('card-politics-mobile.webp') !important; }
  .vi-finance  { background-image:url('card-finance-mobile.webp') !important; }
  .vi-science  { background-image:url('card-science-mobile.webp') !important; }
  .vi-crypto   { background-image:url('card-crypto-mobile.webp') !important; }
  .vi-custom   { background-image:url('card-custom-mobile.webp') !important; }
}
