@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --surface: #141417;
  --surface-2: #1b1b1f;
  --line: #2a2a2f;
  --text: #ffffff;
  --muted: #b6b6be;
  --red: #ef233c;
  --red-dark: #a90920;
  --red-line: rgba(239, 35, 60, 0.32);
  --radius: 10px;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(40% 28% at 0% 52%, rgba(239, 35, 60, 0.10), transparent 70%),
    radial-gradient(40% 24% at 100% 74%, rgba(239, 35, 60, 0.08), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 48px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 16px;
  top: -100px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* Eyebrow with the slanted red bar */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--text);
}
.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 36px;
  height: 7px;
  background: linear-gradient(90deg, var(--red), #ff4b5f);
  transform: skewX(-24deg);
  box-shadow: 0 0 12px rgba(239, 35, 60, 0.6);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  background: linear-gradient(100deg, #ef233c, #b40c25);
  box-shadow: 0 12px 30px -14px rgba(239, 35, 60, 0.9);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(239, 35, 60, 1); }
.button-secondary {
  background: rgba(11, 11, 13, 0.6);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}
.button-secondary:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.arrow {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */
.site-header {
  position: relative;
  z-index: 5;
  background: rgba(11, 11, 13, 0.92);
  border-bottom: 1px solid var(--line);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 12%, rgba(239, 35, 60, 0.45) 45%, rgba(239, 35, 60, 0.12) 80%, transparent 100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 92px;
}
.brand { display: block; flex-shrink: 0; }
.brand img { width: 250px; }
.main-nav { display: flex; gap: 44px; }
.main-nav a,
.footer-nav a {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.main-nav a:hover,
.footer-nav a:hover { color: var(--red); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-mesh {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78%;
  background: url("/assets/art/hero-mesh.jpg") center bottom / cover no-repeat;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 82%, transparent 100%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 24px;
  padding-top: 72px;
  padding-bottom: 120px;
}
.hero h1 {
  font-size: clamp(40px, 5.3vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.accent {
  color: var(--red);
  text-shadow: 0 0 28px rgba(239, 35, 60, 0.35);
}
.hero-description {
  max-width: 31em;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.65;
  color: #cfcfd6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 1;
  margin-left: auto;
  display: grid;
  place-items: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(closest-side, rgba(239, 35, 60, 0.30), rgba(239, 35, 60, 0.08) 60%, transparent 75%);
  z-index: -1;
}
.hero-art img {
  position: relative;
  width: 76%;
  filter: drop-shadow(0 24px 40px rgba(239, 35, 60, 0.35));
}
.hud {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hud-outer {
  inset: 0;
  border: 1px solid rgba(239, 35, 60, 0.22);
}
.hud-inner {
  inset: 5%;
  border: 2px solid transparent;
  border-top-color: rgba(239, 35, 60, 0.85);
  border-right-color: rgba(239, 35, 60, 0.35);
  transform: rotate(18deg);
  filter: drop-shadow(0 0 6px rgba(239, 35, 60, 0.7));
}
.hud-ticks {
  inset: -3%;
  background: repeating-conic-gradient(from -50deg, rgba(239, 35, 60, 0.75) 0deg 0.8deg, transparent 0.8deg 4deg);
  -webkit-mask:
    radial-gradient(closest-side, transparent 93%, #000 94%, #000 98%, transparent 99%),
    conic-gradient(from -50deg, #000 0deg 40deg, transparent 40deg);
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(closest-side, transparent 93%, #000 94%, #000 98%, transparent 99%) intersect,
    conic-gradient(from -50deg, #000 0deg 40deg, transparent 40deg);
}

/* Sections */
.section { padding-top: 64px; }
.section-heading { margin-bottom: 32px; }
.section-heading h2,
.cta h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
}
.section-heading > p:last-child:not(.eyebrow) {
  margin-top: 12px;
  font-size: 17px;
  color: var(--muted);
}

/* Providers */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.provider-card {
  display: grid;
  place-items: center;
  height: 118px;
  padding: 18px 20px;
  border: 1px solid var(--red-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1b1b1f, #111114);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.provider-card:hover {
  border-color: rgba(239, 35, 60, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 34px -18px rgba(239, 35, 60, 0.8);
  transform: translateY(-2px);
}
.provider-card img {
  width: auto;
  max-width: 82%;
  max-height: 56px;
  object-fit: contain;
}
.provider-card img[src*="fa-chai"] { max-height: 48px; }
.provider-card img[src*="pragmatic"] { max-height: 64px; }
.provider-card img[src*="evolution"] { width: 78%; max-height: 40px; }
.provider-card img[src*="microgaming"] { max-height: 48px; }

/* Integration steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 18px;
  padding: 24px 22px 26px;
  border: 1px solid rgba(239, 35, 60, 0.5);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1b1b1f, #111114);
  counter-increment: step;
}
.step + .step::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  transform: translate(-50%, -50%) rotate(45deg);
}
.step-number { display: none; }
.step-icon { width: 44px; height: 44px; }
.step h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
}
.step h3::before { content: counter(step) ". "; }
.step p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  margin-top: 44px;
  padding: 0 12px;
  scroll-margin-top: 40px;
}
.capabilities li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 28px;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
.capabilities li:first-child { padding-left: 0; }
.capabilities li + li { border-left: 1px solid var(--line); padding-left: 40px; }
.capabilities img { width: 30px; height: 30px; }

/* Closing band */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 88px;
  border-top: 1px solid rgba(239, 35, 60, 0.55);
  border-bottom: 1px solid rgba(239, 35, 60, 0.35);
  background:
    radial-gradient(70% 160% at 88% 50%, rgba(239, 35, 60, 0.32), transparent 60%),
    linear-gradient(90deg, #1a0b0f 0%, #200a0f 50%, #2d0a12 100%);
}
.cta-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/assets/art/cta-glow.jpg") right center / cover no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cta .button { flex-shrink: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 30px;
  padding-bottom: 34px;
}
.brand-footer img { width: 210px; }
.footer-nav {
  display: flex;
  gap: 36px;
  padding-left: 40px;
  border-left: 1px solid var(--red-line);
}
.footer-nav a { font-size: 15px; }
.footer-note {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

/* Tablet */
@media (max-width: 1000px) {
  .wrap { padding: 0 32px; }
  .main-nav { gap: 28px; }
  .brand img { width: 220px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 96px; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto 8px; }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .step + .step::before { display: none; }
  .capabilities { grid-template-columns: 1fr; justify-content: start; gap: 16px; padding: 0; }
  .capabilities li, .capabilities li + li { border-left: 0; padding: 0; white-space: normal; }
  .footer-inner { flex-wrap: wrap; gap: 18px 32px; }
  .footer-note { flex-basis: 100%; margin-left: 0; }
}

/* Phone */
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .brand img { width: 220px; }
  .main-nav { gap: 26px; }
  .main-nav a { font-size: 15px; }

  .hero-inner { padding-top: 28px; padding-bottom: 72px; gap: 8px; }
  .hero-art { max-width: 260px; }
  .eyebrow { font-size: 12px; letter-spacing: 0.14em; gap: 12px; }
  .eyebrow::before { width: 28px; height: 6px; }
  .hero h1 { font-size: 38px; }
  .hero-description { font-size: 16px; margin-top: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
  .hero-mesh { height: 40%; }

  .section { padding-top: 52px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 16px; }
  .provider-grid { gap: 10px; }
  .provider-card { height: 84px; padding: 12px 14px; }
  .provider-card img { max-height: 40px; max-width: 88%; }
  .provider-card img[src*="fa-chai"] { max-height: 34px; }
  .provider-card img[src*="pragmatic"] { max-height: 48px; }
  .provider-card img[src*="evolution"] { width: 80%; max-height: 30px; }
  .provider-card img[src*="microgaming"] { max-height: 34px; }

  .steps { padding-left: 46px; gap: 14px; }
  .step {
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px 16px 16px 14px;
    border-color: rgba(255, 255, 255, 0.16);
  }
  .step-number {
    position: absolute;
    left: -46px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(160deg, #ff3b52, #b40c25);
    box-shadow: 0 0 14px rgba(239, 35, 60, 0.6);
    font-size: 15px;
    font-weight: 800;
    transform: translateY(-50%);
  }
  .step:not(:last-child) .step-number::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    height: 70px;
    border-left: 2px dotted rgba(239, 35, 60, 0.8);
    transform: translateX(-50%);
  }
  .step-icon { width: 32px; height: 32px; }
  .step-body { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
  .step h3 { font-size: 17px; }
  .step h3::before { content: none; }
  .step p { margin-top: 4px; font-size: 14px; }

  .capabilities { margin-top: 32px; }
  .capabilities li { font-size: 16px; }

  .cta { margin-top: 64px; }
  .cta-glow { background-position: 70% center; opacity: 0.8; }
  .cta-inner { flex-direction: column; align-items: stretch; text-align: center; gap: 22px; padding-top: 44px; padding-bottom: 44px; }
  .cta .eyebrow { justify-content: center; }
  .cta h2 { font-size: 28px; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .brand-footer img { width: 190px; }
  .footer-nav { gap: 22px; padding-left: 0; border-left: 0; }
  .footer-nav a { font-size: 14px; }
  .footer-note { font-size: 13px; }
}

@media (max-width: 360px) {
  .main-nav { gap: 16px; }
  .footer-nav { gap: 14px; }
}
