/* ==========================================================================
   DataDot – stíluslap
   Szerkezet: fontok → tokenek → alapok → háttér → layout → komponensek
   → állapotok → responsive → reduced motion
   ========================================================================== */

/* ---------- Fontok (self-hosted, SIL OFL 1.1) ---------- */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokenek ---------- */

:root {
  --color-background: #0b0820;
  --color-surface: rgba(22, 16, 52, 0.62);
  --color-surface-mobile: rgba(22, 16, 52, 0.66);
  --color-purple: #5e40bc;
  --color-purple-light: #7d5cf0;
  --color-purple-shade-1: #4a31a0;
  --color-purple-shade-2: #3a2682;
  --color-purple-shade-3: #2b1c63;
  --color-yellow: #f5b037;
  --color-yellow-light: #ffcf73;
  --color-on-yellow: #1a1236;
  --color-text: #ffffff;
  --color-text-label: rgba(255, 255, 255, 0.86);
  --color-text-body: rgba(255, 255, 255, 0.78);
  --color-text-link: rgba(255, 255, 255, 0.7);
  --color-muted: rgba(255, 255, 255, 0.55);
  --color-services: rgba(255, 255, 255, 0.5);
  --color-placeholder: #8f88b3;
  --color-noted: #b9b3cf;
  --color-danger: #ff8a80;
  --color-danger-surface: rgba(255, 138, 128, 0.1);
  --color-border: rgba(255, 255, 255, 0.14);
  --color-border-field: rgba(255, 255, 255, 0.16);
  --color-border-strong: rgba(255, 255, 255, 0.22);
  --color-field: rgba(255, 255, 255, 0.06);
  --color-field-hover: rgba(255, 255, 255, 0.08);
  --focus-ring: 0 0 0 4px rgba(245, 176, 55, 0.18);

  --radius-small: 12px;
  --radius-medium: 14px;
  --radius-large: 28px;
  --radius-large-mobile: 24px;
  --radius-pill: 999px;

  --font-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shadow-panel: 0 30px 80px rgba(5, 3, 20, 0.55);
  --shadow-panel-mobile: 0 24px 60px rgba(5, 3, 20, 0.55);
  --shadow-button: 0 12px 30px rgba(245, 176, 55, 0.35);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shell-max: 1600px;
}

/* ---------- Alapok ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--color-background);
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: var(--color-yellow);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-yellow-light);
}

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

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-small);
  background: var(--color-yellow);
  color: var(--color-on-yellow);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--color-on-yellow);
}

/* ---------- Háttér: glow-k + pontháló (tisztán CSS) ---------- */

.backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.backdrop__glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* A referencia filter: blur()-t használ; a sokszínű radial-gradient
   ugyanazt a lágy szélt adja GPU-drága blur nélkül. */
.backdrop__glow--purple {
  left: -220px;
  top: -260px;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, var(--color-purple) 0%, rgba(94, 64, 188, 0.55) 34%, rgba(94, 64, 188, 0.18) 54%, rgba(94, 64, 188, 0) 70%);
  opacity: 0.95;
  animation: drift-a 22s ease-in-out infinite alternate;
}

.backdrop__glow--violet {
  right: -260px;
  top: 120px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, var(--color-purple-light) 0%, rgba(125, 92, 240, 0.5) 32%, rgba(125, 92, 240, 0.15) 52%, rgba(125, 92, 240, 0) 68%);
  opacity: 0.55;
  animation: drift-b 26s ease-in-out infinite alternate;
}

.backdrop__glow--amber {
  left: 29%;
  bottom: -300px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--color-yellow) 0%, rgba(245, 176, 55, 0.5) 30%, rgba(245, 176, 55, 0.14) 50%, rgba(245, 176, 55, 0) 68%);
  opacity: 0.45;
  animation: drift-c 18s ease-in-out infinite alternate;
}

.backdrop__dots {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.4px);
  background-size: 28px 28px;
}

@keyframes drift-a {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 60px) scale(1.15); }
  100% { transform: translate(-40px, 140px) scale(0.95); }
}

@keyframes drift-b {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-140px, -80px) scale(1.2); }
  100% { transform: translate(60px, -20px) scale(1); }
}

@keyframes drift-c {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-90px, -120px); }
}

/* ---------- Layout ---------- */

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: var(--shell-max);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 28px 20px 32px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  /* A dekoratív glow-k ne okozzanak vízszintes görgetést */
  overflow-x: hidden;
}

@supports (overflow: clip) {
  .shell {
    overflow-x: clip;
  }
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  border-radius: 6px;
}

.brand__logo {
  width: auto;
  height: 30.5px;
}

.main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
  container-type: inline-size;
  container-name: intro;
  width: 100%;
}

/* ---------- Header e-mail link ---------- */

.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mail-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}

