/*
 * Sípszó – bemutató oldal.
 * Tokenek az app arculatából (v2.0, src/app/globals.css): sötét az alap, világos tokencsere data-theme-mel.
 * Betűk: Archivo (változó, wdth 62–125, dőlt is) + IBM Plex Mono. Itt több a lendület (dőlt, ferde csíkok,
 * futószalag), de a narancs továbbra is a kiemelésé.
 */

:root {
  --brand-tinta: #12161f;
  --brand-labda: #f0601c;
  --brand-parketta: #f2ebdd;
  --brand-palank: #1f3f8f;

  --font-sans: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 14px;
  --r-xl: 16px;
  --r-2xl: 20px;

  --header-h: 66px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: 16px;
}

:root,
:root[data-theme="dark"] {
  --bg: #12161f;
  --bg-band: #161b26;
  --surface: #1b2130;
  --surface-2: #232a39;
  --line: #2a3142;
  --line-strong: #3a4357;
  --text: #f2ebdd;
  --text-2: #a3aab8;
  --text-3: #c8cdd6;
  --accent: #f0601c;
  --accent-soft: rgba(240, 96, 28, 0.14);
  --on-accent: #12161f;
  --link: #ff8a52;
  --court-line: #232a39;
  --success: #7ed6a6;
  --success-bg: #173a2a;
  --danger: #ff8a7a;
  --header-bg: rgba(18, 22, 31, 0.78);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f2ebdd;
    --bg-band: #ece3d2;
    --surface: #fbf7f0;
    --surface-2: #eae1cf;
    --line: #e0d6c4;
    --line-strong: #cfc3ad;
    --text: #12161f;
    --text-2: #5e6573;
    --text-3: #3a4357;
    --accent: #f0601c;
    --accent-soft: rgba(240, 96, 28, 0.12);
    --on-accent: #12161f;
    --link: #1f3f8f;
    --court-line: #e0d6c4;
    --success: #1e7a48;
    --success-bg: #dcefe3;
    --danger: #b42e22;
    --header-bg: rgba(242, 235, 221, 0.82);
    --shadow: 0 30px 70px -24px rgba(18, 22, 31, 0.35);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f2ebdd;
  --bg-band: #ece3d2;
  --surface: #fbf7f0;
  --surface-2: #eae1cf;
  --line: #e0d6c4;
  --line-strong: #cfc3ad;
  --text: #12161f;
  --text-2: #5e6573;
  --text-3: #3a4357;
  --accent: #f0601c;
  --accent-soft: rgba(240, 96, 28, 0.12);
  --on-accent: #12161f;
  --link: #1f3f8f;
  --court-line: #e0d6c4;
  --success: #1e7a48;
  --success-bg: #dcefe3;
  --danger: #b42e22;
  --header-bg: rgba(242, 235, 221, 0.82);
  --shadow: 0 30px 70px -24px rgba(18, 22, 31, 0.35);
  color-scheme: light;
}

/* ---------------------------------------------------------------- alap */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--link);
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}

/* A ferdére forgatott futószalag ne okozzon vízszintes görgetést (telefonon a body overflow nem mindig elég). */
main {
  overflow-x: clip;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap.narrow {
  max-width: 820px;
}
@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

/* ---------------------------------------------------------------- tipográfia */

.t-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.t-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.accent-text {
  color: var(--accent);
}
.hl {
  color: var(--accent);
  font-style: italic;
}
.h2 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.95;
  font-weight: 850;
  font-stretch: 72%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  /* A dőlt, szűk betűnél a szóköz túl keskeny ("HOLNAPEGY"). */
  word-spacing: 0.08em;
}
.lead {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
}
.lead strong {
  color: var(--text);
}

/* ---------------------------------------------------------------- gombok */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: scale(0.97);
}
.btn-lg {
  height: 54px;
  padding: 0 24px;
  font-size: 16px;
}
.btn-sm {
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 30px -10px rgba(240, 96, 28, 0.6);
}
/* Fényvillanás áthaladáskor: a lendület kicsiben. */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s var(--ease);
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}
.btn-primary:hover::after {
  left: 130%;
}
.btn-secondary {
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--text-2);
}
.btn-dark {
  background: var(--brand-tinta);
  color: var(--brand-parketta);
}
.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
}

