/* Fatrix — cold neon / indigo (White5) */
:root {
  --bg-deep: #070a12;
  --bg-mid: #0d1222;
  --bg-card: #131a2e;
  --bg-elevated: #1a2340;
  --text: #e8f0ff;
  --text-muted: #8b9dc0;
  --mint: #2fffd5;
  --mint-dim: #1bbf9c;
  --pink: #ff4ecd;
  --pink-dim: #c93ba5;
  --amber: #ffb547;
  --border: rgba(47, 255, 213, 0.22);
  --glow-mint: 0 0 28px rgba(47, 255, 213, 0.35);
  --glow-pink: 0 0 26px rgba(255, 78, 205, 0.38);
  --radius: 20px;
  --radius-sm: 14px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --header-h: 4.5rem;
  --z-particles: 0;
  --z-wrap: 1;
  --z-cookie: 10030;
  --z-captcha: 10040;
  --z-age: 10050;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
}

body::before {
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  background: radial-gradient(
    circle,
    rgba(47, 255, 213, 0.2) 0%,
    transparent 70%
  );
  top: -12%;
  right: -8%;
  animation: floatBlob 18s var(--ease-out) infinite alternate;
}

body::after {
  width: min(65vw, 480px);
  height: min(65vw, 480px);
  background: radial-gradient(
    circle,
    rgba(255, 78, 205, 0.16) 0%,
    transparent 70%
  );
  bottom: -15%;
  left: -10%;
  animation: floatBlob 22s var(--ease-out) infinite alternate-reverse;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-24px, 18px) scale(1.06);
  }
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: var(--z-particles);
  opacity: 0.65;
}

.wrap {
  position: relative;
  z-index: var(--z-wrap);
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

a {
  color: var(--mint);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

.disclaimer-top {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  background: rgba(13, 18, 34, 0.92);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.uk-only {
  color: var(--mint);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 18, 0.97) 0%,
    rgba(7, 10, 18, 0.88) 100%
  );
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(47, 255, 213, 0.08);
}

.site-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: lowercase;
}

.brand:hover {
  color: var(--mint);
}

.brand img {
  border-radius: 12px;
  box-shadow: var(--glow-mint);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mint);
  border-radius: 1px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--pink));
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(13, 18, 34, 0.98);
    border-bottom: 1px solid var(--border);
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

.hl-mint {
  color: var(--mint);
  text-shadow: 0 0 40px rgba(47, 255, 213, 0.45);
  animation: glowPulse 3.2s ease-in-out infinite alternate;
}

.hl-pink {
  color: var(--pink);
  text-shadow: 0 0 36px rgba(255, 78, 205, 0.45);
  animation: glowPulsePink 3.5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 24px rgba(47, 255, 213, 0.35);
  }
  100% {
    text-shadow: 0 0 48px rgba(47, 255, 213, 0.6);
  }
}

@keyframes glowPulsePink {
  0% {
    text-shadow: 0 0 20px rgba(255, 78, 205, 0.3);
  }
  100% {
    text-shadow: 0 0 44px rgba(255, 78, 205, 0.55);
  }
}

.lead {
  max-width: 680px;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.scroll-hint {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.scroll-hint::after {
  content: "↓";
  display: inline-block;
  animation: bounceY 1.6s ease-in-out infinite;
}

@keyframes bounceY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(120deg, var(--mint-dim), var(--mint));
  color: #041016;
  box-shadow:
    var(--glow-mint),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  box-shadow:
    0 0 36px rgba(47, 255, 213, 0.55),
    0 12px 40px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(47, 255, 213, 0.35);
}

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

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

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-align: center;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Featured offer */
.featured-offer {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem 1.75rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 78, 205, 0.25);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    var(--glow-pink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.featured-offer::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: conic-gradient(
    from 120deg,
    transparent,
    rgba(47, 255, 213, 0.06),
    transparent,
    rgba(255, 78, 205, 0.08),
    transparent
  );
  animation: spinSlow 14s linear infinite;
  pointer-events: none;
}

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

.featured-offer > * {
  position: relative;
  z-index: 1;
}

.logo-offer {
  max-width: 200px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

.stars {
  color: var(--amber);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.offer-pretitle {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  margin-bottom: 0.35rem;
}

.offer-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.offer-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.btn-offer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  background: linear-gradient(135deg, var(--pink-dim), var(--pink));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--glow-pink);
  transition:
    transform 0.25s var(--ease-out),
    filter 0.25s;
}

.btn-offer:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  color: #fff;
}

.offer-legal {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 1.25rem 0 0;
  opacity: 0.9;
}

/* Grid cards */
.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s,
    box-shadow 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 78, 205, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.icon-orbit {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1rem;
  background: rgba(47, 255, 213, 0.08);
  border: 1px solid rgba(47, 255, 213, 0.25);
  animation: iconFloat 5s ease-in-out infinite;
}

.card:nth-child(2) .icon-orbit {
  animation-delay: 0.6s;
  border-color: rgba(255, 78, 205, 0.3);
  background: rgba(255, 78, 205, 0.08);
}

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

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-4px) rotate(4deg);
  }
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--text);
}

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

/* Signals / lists */
.signals-block h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--mint);
}

.signals-block p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.job-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.job-list li {
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--mint);
  color: var(--text-muted);
}

.job-list strong {
  color: var(--text);
}

/* Inner pages */
.page-main {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.page-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  margin: 0 0 1rem;
}

.page-main .lead {
  text-align: left;
  margin-left: 0;
  max-width: none;
}

.prose {
  color: var(--text-muted);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  text-align: left;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--mint);
  margin: 1.5rem 0 0.5rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.contact-form {
  max-width: 520px;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 78, 205, 0.15);
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(47, 255, 213, 0.12);
  border: 1px solid var(--mint);
  color: var(--text);
  margin-top: 0.5rem;
}

.form-success.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--bg-mid) 0%, #050814 100%);
  border-top: 1px solid rgba(47, 255, 213, 0.1);
  padding: 2.5rem 1.25rem 2rem;
  margin-top: 2rem;
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-rg h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.footer-rg p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 720px;
  margin: 0 0 1.5rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-badges a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  opacity: 0.92;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.footer-badges a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.badge-18-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

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

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Modals — [hidden] must win over generic display (otherwise JS overlay.hidden = true does nothing) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-age);
  background: rgba(3, 6, 14, 0.82);
  backdrop-filter: blur(8px);
  padding: 1.25rem;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay:not([hidden]) {
  display: flex;
}

#captcha-overlay {
  z-index: var(--z-captcha);
}

#cookie-bar {
  z-index: var(--z-cookie);
}

.modal-box {
  width: min(420px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    var(--glow-mint);
  text-align: center;
}

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

.modal-box > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

.modal-logo {
  border-radius: 14px;
  box-shadow: var(--glow-mint);
}

.age-badge-inline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
  margin: 0.25rem 0 0;
  letter-spacing: 0.1em;
}

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

.captcha-modal .captcha-hint {
  font-size: 0.88rem;
}

.captcha-canvas-wrap {
  position: relative;
  margin: 1rem auto;
  max-width: 320px;
  min-height: 160px;
}

#captcha-main {
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(47, 255, 213, 0.3);
}

.captcha-piece {
  position: absolute;
  top: 0;
  cursor: grab;
  touch-action: none;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.captcha-status {
  min-height: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.captcha-status.ok {
  color: var(--mint);
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 18, 34, 0.97);
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.4);
}

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 240px;
}

.cookie-text img {
  border-radius: 8px;
  flex-shrink: 0;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 0.65rem 1.1rem;
  font-size: 0.85rem;
}