.mail-link__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- Nagy DataDot grafika ---------- */

.hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 100%);
  aspect-ratio: 280 / 238;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 92, 240, 0.45) 0%, rgba(125, 92, 240, 0.2) 36%, rgba(125, 92, 240, 0) 66%);
}

.hero-mark__img {
  position: relative;
  width: 89.3%; /* 250 / 280 a referencia szerint */
  height: auto;
  filter:
    drop-shadow(2px 2px 0 var(--color-purple-shade-1))
    drop-shadow(2px 2px 0 var(--color-purple-shade-2))
    drop-shadow(2px 2px 0 var(--color-purple-shade-3))
    drop-shadow(12px 18px 20px rgba(3, 1, 15, 0.75));
  animation: float 6s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes float {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-16px) rotate(1deg); }
}

/* ---------- Szolgáltatások ---------- */

.services {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-services);
}

.services li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.services li::before {
  content: "";
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-yellow);
  opacity: 0.7;
}

/* Ha elég széles a bal oszlop, a desktop design szerinti egy sor */
@container intro (min-width: 560px) {
  .services {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .services li {
    gap: 14px;
  }

  .services li:first-child::before {
    display: none;
  }
}

/* ---------- Űrlap panel ---------- */

.contact {
  width: 100%;
  outline: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large-mobile);
  background: var(--color-surface-mobile);
  box-shadow: var(--shadow-panel-mobile);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-label);
}

.field__input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--color-border-field);
  border-radius: var(--radius-small);
  background: var(--color-field);
  color: var(--color-text);
  font: 500 16px/1.2 var(--font-sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field__input--textarea {
  height: auto;
  min-height: calc(5 * 1.5em + 30px);
  padding: 14px 16px;
  line-height: 1.5;
  resize: none;
}

.field__input::placeholder {
  color: var(--color-placeholder);
  opacity: 1;
}

.field__input:hover {
  background: var(--color-field-hover);
}

.field__input:focus,
.field__input:focus-visible {
  outline: none;
  border-color: var(--color-yellow);
  box-shadow: var(--focus-ring);
}

/* Autofill: ne legyen világos háttér a sötét panelen */
.field__input:-webkit-autofill,
.field__input:-webkit-autofill:hover,
.field__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-text);
  caret-color: var(--color-text);
  box-shadow: 0 0 0 1000px #221a47 inset;
  transition: background-color 9999s ease-out 0s;
}

.field__input[aria-invalid="true"] {
  border-color: var(--color-danger);
}

.field__input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(255, 138, 128, 0.18);
}

.field__error {
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-danger);
}

.field__error:empty {
  display: none;
}

/* Honeypot – vizuálisan és billentyűzettel is elérhetetlen */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Hozzájárulás checkbox ---------- */

.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
}

.consent__box {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--color-yellow);
  color-scheme: light; /* a referencia szerint világos, nem kitöltött négyzet */
  cursor: pointer;
}

.consent__label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-body);
  cursor: pointer;
}

.consent__error {
  grid-column: 2;
}

/* ---------- Form státusz (hibaüzenet) ---------- */

.form-status:empty {
  display: none;
}

.form-status {
  padding: 12px 14px;
  border: 1px solid rgba(255, 138, 128, 0.4);
  border-radius: var(--radius-small);
  background: var(--color-danger-surface);
  color: #ffd2cd;
  font-size: 14px;
  line-height: 1.5;
}

.form-status a {
  color: var(--color-yellow-light);
}

/* ---------- CTA gomb ---------- */

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-medium);
  background: var(--color-yellow);
  color: var(--color-on-yellow);
  font: 600 16px/1 var(--font-sans);
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-button);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--color-yellow-light);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(245, 176, 55, 0.42);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

.button__arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.button:hover .button__arrow {
  transform: translateX(3px);
}

.button__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(26, 18, 54, 0.25);
  border-top-color: var(--color-on-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.button[disabled] {
  cursor: progress;
  background: var(--color-yellow);
  transform: none;
  box-shadow: 0 8px 22px rgba(245, 176, 55, 0.22);
  opacity: 0.85;
}

.button.is-loading .button__arrow {
  display: none;
}

.button.is-loading .button__spinner {
  display: block;
}

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

/* ---------- Sikeres küldés: „Noted...” ---------- */

.success {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50vh;
  outline: none;
  animation: success-in 0.7s var(--ease-out) both;
}

.success__title {
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-noted);
}

.success__dots {
  color: var(--color-yellow);
  opacity: 0.8;
}