/* ---------------------------------------------------------------- fejléc */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, height 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
/* Olvasási csík a fejléc alján (a görgetés arányában töltődik). */
.read-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-mark {
  transform: rotate(-12deg) scale(1.06);
}
.brand-name {
  font-size: 24px;
  font-weight: 850;
  font-stretch: 75%;
  font-style: italic;
  letter-spacing: -0.01em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a:not(.btn) {
  position: relative;
  padding: 10px 12px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:not(.btn):hover,
.main-nav a.active {
  color: var(--text);
}
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  margin-left: 8px;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.icon-btn:hover {
  background: var(--surface);
  color: var(--text);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Sötétben a nap ikon (váltás világosra), világosban a hold. */
.i-moon {
  display: none !important;
}
:root[data-theme="light"] .i-sun {
  display: none !important;
}
:root[data-theme="light"] .i-moon {
  display: block !important;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .i-sun {
    display: none !important;
  }
  :root:not([data-theme="dark"]) .i-moon {
    display: block !important;
  }
}
.menu-btn {
  display: none;
  gap: 4px;
  align-content: center;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 899px) {
  .menu-btn {
    display: grid;
  }
  .header-tools {
    margin-left: auto;
  }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .main-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .main-nav a:not(.btn) {
    padding: 14px 4px;
    font-size: 22px;
    font-weight: 800;
    font-stretch: 75%;
    font-style: italic;
    text-transform: uppercase;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .main-nav a:not(.btn)::after {
    display: none;
  }
  .nav-cta {
    margin: 16px 0 0;
    height: 52px;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 72px;
}
@media (min-width: 1024px) {
  .hero {
    padding: 64px 0 104px;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.court {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--court-line);
  opacity: 0.9;
}
/* Ferde sebességcsíkok, lassan úsznak. */
.speed {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: repeating-linear-gradient(
    -62deg,
    transparent 0 46px,
    var(--accent-soft) 46px 52px,
    transparent 52px 110px
  );
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent);
  animation: speed 6s linear infinite;
}
@keyframes speed {
  to {
    background-position: 220px 0;
  }
}
.glow {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 96, 28, 0.28), transparent 65%);
  filter: blur(10px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: scale(1.12);
    opacity: 0.75;
  }
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(52px, 11.5vw, 124px);
  line-height: 0.86;
  font-weight: 900;
  font-stretch: 68%;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.hero-title .line {
  display: block;
}
.hero-title .line:nth-child(2) {
  padding-left: 0.35em;
}
.hero-title .hl {
  position: relative;
  display: inline-block;
  padding-right: 0.08em;
}
/* Ecsetvonás a kiemelés alatt, belépéskor végighúzódik. */
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.05em;
  bottom: 0.02em;
  height: 0.09em;
  background: var(--accent);
  transform: skewX(-20deg) scaleX(0);
  transform-origin: left;
  animation: underline 0.7s 0.9s var(--ease) forwards;
}
@keyframes underline {
  to {
    transform: skewX(-20deg) scaleX(1);
  }
}

.hero-rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 10px;
  margin-top: 22px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  font-stretch: 78%;
  text-transform: uppercase;
  color: var(--text-3);
}
.rot {
  position: relative;
  display: inline-block;
  height: 1.25em;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--text);
}
.rot-word {
  display: inline-block;
  padding: 0 8px;
  font-style: italic;
  background: var(--surface-2);
  border-radius: var(--r-xs);
  box-shadow: inset 3px 0 0 var(--accent);
}
.rot-word.out {
  animation: rot-out 0.35s var(--ease) forwards;
}
.rot-word.in {
  animation: rot-in 0.45s var(--ease) both;
}
@keyframes rot-out {
  to {
    transform: translateY(-110%) skewX(-12deg);
    opacity: 0;
  }
}
@keyframes rot-in {
  from {
    transform: translateY(110%) skewX(-12deg);
    opacity: 0;
  }
}

.hero .lead {
  margin-top: 18px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
@media (max-width: 519px) {
  .cta-row .btn {
    width: 100%;
    white-space: normal;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 0;
  max-width: 560px;
}
.hero-stats > div {
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.hero-stats dt {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-stats small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}
.hero-stats dd {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.3;
}

/* ---- telefon */

.hero-visual {
  display: flex;
  justify-content: center;
}
.phone-stage {
  position: relative;
  width: min(330px, 86vw);
  transform-style: preserve-3d;
  transition: transform 0.3s ease-out;
}
.phone {
  position: relative;
  z-index: 1;
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2b3243, #0b0e14);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  transform: rotate(4deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: rotate(4deg) translateY(-10px);
  }
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 24px;
  border-radius: 20px;
  background: #0b0e14;
  transform: translateX(-50%);
}
/* A telefon képernyője mindig az app sötét arculatát mutatja. */
.screen {
  --s-bg: #12161f;
  --s-surface: #1b2130;
  --s-surface-2: #232a39;
  --s-line: #2a3142;
  --s-text: #f2ebdd;
  --s-text-2: #a3aab8;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  padding: 50px 14px 0;
  overflow: hidden;
  border-radius: 37px;
  background: var(--s-bg);
  color: var(--s-text);
  font-size: 12px;
}
.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 17px;
  font-weight: 850;
  font-stretch: 75%;
  font-style: italic;
}
.app-logo svg {
  width: 22px;
  height: 22px;
}
.app-bell {
  position: relative;
}
.app-bell svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--s-text-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-bell i {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-labda);
  border: 2px solid var(--s-bg);
  animation: pop 0.35s 2.6s ease-out both;
}
@keyframes pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.app-h1 {
  margin-top: 4px;
  font-size: 26px;
  line-height: 1;
  font-weight: 850;
  font-stretch: 75%;
  letter-spacing: -0.02em;
}
.app-label {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s-text-2);
}
.next-card {
  display: flex;
  gap: 10px;
  padding: 11px;
  border-radius: 14px;
  background: var(--brand-labda);
  color: var(--brand-tinta);
}
.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46px;
  flex: none;
  border-radius: 9px;
  background: rgba(18, 22, 31, 0.14);
  font-family: var(--font-mono);
  line-height: 1.1;
}
.date-block b {
  font-size: 8.5px;
  font-weight: 600;
}
.date-block strong {
  font-size: 22px;
  font-weight: 600;
}
.chip-dark {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--brand-tinta);
  color: var(--brand-labda);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
}
.teams {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 850;
  font-stretch: 75%;
  text-transform: uppercase;
}
.next-card .meta {
  margin-top: 4px;
  font-size: 9.5px;
  opacity: 0.8;
}
.mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mini-card {
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--s-surface);
}
.mini-card .app-label {
  margin: 0;
}
.shot {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--brand-labda);
}
.shot small {
  font-size: 10px;
  color: var(--s-text-2);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
  margin-top: 4px;
}
.bars i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: var(--s-surface-2);
  transform-origin: bottom;
  animation: grow-bar 0.8s var(--ease) both;
}
.bars i:nth-child(2) { animation-delay: 0.08s; }
.bars i:nth-child(3) { animation-delay: 0.16s; }
.bars i:nth-child(4) { animation-delay: 0.24s; }
.bars i:nth-child(5) { animation-delay: 0.32s; }
.bars i.on {
  background: var(--brand-labda);
}
@keyframes grow-bar {
  from {
    transform: scaleY(0);
  }
}
.result-card {
  padding: 10px;
  border-radius: 12px;
  background: var(--s-surface);
}
.score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}
.score em {
  font-style: normal;
  color: var(--s-text-2);
}
.quarters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 8px;
}
.quarters span {
  padding: 4px 0;
  border-radius: var(--r-xs);
  background: var(--s-surface-2);
  font-size: 9.5px;
  text-align: center;
  color: var(--s-text-2);
}
.quarters .win {
  background: var(--brand-labda);
  color: var(--brand-tinta);
  font-weight: 600;
}
.tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: auto -14px 0;
  padding: 9px 6px 18px;
  border-top: 1px solid var(--s-line);
  background: var(--s-bg);
}
.tabbar span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 8.5px;
  color: var(--s-text-2);
}
.tabbar i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.6px solid currentColor;
}
.tabbar .on {
  color: var(--brand-labda);
}
.tabbar .on i {
  background: var(--brand-labda);
}

