/* UK bonus lander — purple / amber system, no external CSS deps */
:root {
  --bg-deep: #07040f;
  --bg-card: #120a1f;
  --violet: #8b5cf6;
  --violet-hot: #a78bfa;
  --purple-deep: #4c1d95;
  --gold: #fbbf24;
  --gold-dim: #d97706;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --line: rgba(167, 139, 250, 0.22);
  --glow-v: rgba(139, 92, 246, 0.45);
  --glow-g: rgba(251, 191, 36, 0.35);
  --radius: 18px;
  --font-sans: "Figtree", system-ui, sans-serif;
  --font-display: "Syne", var(--font-sans);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
}

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

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

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 0;
}

/* --- Ambient particles (CSS only) --- */
.particle-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 999px;
  opacity: 0.35;
  filter: blur(0.5px);
  animation:
    drift 22s linear infinite,
    spin-slow 18s linear infinite;
}

.particle:nth-child(odd) {
  animation-direction: reverse, normal;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(8vw, -12vh, 0) scale(1.08);
  }
  66% {
    transform: translate3d(-6vw, 8vh, 0) scale(0.94);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

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

@keyframes orbit-border {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.04);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* --- Layout shell --- */
.site-wrap {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(7, 4, 15, 0.96),
    rgba(7, 4, 15, 0.78)
  );
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* width: 100%; */
}

.header-bar--minimal {
  justify-content: space-between;
  position: relative;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 24px var(--glow-g);
}

.header-bar--minimal .nav-panel {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 24px var(--glow-g);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--gold);
  text-decoration: none;
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(76, 29, 149, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.badge-inline img {
  width: 22px;
  height: 22px;
}

/* --- Hero --- */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
  text-align: center;
  position: relative;
}

.hero-orbit {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--violet),
    var(--gold),
    var(--purple-deep),
    var(--violet)
  );
  opacity: 0.22;
  animation: orbit-border 28s linear infinite;
  mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
  -webkit-mask: radial-gradient(farthest-side, transparent 62%, #000 63%);
}

.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(251, 191, 36, 0.25);
  animation: pulse-ring 4.5s ease-in-out infinite;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(18, 10, 31, 0.85);
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
  animation: float-y 5s ease-in-out infinite;
}

.hero-badge img {
  width: 28px;
  height: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 18ch;
  margin-inline: auto;
}

.accent-v {
  color: var(--violet-hot);
  text-shadow: 0 0 42px var(--glow-v);
}

.accent-g {
  color: var(--gold);
  text-shadow: 0 0 36px var(--glow-g);
}

.hero-lead {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  color: #0a0612;
  background: linear-gradient(
    120deg,
    var(--gold),
    #fde68a 45%,
    var(--violet-hot)
  );
  background-size: 200% 200%;
  animation: btn-shimmer 6s ease infinite;
  box-shadow:
    0 0 0 2px rgba(251, 191, 36, 0.35),
    0 12px 40px rgba(139, 92, 246, 0.35);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--violet), var(--gold));
  z-index: -1;
  opacity: 0.55;
  filter: blur(12px);
}

@keyframes btn-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.scroll-hint {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.scroll-hint svg {
  width: 22px;
  height: 22px;
  animation: float-y 2.8s ease-in-out infinite;
}

/* --- Sections --- */
section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

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

.grid-offers--single {
  grid-template-columns: 1fr;
  max-width: 440px;
  margin-inline: auto;
}

.offer-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.15rem;
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.65),
    rgba(251, 191, 36, 0.35),
    transparent 60%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: orbit-border 14s linear infinite;
  z-index: -1;
}

.offer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.offer-logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.offer-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.offer-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

.offer-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(76, 29, 149, 0.45),
    rgba(7, 4, 15, 0.9)
  );
  border: 1px dashed var(--line);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.btn-magenta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  color: #0c0618;
  background: linear-gradient(90deg, var(--violet), var(--violet-hot));
  box-shadow: 0 10px 32px rgba(139, 92, 246, 0.4);
}

.btn-magenta:hover {
  filter: brightness(1.06);
}

.offer-thumb {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 0.85rem;
}

.disclaimer {
  margin: 0.85rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #71717a;
}

/* Why grid */
.why-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.why-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(18, 10, 31, 0.72);
  border: 1px solid var(--line);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  border-color: rgba(251, 191, 36, 0.45);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.35),
    rgba(251, 191, 36, 0.2)
  );
  color: var(--gold);
  font-size: 1.35rem;
  animation: float-y 4s ease-in-out infinite;
}

.why-card:nth-child(2) .why-icon {
  animation-delay: 0.5s;
}

.why-card:nth-child(3) .why-icon {
  animation-delay: 1s;
}

.why-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Careers / prose blocks */
.prose-block {
  background: rgba(18, 10, 31, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.prose-block h2 {
  margin-top: 0;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.two-col {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Responsible strip */
.rg-strip {
  background: linear-gradient(180deg, #0c0820, #07040f);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rg-strip h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}

.rg-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 1.25rem;
}

.rg-logos a {
  display: block;
  opacity: 0.88;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.rg-logos a:hover {
  opacity: 1;
  transform: translateY(-2px);
  text-decoration: none;
}

.rg-logos img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Footer */
.site-footer {
  padding: 2rem 0 5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 1.5rem;
}

.footer-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.35rem;
}

.footer-list a {
  color: var(--muted);
  text-decoration: none;
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

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

/* --- Modals: age, cookie, captcha --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 2, 8, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(440px, 100%);
  background: var(--bg-card);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(139, 92, 246, 0.15);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.modal-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 0 32px var(--glow-g);
}

.modal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  text-align: center;
}

.modal p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
  text-align: center;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.btn-decline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn-accept {
  background: linear-gradient(90deg, var(--violet), var(--purple-deep));
  border: none;
  color: var(--text);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  padding: 1rem;
  background: rgba(10, 6, 18, 0.94);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.4s ease;
}

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

.cookie-inner {
  width: min(960px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 62ch;
}

.cookie-inner .modal-brand {
  flex-direction: row;
  margin: 0;
  align-items: center;
}

.cookie-inner .modal-brand img {
  width: 40px;
  height: 40px;
}

/* Puzzle captcha */
.captcha-modal .modal {
  width: min(380px, 100%);
}

.captcha-wrap {
  margin-top: 0.5rem;
}

.captcha-canvas-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
  background: #0a0612;
}

#captchaCanvas,
#captchaPiece {
  display: block;
  width: 100%;
  height: auto;
}

#captchaPiece {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.captcha-track {
  position: relative;
  height: 44px;
  border-radius: 999px;
  background: rgba(76, 29, 149, 0.35);
  border: 1px solid var(--line);
}

.captcha-slider {
  position: absolute;
  left: 4px;
  top: 50%;
  width: 52px;
  height: 36px;
  margin-top: -18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #fde68a);
  box-shadow: 0 4px 18px rgba(251, 191, 36, 0.45);
  cursor: grab;
  display: grid;
  place-items: center;
  color: #0a0612;
  font-weight: 900;
  user-select: none;
  touch-action: none;
}

.captcha-slider:active {
  cursor: grabbing;
}

.captcha-hint {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin: 0.5rem 0 0;
}

.captcha-status {
  text-align: center;
  font-size: 0.85rem;
  min-height: 1.25rem;
  color: var(--gold);
}

/* Mobile nav */
@media (max-width: 860px) {
  .header-bar--minimal .nav-panel {
    flex: 0 0 auto;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(7, 4, 15, 0.97);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-panel.is-open {
    max-height: 220px;
  }

  .nav-panel .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
