/* ~ betűtípus ~ */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../assets/fonts/Geist-400-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: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../assets/fonts/Geist-400-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: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../assets/fonts/Geist-500-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: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../../assets/fonts/Geist-500-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: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../assets/fonts/Geist-700-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: 'Geist';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../assets/fonts/Geist-700-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;
}

/* ~ jelzők ~ */
:root {
  --ember: #f53900;
  --ember-ink: #d13000;
  --ember-deep: #a82700;
  --peach: #ffe0d6;
  --paper-tone: #fffafa;
  --paper-band: #f6f0ee;
  --ink: #040101;
  --fog: #6c6767;
  --smoke: #4d4b4b;
  --hairline: #e5e5e5;
  --stack: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --cut: 12px;
  --cut-sm: 8px;
  --lift-shadow: rgba(0, 0, 0, 0.05) 0 1px 2px 0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper-tone);
  color: var(--ink);
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

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

a { color: var(--ember-ink); }

a:hover { color: var(--ember-deep); }

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

.gv-base {
  width: 100%;
  max-width: var(--stack);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.gv-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--paper-tone);
  padding: 14px 20px;
  font-weight: 500;
}

.gv-skip:focus {
  left: 12px;
  top: 12px;
  color: var(--paper-tone);
}

.gv-rays { position: relative; overflow: hidden; }

.gv-rays::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 200vw;
  height: 190%;
  transform: translateX(-50%);
  background: repeating-conic-gradient(from -96deg at 50% 100%, var(--peach) 0deg 0.32deg, transparent 0.32deg 4.6deg);
  pointer-events: none;
  z-index: 0;
}

.gv-rays > * { position: relative; z-index: 1; }

.gv-eyebrow {
  display: inline-block;
  background: var(--peach);
  color: var(--ember-deep);
  font-size: clamp(11px, 2.6vw, 13px);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 9px 18px;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}

.gv-motion .gv-rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.gv-motion .gv-rise.is-shown { opacity: 1; transform: none; }

/* ~ fejléc ~ */
.gv-crown {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper-tone);
  transition: box-shadow 200ms ease;
}

.gv-crown.is-stuck { box-shadow: var(--lift-shadow); }

.gv-crown__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.gv-crown__mark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 0;
}

.gv-crown__mark em { font-style: normal; color: var(--ember-ink); }

.gv-crown__toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.gv-crown__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.gv-crown__list a:not(.gv-act) {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.gv-crown__list a:not(.gv-act):hover {
  color: var(--ember-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* A 900 px-es határ ott van, ahol a navigáció és a kétoszlopos játéksor még egyszerre elfér. */
@media (max-width: 900px) {
  .gv-crown__toggle { display: inline-flex; }
  .gv-crown__nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper-tone);
    box-shadow: rgba(0, 0, 0, 0.08) 0 8px 24px 0;
    padding: 12px var(--gutter) 24px;
    display: none;
  }
  .gv-crown__nav.is-open { display: block; }
  .gv-crown__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .gv-crown__list a:not(.gv-act) { padding: 0 4px; }
  .gv-crown__list li:last-child { margin-top: 10px; }
  .gv-crown__list .gv-act { width: 100%; }
}

/* ~ lábléc ~ */
.gv-foot {
  background: var(--paper-band);
  padding-block: 72px 36px;
  margin-top: 24px;
}

.gv-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.gv-foot__mark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.gv-foot__mark em { font-style: normal; color: var(--ember-ink); }

.gv-foot__blurb { margin-top: 14px; color: var(--smoke); max-width: 26em; }

.gv-foot h2, .gv-foot h3 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fog); font-weight: 500; }

.gv-foot__list { list-style: none; margin-top: 10px; }

.gv-foot__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.gv-foot__list a:hover { color: var(--ember-ink); text-decoration: underline; text-underline-offset: 5px; }

.gv-contact { margin-top: 56px; background: var(--paper-tone); padding: 36px clamp(20px, 4vw, 44px); border-radius: 12px; }

.gv-contact p { margin-top: 12px; color: var(--smoke); max-width: 42em; }

.gv-contact__mail {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: var(--ember-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ember);
  padding-bottom: 4px;
}

.gv-contact__mail:hover { color: var(--ink); border-bottom-color: var(--ink); }

.gv-foot__base { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--smoke); font-size: 14px; }

.gv-foot__base a { color: var(--smoke); }

@media (max-width: 860px) {
  .gv-foot__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ~ gombok és sáv ~ */
.gv-act {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease;
}

.gv-act::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color 160ms ease;
}

.gv-act--solid { color: var(--paper-tone); }
.gv-act--solid::before { background: var(--ember-ink); }
.gv-act--solid:hover { color: var(--paper-tone); transform: translateY(-2px); }
.gv-act--solid:hover::before { background: var(--ink); }
.gv-act--solid:active { transform: translateY(0); }