/* Sípszó hullám a telefon mögött. */
.whistle-wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
}
.whistle-wave span {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: wave 3.6s var(--ease) infinite;
}
.whistle-wave span:nth-child(2) {
  animation-delay: 1.2s;
}
.whistle-wave span:nth-child(3) {
  animation-delay: 2.4s;
}
@keyframes wave {
  0% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Push értesítés, beúszik. */
.toast {
  position: absolute;
  z-index: 2;
  left: -14%;
  top: 22%;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 92%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(-30px) scale(0.96);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: none;
}
.toast-icon svg {
  width: 34px;
  height: 34px;
}
.toast-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 13px;
  line-height: 1.25;
}
.toast-text span {
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast-time {
  margin-left: auto;
  align-self: flex-start;
  font-size: 11px;
  color: var(--text-2);
}
@media (max-width: 519px) {
  .toast {
    left: -4%;
    width: 100%;
  }
}

/* ---------------------------------------------------------------- futószalag */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 14px 0;
  background: var(--accent);
  color: var(--on-accent);
  transform: rotate(-2deg) scale(1.04);
  margin: -10px 0 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  font-weight: 900;
  font-stretch: 68%;
  font-style: italic;
  text-transform: uppercase;
}
.marquee i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-tinta);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ---------------------------------------------------------------- szekciók */