@keyframes success-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Kilépő animáció az űrlapnak és a bal oldalnak */
.main.is-leaving .intro,
.main.is-leaving .contact-form {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.intro {
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  text-align: center;
}

.site-footer__link {
  color: var(--color-text-link);
}

.site-footer__link:hover {
  color: var(--color-text);
}

/* ---------- Tartalmi oldal (Adatkezelési tájékoztató) ---------- */

.main--doc {
  justify-content: center;
}

.doc {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large-mobile);
  background: var(--color-surface-mobile);
  box-shadow: var(--shadow-panel-mobile);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.doc__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--color-text-link);
  font-size: 14px;
  text-decoration: none;
}

.doc__back:hover {
  color: var(--color-text);
}

.doc__title {
  margin-bottom: 20px;
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.doc__meta {
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-services);
}

.doc__body {
  color: var(--color-text-body);
  font-size: 16px;
  line-height: 1.65;
}

.doc__body > * + * {
  margin-top: 1em;
}

.doc__placeholder {
  padding: 28px 20px;
  border: 2px dashed rgba(245, 176, 55, 0.6);
  border-radius: var(--radius-medium);
  background: rgba(245, 176, 55, 0.06);
  color: var(--color-yellow-light);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet: még egy oszlop, de tágasabb, az űrlapmezők két oszlopban */
@media (min-width: 768px) {
  .shell {
    gap: 48px;
    padding: 40px;
  }

  .brand__logo {
    height: 38px;
  }

  .mail-link {
    width: auto;
    height: auto;
    padding: 12px 20px;
  }

  .mail-link__icon {
    display: none;
  }

  .mail-link__text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .main {
    align-items: center;
    gap: 48px;
  }

  .hero-mark {
    width: min(380px, 100%);
    aspect-ratio: 460 / 392;
  }

  .hero-mark::before {
    inset: -60px;
  }

  .hero-mark__img {
    width: 91.3%; /* 420 / 460 */
    filter:
      drop-shadow(3px 3px 0 var(--color-purple-shade-1))
      drop-shadow(3px 3px 0 var(--color-purple-shade-2))
      drop-shadow(3px 3px 0 var(--color-purple-shade-3))
      drop-shadow(18px 26px 28px rgba(3, 1, 15, 0.75));
  }

  .contact {
    max-width: 580px;
  }

  .contact-form {
    gap: 18px;
    padding: 36px;
    border-radius: var(--radius-large);
    background: var(--color-surface);
    box-shadow: var(--shadow-panel);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
  }

  .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .field__input {
    height: 48px;
    font-size: 15px;
  }

  .field__input--textarea {
    height: auto;
    min-height: 0;
  }

  .consent__box {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .backdrop__dots {
    background-size: 28px 28px;
  }

  .doc {
    padding: 48px;
    border-radius: var(--radius-large);
    background: var(--color-surface);
    box-shadow: var(--shadow-panel);
  }

  .doc__placeholder {
    padding: 48px 32px;
  }
}

/* Desktop: kétoszlopos elrendezés a referencia szerint */
@media (min-width: 1120px) {
  .shell {
    gap: 0;
    padding: clamp(32px, 6.2vh, 56px) clamp(56px, 6.67vw, 96px);
  }

  .brand__logo {
    height: 42px;
  }

  .main {
    flex-direction: row;
    align-items: center;
    gap: clamp(56px, 6.67vw, 96px);
    padding: 32px 0;
  }

  .intro {
    flex: 1 1 0;
    gap: 36px;
    padding-top: 0;
  }

  .hero-mark {
    width: min(460px, 100%);
  }

  .contact {
    flex: 0 1 540px;
    max-width: 540px;
  }

  .contact-form {
    padding: 40px;
  }

  .success__title {
    font-size: 120px;
  }
}

/* Mobil háttér: kisebb glow-k a referencia mobil nézete szerint */
@media (max-width: 767.98px) {
  .backdrop__glow--purple {
    left: -200px;
    top: -180px;
    width: 560px;
    height: 560px;
    opacity: 1;
    animation-name: drift-a-mobile;
    animation-duration: 20s;
  }

  .backdrop__glow--violet {
    right: -220px;
    top: 520px;
    width: 480px;
    height: 480px;
    opacity: 0.5;
    animation-name: drift-b-mobile;
    animation-duration: 24s;
  }

  .backdrop__glow--amber {
    left: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    opacity: 0.4;
    animation-name: drift-b-mobile;
    animation-duration: 24s;
  }

  .backdrop__dots {
    background-size: 24px 24px;
  }
}

@keyframes drift-a-mobile {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 80px) scale(1.15); }
}

@keyframes drift-b-mobile {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-60px, -90px); }
}

/* ---------- Csökkentett mozgás ---------- */

@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;
  }

  .backdrop__glow,
  .hero-mark__img {
    animation: none !important;
  }

  .main.is-leaving .intro,
  .main.is-leaving .contact-form {
    transform: none;
  }

  .button__spinner {
    animation: spin 1.6s linear infinite !important;
  }
}