.gv-act--outline { color: var(--ember-ink); }
.gv-act--outline::before { background: var(--ember); }
.gv-act--outline::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  background: var(--paper-tone);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color 160ms ease;
}
.gv-act--outline:hover { color: var(--ember-deep); transform: translateY(-2px); }
.gv-act--outline:hover::after { background: var(--peach); }
.gv-act--outline:active { transform: translateY(0); }

.gv-act--small { min-height: 48px; padding: 12px 20px; font-size: 15px; --cut: 9px; }

.gv-lift {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 35;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease, transform 160ms ease;
}

.gv-lift.is-shown { opacity: 1; visibility: visible; }

.gv-notice {
  position: fixed;
  left: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 50;
  width: min(600px, calc(100% - 24px));
  background: var(--paper-tone);
  box-shadow: rgba(0, 0, 0, 0.12) 0 10px 34px 0;
  border-radius: 12px;
  padding: 22px 24px;
}

.gv-notice[hidden] { display: none; }

.gv-notice__text { font-size: 14px; color: var(--smoke); line-height: 1.55; }

.gv-notice__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }

.gv-notice__link { font-size: 14px; font-weight: 500; }

/* ~ nyitólap: bevezető ~ */
.gv-lede { padding-block: clamp(56px, 9vw, 104px) clamp(64px, 10vw, 112px); }

.gv-lede__title {
  margin-top: 26px;
  font-size: clamp(28px, 7.6vw, 64px);
  line-height: 1.04;
  overflow-wrap: break-word;
  max-width: 15em;
}

.gv-lede__title span { display: block; }

.gv-lede__title .gv-lede__glow { color: var(--ember); }

.gv-lede__text { margin-top: 26px; font-size: clamp(17px, 2vw, 19px); line-height: 1.55; color: var(--smoke); max-width: 40em; }

.gv-lede__text + .gv-lede__text { margin-top: 16px; font-size: 16px; color: var(--fog); max-width: 44em; }

.gv-lede__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ~ nyitólap: összehasonlító táblázat ~ */
.gv-matrix { background: var(--paper-band); padding-block: clamp(52px, 7vw, 76px); }

.gv-matrix__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px; }

.gv-matrix__head h2 { font-size: clamp(24px, 4vw, 40px); max-width: 16em; overflow-wrap: break-word; }

.gv-matrix__hint { font-size: 14px; color: var(--fog); }

.gv-matrix__scroll { margin-top: 30px; overflow-x: auto; background: var(--paper-tone); border-radius: 12px; }

.gv-matrix__scroll:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.gv-matrix table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }

.gv-matrix caption { text-align: left; padding: 22px 14px 6px; color: var(--fog); font-size: 14px; line-height: 1.5; }

.gv-matrix thead th {
  text-align: left;
  vertical-align: bottom;
  padding: 16px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ember-deep);
  border-bottom: 1px solid var(--hairline);
}

.gv-matrix thead th:last-child { text-align: right; }

.gv-matrix tbody th, .gv-matrix tbody td { padding: 15px 14px; vertical-align: top; }

.gv-matrix tbody th { text-align: left; font-weight: 600; font-size: 16px; min-width: 9em; }

.gv-matrix tbody tr:nth-child(odd) { background: var(--paper-band); }

.gv-matrix td:last-child { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

.gv-matrix__note { margin-top: 22px; color: var(--smoke); max-width: 52em; line-height: 1.6; }

/* ~ nyitólap: játéksorok ~ */
.gv-rowset { padding-block: clamp(60px, 9vw, 96px); }

.gv-rowset__lead { max-width: 34em; }

.gv-rowset__lead h2 { font-size: clamp(24px, 4vw, 40px); }

.gv-rowset__lead p { margin-top: 16px; color: var(--smoke); }

.gv-rowset__flow { margin-top: 56px; display: flex; flex-direction: column; gap: clamp(56px, 8vw, 88px); }

.gv-slab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 60px); align-items: center; }

.gv-slab--flip .gv-slab__shots { order: 2; }

.gv-slab__shots { display: flex; gap: 14px; }

/* A width/height attribútumból jövő arányt nem írjuk felül: így a lusta töltés nem rántja el a sort. */
.gv-slab__shots img {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--paper-band);
}

.gv-slab__shots--one { justify-content: flex-start; }
.gv-slab__shots--one img { flex: 0 1 62%; width: 62%; }
.gv-slab--flip .gv-slab__shots--one { justify-content: flex-end; }

.gv-slab__head { display: flex; align-items: center; gap: 16px; }

.gv-slab__mark { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--hairline); flex: none; }

.gv-slab__name { font-size: clamp(20px, 2.8vw, 29px); overflow-wrap: break-word; }

.gv-slab__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.gv-chip {
  display: inline-block;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 500;
  background: var(--peach);
  color: var(--ember-deep);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}