.section {
  position: relative;
  padding: 88px 0;
}
@media (min-width: 1024px) {
  .section {
    padding: 128px 0;
  }
}
/* Ferde szélű sáv: a szekciók között "lendület". */
.section-band {
  background: var(--bg-band);
  clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%);
  padding-top: calc(88px + 3vw);
  padding-bottom: calc(88px + 3vw);
}
@media (min-width: 1024px) {
  .section-band {
    padding-top: calc(128px + 3vw);
    padding-bottom: calc(128px + 3vw);
  }
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

/* ---- sportág kártyák */

.sport-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.sport-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
  padding: 22px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.sport-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, var(--accent-soft) 40% 52%, transparent 52%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}
.sport-card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.sport-card:hover::before {
  transform: translateX(100%);
}
.sport-no {
  font-size: 13px;
  color: var(--text-2);
}
.status {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.status-live {
  background: var(--success-bg);
  color: var(--success);
}
.status-live .live-dot {
  background: var(--success);
}
.sport-icon {
  width: 56px;
  height: 56px;
  margin: 18px 0 4px;
  fill: none;
  stroke: var(--text-3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease), stroke 0.3s;
}
.sport-card:hover .sport-icon {
  transform: rotate(-25deg) scale(1.08);
  stroke: var(--accent);
}
.sport-card h3 {
  font-size: 30px;
  line-height: 1;
  font-weight: 850;
  font-stretch: 72%;
  font-style: italic;
  text-transform: uppercase;
}
.sport-card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-2);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--link);
}
.card-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.sport-card:hover .card-cta svg {
  transform: translateX(4px);
}
/* Az élő app kártyája a kiemelt: narancs, mint az app "következő meccs" kártyája. */
.sport-card.is-live {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.sport-card.is-live .sport-no,
.sport-card.is-live p,
.sport-card.is-live .card-cta {
  color: var(--brand-tinta);
}
.sport-card.is-live .sport-icon {
  stroke: var(--brand-tinta);
}
.sport-card.is-live .status-live {
  background: var(--brand-tinta);
  color: var(--brand-parketta);
}
.sport-card.is-live .status-live .live-dot {
  background: var(--success);
}
.sport-card.is-live::before {
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.18) 40% 52%, transparent 52%);
}
.sport-card-own {
  border-style: dashed;
  background: transparent;
}
@media (min-width: 1024px) {
  .sport-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sport-card.is-live {
    grid-column: span 2;
    grid-row: span 2;
    padding: 32px;
  }
  .sport-card-own {
    grid-column: span 2;
  }
  .sport-card.is-live .sport-icon {
    width: 120px;
    height: 120px;
    margin: auto 0 8px;
  }
  .sport-card.is-live h3 {
    font-size: clamp(54px, 6vw, 84px);
  }
  .sport-card.is-live p {
    font-size: 17px;
    max-width: 36ch;
  }
}

/* ---- kosárlabda app */

.split {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.pill-row li {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}
.split .cta-row {
  margin-top: 12px;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 96px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(var(--line-strong), var(--accent), var(--line-strong));
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  align-items: start;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 91px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-band);
  border: 2px solid var(--line-strong);
}
.tl-time {
  padding-top: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  text-align: right;
}
.tl-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform 0.3s var(--ease);
}
.timeline li:hover .tl-body {
  transform: translateX(6px);
}
.tl-body b {
  font-size: 17px;
  font-weight: 800;
}
.tl-body span {
  font-size: 14px;
  color: var(--text-2);
}
.tl-hot::before {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.tl-hot .tl-time {
  color: var(--accent);
  font-weight: 600;
}
.tl-hot .tl-body {
  background: var(--accent);
  color: var(--on-accent);
}
.tl-hot .tl-body b {
  font-size: 22px;
  font-weight: 900;
  font-stretch: 72%;
  font-style: italic;
  text-transform: uppercase;
}
.tl-hot .tl-body span {
  color: var(--brand-tinta);
  opacity: 0.8;
}
@media (max-width: 519px) {
  .timeline::before {
    left: 6px;
  }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 26px;
  }
  .timeline li::before {
    left: 1px;
    top: 4px;
  }
  .tl-time {
    padding: 0;
    text-align: left;
  }
}

.feature-grid {
  display: grid;
  gap: 12px;
  margin-top: 64px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1.5px solid transparent;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.feature:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.feature svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  margin-bottom: 6px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ease);
}
.feature:hover svg {
  transform: rotate(-10deg) scale(1.1);
}
.feature h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.feature p {
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---- játékrész demó */

.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  overflow-x: auto;
  border-radius: var(--r-md);
  background: var(--surface-2);
  scrollbar-width: none;
}
.seg::-webkit-scrollbar {
  display: none;
}
.seg button,
.seg label span {
  flex: 1 0 auto;
  display: block;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.seg button:hover,
.seg label span:hover {
  color: var(--text);
}
.seg button[aria-selected="true"] {
  background: var(--accent);
  color: var(--on-accent);
}
.period-demo {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-2xl);
  background: var(--surface);
}
@media (min-width: 768px) {
  .period-demo {
    padding: 24px;
  }
}
.period-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 4px 4px;
}
.period-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.period-score {
  margin-top: 6px;
  font-size: clamp(54px, 9vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.period-score em {
  font-style: normal;
  color: var(--text-2);
  padding: 0 0.08em;
}
.period-roles {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
}
.period-strip {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: 6px;
}
.period-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 6px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  text-align: center;
  animation: cell-in 0.45s var(--ease) both;
}
.period-cell small {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.period-cell b {
  font-size: clamp(14px, 2.2vw, 20px);
  font-weight: 600;
}
.period-cell.win {
  background: var(--accent);
  color: var(--on-accent);
}
.period-cell.win small {
  color: var(--brand-tinta);
}
@keyframes cell-in {
  from {
    opacity: 0;
    transform: translateY(12px) skewX(-8deg);
  }
}

.two-col {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.stack-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-2xl);
}
.stack-card h3 {
  font-size: 34px;
  line-height: 1;
  font-weight: 850;
  font-stretch: 72%;
  font-style: italic;
  text-transform: uppercase;
}
.stack-card-hot {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%);
}
.tick-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.tick-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  color: var(--text-3);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0601c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/* ---- lépések */

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }
  .step:nth-child(2) { margin-top: 32px; }
  .step:nth-child(3) { margin-top: 64px; }
  .step:nth-child(4) { margin-top: 96px; }
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.step-no {
  font-size: 72px;
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.step h3 {
  font-size: 30px;
  line-height: 1;
  font-weight: 850;
  font-stretch: 72%;
  font-style: italic;
  text-transform: uppercase;
}
.step p {
  font-size: 15px;
  color: var(--text-2);
}
.step::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.2s;
}
.step.in::after {
  transform: scaleX(1);
}

/* ---- igénylés */