.gv-chip--plain { background: var(--paper-band); color: var(--smoke); }

.gv-slab__text { margin-top: 20px; color: var(--smoke); line-height: 1.62; max-width: 38em; }

.gv-slab__text + .gv-slab__text { margin-top: 14px; }

.gv-slab__facts { list-style: none; margin-top: 20px; display: grid; gap: 8px; }

.gv-slab__facts li { position: relative; padding-left: 26px; color: var(--smoke); }

.gv-slab__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--ember);
}

@media (max-width: 900px) {
  .gv-slab { grid-template-columns: 1fr; gap: 26px; }
  .gv-slab--flip .gv-slab__shots { order: 0; }
  .gv-slab__shots--one img { flex: 0 1 74%; width: 74%; }
}

/* ~ nyitólap: kérdések ~ */
.gv-answers { padding-block: clamp(56px, 8vw, 88px) clamp(64px, 9vw, 104px); }

.gv-answers__head { max-width: 30em; }

.gv-answers__head h2 { font-size: clamp(24px, 4vw, 40px); overflow-wrap: break-word; }

.gv-answers__head p { margin-top: 14px; color: var(--smoke); }

.gv-answers__list { margin-top: 34px; }

.gv-answers__item { border-bottom: 1px solid var(--hairline); }

.gv-answers__item:first-child { border-top: 1px solid var(--hairline); }

.gv-answers__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 22px 4px;
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.gv-answers__item summary::-webkit-details-marker { display: none; }

.gv-answers__item summary:hover { color: var(--ember-ink); }

.gv-answers__sign { flex: none; width: 22px; height: 22px; color: var(--ember-ink); transition: transform 200ms ease; }

.gv-answers__item[open] .gv-answers__sign { transform: rotate(180deg); }

.gv-answers__item p { padding: 0 4px 26px; color: var(--smoke); line-height: 1.62; max-width: 46em; }

/* ~ jogi oldalak ~ */
.gv-doc { padding-block: clamp(44px, 6vw, 72px) clamp(56px, 8vw, 88px); }

.gv-doc__crumb { font-size: 14px; color: var(--fog); }

.gv-doc__crumb a { color: var(--ember-ink); }

.gv-doc h1 { margin-top: 18px; font-size: clamp(30px, 5.4vw, 46px); max-width: 17em; }

.gv-doc__meta { margin-top: 16px; font-size: 14px; color: var(--fog); }

.gv-doc__intro { margin-top: 22px; font-size: 17px; line-height: 1.62; color: var(--smoke); max-width: 44em; }

.gv-doc__body { margin-top: 40px; max-width: 46em; }

.gv-doc__body h2 { font-size: clamp(20px, 2.4vw, 24px); margin-top: 42px; }

.gv-doc__body h3 { font-size: 17px; margin-top: 26px; }

.gv-doc__body p { margin-top: 14px; line-height: 1.68; color: var(--smoke); }

.gv-doc__body ul, .gv-doc__body ol { margin-top: 14px; padding-left: 22px; color: var(--smoke); line-height: 1.68; }

.gv-doc__body li { margin-top: 8px; }

.gv-doc__body li::marker { color: var(--ember-ink); }

.gv-doc__card { margin-top: 20px; background: var(--paper-band); border-radius: 12px; padding: 24px 26px; }

.gv-doc__card p { margin-top: 8px; color: var(--ink); }

.gv-doc__card p:first-child { margin-top: 0; }

.gv-doc__scroll { margin-top: 20px; overflow-x: auto; }

.gv-doc__scroll:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.gv-doc table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }

.gv-doc caption { text-align: left; padding-bottom: 10px; font-size: 14px; color: var(--fog); }

.gv-doc thead th {
  text-align: left;
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ember-deep);
  border-bottom: 1px solid var(--hairline);
}

.gv-doc tbody th, .gv-doc tbody td { padding: 14px 16px; vertical-align: top; text-align: left; color: var(--smoke); }

.gv-doc tbody th { font-weight: 600; color: var(--ink); }

.gv-doc tbody tr:nth-child(odd) { background: var(--paper-band); }

.gv-doc__back { margin-top: 44px; }

/* ~ 404 ~ */
.gv-gone { padding-block: clamp(72px, 12vw, 136px); text-align: center; }

.gv-gone__code { font-size: clamp(56px, 12vw, 104px); line-height: 1; color: var(--ember); }

.gv-gone h1 { margin-top: 18px; font-size: clamp(26px, 4.4vw, 38px); }

.gv-gone p { margin-top: 18px; color: var(--smoke); max-width: 34em; margin-inline: auto; }

.gv-gone__acts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gv-motion .gv-rise { opacity: 1; transform: none; transition: none; }
  .gv-act, .gv-answers__sign, .gv-lift { transition: none; }
}