.request {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) {
  .request {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
  }
  .request-copy {
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}
.request-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.whistle-big {
  position: relative;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin-top: 24px;
}
.whistle-big svg {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 110px;
  fill: var(--accent);
  transform: rotate(-12deg);
  animation: blow 2.4s ease-in-out infinite;
}
.whistle-big span {
  position: absolute;
  inset: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: wave 2.4s var(--ease) infinite;
}
.whistle-big span:nth-child(3) {
  animation-delay: 0.8s;
}
.whistle-big span:nth-child(4) {
  animation-delay: 1.6s;
}
@keyframes blow {
  0%,
  60%,
  100% {
    transform: rotate(-12deg);
  }
  66% {
    transform: rotate(-16deg) scale(1.06);
  }
  72% {
    transform: rotate(-9deg) scale(1.02);
  }
  78% {
    transform: rotate(-14deg) scale(1.05);
  }
}
@media (max-width: 1023px) {
  .whistle-big {
    display: none;
  }
}

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
}
@media (min-width: 768px) {
  .form {
    padding: 32px;
  }
}
.form-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 620px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.fld > span,
.fld legend {
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.fld legend {
  margin-bottom: 7px;
}
.field {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field::placeholder {
  color: var(--text-2);
}
.field.invalid {
  border-color: var(--danger);
}
textarea.field {
  resize: vertical;
  min-height: 110px;
}
select.field {
  appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%),
    linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.seg-sm {
  background: var(--bg);
}
.seg label {
  flex: 1;
  display: flex;
}
.seg label span {
  flex: 1;
}
.seg input,
.checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg input:checked + span {
  background: var(--accent);
  color: var(--on-accent);
}
.seg input:focus-visible + span,
.checks input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checks label {
  position: relative;
}
.checks span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.checks span::before {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
}
.checks span:hover {
  border-color: var(--text-2);
}
.checks input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}
.checks input:checked + span::before {
  content: "✓";
}
.checks input:active + span {
  transform: scale(0.95);
}
/* ---- "Próbáld ki" (demó) */

.btn svg.i-play {
  fill: currentColor;
  stroke: none;
  width: 16px;
  height: 16px;
}
.btn:hover svg.i-play {
  transform: scale(1.15);
}
.cta-sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.cta-sub a {
  font-weight: 700;
}

/* ---- adatkezelési tájékoztató (adatkezeles.html) */

.legal {
  padding: 56px 0 96px;
}
.legal .wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.legal h1 {
  margin-top: -6px;
}
.legal section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.legal h2 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-3);
}
.legal ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}
.legal li::marker {
  color: var(--accent);
}
.legal-back {
  margin-top: 8px;
}

/* Csapda mező: képernyőolvasó és látogató elől is rejtve (a robotok kitöltik). */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-3);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a {
  font-weight: 600;
}
.btn.is-loading svg {
  animation: spin 0.9s linear infinite;
}
.btn:disabled {
  cursor: progress;
  opacity: 0.8;
}
.done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-error {
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--danger) 14%, transparent);
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
}
.form-note {
  font-size: 13px;
  color: var(--text-2);
  text-align: center;
}
.form-done {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--success-bg);
  color: var(--success);
}
.form-done svg {
  flex: none;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-done b {
  font-size: 17px;
}
.form-done p {
  margin: 2px 0 10px;
  color: var(--text-3);
  font-size: 14px;
}
.draw path {
  stroke-dasharray: 30;
  animation: draw 0.5s ease-out both;
}
@keyframes draw {
  from {
    stroke-dashoffset: 30;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.form.flash {
  animation: flash 0.9s var(--ease);
}
@keyframes flash {
  0% {
    box-shadow: 0 0 0 0 var(--accent);
  }
  100% {
    box-shadow: 0 0 0 14px transparent;
  }
}

/* ---- GYIK */

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1.5px solid transparent;
  transition: border-color 0.25s;
}
.faq details[open] {
  border-color: var(--line-strong);
}
.faq summary {
  position: relative;
  display: block;
  padding: 20px 60px 20px 22px;
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0601c' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq details p {
  padding: 0 22px 22px;
  color: var(--text-2);
  font-size: 15.5px;
  max-width: 68ch;
}
.faq details[open] p {
  animation: rise 0.35s var(--ease);
}

/* ---- záró CTA */

.final {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--brand-labda);
  color: var(--brand-tinta);
  text-align: center;
}
.final-speed {
  position: absolute;
  inset: -50%;
  background: repeating-linear-gradient(-62deg, transparent 0 60px, rgba(18, 22, 31, 0.07) 60px 74px);
  animation: speed 5s linear infinite;
}
.final-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.final-title {
  font-size: clamp(64px, 15vw, 190px);
  line-height: 0.82;
  font-weight: 900;
  font-stretch: 65%;
  font-style: italic;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.final-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--brand-tinta);
}
.final p {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
}

/* ---- lábléc */

.site-footer {
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.footer-tag {
  flex: 1 1 260px;
  color: var(--text-2);
  font-size: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.footer-nav a {
  color: var(--text-3);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-copy {
  width: 100%;
  font-size: 12px;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- belépő animáció */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
/* A `translate` külön tulajdonság, így nem ütközik a kártyák hover `transform`-jával. */
.js .reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease), transform 0.3s var(--ease),
    border-color 0.3s, box-shadow 0.3s;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s;
}
.js .reveal.in {
  opacity: 1;
  translate: none;
}

@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;
  }
  .js .reveal {
    opacity: 1;
    translate: none;
  }
  .marquee-track {
    animation: none;
  }
}
