/* Balage Creative — brand system */
:root {
  --forest: #2a4f38;
  --forest-deep: #1c3728;
  --lime: #a2c367;
  --lime-bright: #b8d67a;
  --sage: #8caf9f;
  --sage-soft: #c5d9cf;
  --mist: #f3f6f2;
  --paper: #eef3ec;
  --ink: #1a2a22;
  --ink-soft: #3d5247;
  --muted: #6a7f73;
  --line: rgba(42, 79, 56, 0.14);
  --white: #ffffff;
  --danger: #9b3b3b;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(28, 55, 40, 0.12);
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-script: "Caveat", cursive;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(162, 195, 103, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(140, 175, 159, 0.22), transparent 55%),
    linear-gradient(180deg, #f7faf6 0%, var(--mist) 40%, #e8f0e6 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--forest); }
button, input, textarea, select { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; background: var(--forest); color: white;
  padding: 0.6rem 1rem; border-radius: 999px; z-index: 100; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 246, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 246, 0.94);
}
.site-header--standalone {
  background: rgba(12, 18, 16, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.site-header--standalone .brand--text {
  display: flex; align-items: baseline; gap: 0.65rem;
  color: #e8f0ea;
}
.site-header--standalone .brand--kk {
  display: flex; align-items: center; gap: 0.75rem;
  color: #e8f0ea;
}
.brand-logo-kk {
  height: 44px; width: auto; border-radius: 8px;
  background: #0b1524;
}
.site-header--standalone .brand-mark {
  font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--lime);
}
.site-header--standalone .brand-name {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
}
.site-footer--standalone {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 18, 16, 0.92);
  color: rgba(232, 240, 234, 0.7);
  padding: 1rem 0;
}
.page-standalone { background: #0c1210; color: #e8f0ea; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand-logo { width: clamp(120px, 18vw, 168px); height: auto; }
.site-nav {
  display: flex; align-items: center; gap: 0.35rem 1.35rem;
}
.site-nav a {
  text-decoration: none; font-weight: 560; font-size: 0.95rem;
  color: var(--ink-soft); position: relative; padding: 0.35rem 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--lime); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--forest-deep); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.nav-cart { display: inline-flex; align-items: center; gap: 0.4rem; }
.cart-badge {
  display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem;
  padding: 0 0.35rem; border-radius: 999px; background: var(--lime); color: var(--forest-deep);
  font-size: 0.72rem; font-weight: 700;
}
.cart-badge.is-empty { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--forest);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span:first-of-type { top: 17px; }
.nav-toggle span:last-of-type { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 0; border-radius: 999px; padding: 0.9rem 1.45rem;
  font-weight: 700; letter-spacing: 0.01em; cursor: pointer;
  text-decoration: none; transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn-primary {
  background: var(--lime); color: var(--forest-deep);
  box-shadow: 0 12px 30px rgba(162, 195, 103, 0.35);
}
.btn-primary:hover { background: var(--lime-bright); }
.btn-ghost {
  background: transparent; color: var(--forest);
  box-shadow: inset 0 0 0 1.5px rgba(42, 79, 56, 0.28);
}
.btn-ghost:hover { background: rgba(42, 79, 56, 0.06); }
.btn-dark {
  background: var(--forest); color: #f4faf5;
  box-shadow: 0 14px 32px rgba(28, 55, 40, 0.28);
}
.btn-dark:hover { background: var(--forest-deep); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero home — one composition */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  /* Mély tintás alap — nem a logó erdőzöldje, így a brand kiemelkedik */
  background:
    linear-gradient(180deg, rgba(10, 14, 12, 0.2) 0%, rgba(10, 14, 12, 0.62) 55%, rgba(8, 11, 10, 0.88) 100%),
    radial-gradient(ellipse 70% 55% at 78% 22%, rgba(162, 195, 103, 0.2), transparent 58%),
    radial-gradient(ellipse 42% 38% at 12% 78%, rgba(140, 175, 159, 0.16), transparent 52%),
    linear-gradient(145deg, #141b18 0%, #1c2621 42%, #0c100e 100%);
}
.hero-media::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0 1px, transparent 1.5px),
    radial-gradient(circle at 60% 70%, rgba(255,255,255,0.05) 0 1.5px, transparent 2px);
  background-size: 48px 48px, 72px 72px, 36px 36px;
  animation: drift 28s linear infinite;
  opacity: 0.7;
}
.hero-media::after {
  content: "";
  position: absolute;
  width: min(70vw, 640px); aspect-ratio: 1;
  right: -8%; top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162,195,103,0.28), transparent 68%);
  filter: blur(8px);
  animation: breathe 7s ease-in-out infinite;
}
.hero-content {
  position: relative; z-index: 1;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(3.5rem, 9vh, 5.5rem);
  color: #f4faf5;
  max-width: 34rem;
}
.hero-brand {
  width: clamp(220px, 42vw, 360px);
  margin-bottom: 1.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 20px;
  background: rgba(247, 250, 246, 0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 18px 48px rgba(0, 0, 0, 0.35);
  animation: rise 0.9s var(--ease) both;
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  animation: rise 0.9s 0.08s var(--ease) both;
}
.hero-lead {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: rgba(244, 250, 245, 0.88);
  max-width: 28rem;
  animation: rise 0.9s 0.16s var(--ease) both;
}
.hero .cta-row { animation: rise 0.9s 0.24s var(--ease) both; }
.hero .btn-ghost {
  color: #f4faf5;
  box-shadow: inset 0 0 0 1.5px rgba(244, 250, 245, 0.45);
}
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-48px, 24px, 0); }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}
.eyebrow {
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: var(--forest);
  margin: 0 0 0.25rem;
}
.section-head h2,
.page-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}
.section-head p,
.lede { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Game showcase — not card-cluster; editorial strip */
.game-strip {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background: var(--forest-deep);
  color: #f2f8f3;
  box-shadow: var(--shadow);
}
.game-strip-visual {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 1.25rem 1.5rem;
  background:
    radial-gradient(circle at 30% 40%, rgba(212,176,100,0.35), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(80,140,200,0.35), transparent 40%),
    linear-gradient(160deg, #0f2238 0%, #1a3a5c 45%, #0c1828 100%);
  position: relative;
}
.game-strip-logo {
  width: 100%;
  max-height: 360px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.game-strip-body { padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; align-content: center; gap: 0.85rem; }
.game-strip-body .meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem;
  color: rgba(242,248,243,0.72); font-size: 0.92rem;
}
.game-strip-body h3 {
  margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.game-strip-body p { margin: 0; color: rgba(242,248,243,0.86); }

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.feature-list article {
  padding: 0.25rem 0;
  border-top: 1.5px solid var(--line);
}
.feature-list h3 {
  margin: 0.9rem 0 0.4rem;
  font-size: 1.05rem;
  color: var(--forest-deep);
}
.feature-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Page heroes (inner) */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 1rem;
}
.page-hero .brand-mark {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--sage);
  margin: 0 0 0.3rem;
}

/* Games list — compact rows */
.game-list {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
}
.game-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 0.95rem;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s;
}
.game-row:hover {
  border-color: rgba(42, 79, 56, 0.28);
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(3px);
  color: inherit;
}
.game-row-thumb {
  width: 64px;
  height: 84px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 40% 40%, rgba(212,176,100,0.4), transparent 50%),
    linear-gradient(145deg, #12263a, #1f4568);
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 16px rgba(12, 24, 40, 0.18);
}
.game-row-thumb.is-logo {
  width: 72px;
  height: 72px;
  background-color: #0b1524;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
}
.game-row-body { display: grid; gap: 0.2rem; min-width: 0; }
.game-row-body .status {
  display: inline-block; width: fit-content;
  font-size: 0.7rem; font-weight: 700;
  color: var(--forest); background: rgba(162,195,103,0.25);
  padding: 0.15rem 0.45rem; border-radius: 999px;
}
.game-row-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--forest-deep);
  line-height: 1.2;
}
.game-row-meta {
  font-size: 0.86rem;
  color: var(--muted);
}
.game-row-go {
  color: var(--sage);
  font-size: 1.15rem;
  transition: transform 0.25s var(--ease), color 0.25s;
}
.game-row:hover .game-row-go {
  color: var(--forest);
  transform: translateX(3px);
}

.playtest-list .game-row-desc {
  margin-top: 0.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.playtest-list .game-row.is-joinable {
  cursor: pointer;
  border-color: rgba(162, 195, 103, 0.55);
  box-shadow: 0 10px 28px rgba(162, 195, 103, 0.16);
}
.playtest-list .game-row.is-joinable:hover {
  border-color: rgba(42, 79, 56, 0.4);
  box-shadow: 0 14px 32px rgba(162, 195, 103, 0.28);
}
.playtest-list .game-row-cta {
  margin-top: 0.55rem;
  justify-self: start;
  padding: 0.62rem 1.15rem;
  font-size: 0.92rem;
  pointer-events: none;
  animation: game-row-cta-pulse 1.8s var(--ease) infinite;
}
.playtest-list .game-row.is-joinable:hover .game-row-cta {
  animation: none;
  background: var(--lime-bright);
}
@keyframes game-row-cta-pulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(162, 195, 103, 0.35); transform: none; }
  50% { box-shadow: 0 14px 34px rgba(162, 195, 103, 0.55); transform: scale(1.03); }
}
.game-row.is-disabled {
  cursor: default;
  opacity: 0.72;
}
.game-row.is-disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
}
.game-row-body .status--active {
  color: var(--forest);
  background: rgba(162, 195, 103, 0.25);
}
.game-row-body .status--soon {
  color: #6b5520;
  background: rgba(212, 176, 100, 0.28);
}
.game-row-body .status--closed {
  color: #5a4a4a;
  background: rgba(120, 120, 120, 0.18);
}
.game-row-go.is-muted {
  color: var(--muted);
  opacity: 0.5;
}

/* Game landing */
.game-hero {
  position: relative;
  color: #f5f0e6;
  overflow: hidden;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.game-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,16,28,0.35), rgba(8,16,28,0.88)),
    radial-gradient(ellipse at 70% 20%, rgba(212,176,100,0.28), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(70,130,190,0.25), transparent 45%),
    linear-gradient(150deg, #0b1524, #1a3a5c 50%, #0a1220);
}
.game-hero.has-photo {
  min-height: 0;
  padding-bottom: 0;
}
.game-hero-bg.has-cover {
  background:
    linear-gradient(100deg, rgba(6,12,22,0.82) 0%, rgba(6,12,22,0.55) 36%, rgba(6,12,22,0.22) 62%, rgba(6,12,22,0.38) 100%),
    var(--cover) center 32% / cover no-repeat;
}
.game-hero-bg.has-cover::before {
  display: none;
}
.game-hero-layout.is-solo {
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 0;
  padding-top: clamp(1.35rem, 3.5vh, 2.25rem);
  padding-bottom: clamp(1.25rem, 3vh, 2rem);
}
.game-hero .btn-ghost {
  color: #f8f1dc;
  background: rgba(8, 16, 28, 0.55);
  box-shadow: inset 0 0 0 1.5px #e8d5a3;
}
.game-hero .btn-ghost:hover {
  background: rgba(232, 213, 163, 0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px #f5e6b8;
}
.page-game .game-hero + .section {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}
.game-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 80px 90px, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.2px 1.2px at 140px 40px, rgba(255,255,255,0.3), transparent);
  background-size: 180px 160px;
  animation: drift 40s linear infinite;
  opacity: 0.4;
}
.game-hero-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  padding-top: clamp(2.5rem, 8vh, 4.5rem);
}
.game-hero-content { max-width: 36rem; }
.game-hero .status {
  display: inline-block; margin-bottom: 0.75rem;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  background: rgba(212,176,100,0.18); color: #d4b064;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
}
.game-hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.05;
  color: #e8d5a3;
}
.game-hero-tagline {
  margin: 0 0 1rem;
  color: rgba(245,240,230,0.92);
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 500;
}
.game-hero-blurb {
  margin: 0 0 1.35rem;
  color: rgba(245,240,230,0.8);
  font-size: 1rem;
  max-width: 34rem;
}
.game-meta-row {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.15rem;
  margin-bottom: 1.1rem; font-size: 0.92rem; color: rgba(245,240,230,0.7);
}
.game-hero-art {
  margin: 0;
  justify-self: end;
  width: min(100%, 340px);
}
.game-hero-art.is-wide {
  width: min(100%, 480px);
}
.game-hero-art img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
}
.game-hero-art.is-wide img {
  background: #0b1524;
}
.story-block { max-width: 42rem; }
.story-block p { font-size: 1.08rem; color: var(--ink-soft); }
.section-soft {
  background: rgba(255,255,255,0.35);
  border-block: 1px solid var(--line);
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 2rem;
}
.feature-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
}
.feature-card img {
  width: 72px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(12,24,40,0.16);
}
.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: var(--forest-deep);
}
.feature-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.rules-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.turn-panel {
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: #132538;
  color: #f5f0e6;
}
.turn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.turn-list-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #d4b064;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(212,176,100,0.25);
}
.turn-list > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}
.turn-num {
  width: 1.7rem; height: 1.7rem;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(212,176,100,0.18);
  color: #d4b064;
  font-weight: 700;
  font-size: 0.85rem;
}
.turn-list p { margin: 0; font-size: 0.95rem; color: rgba(245,240,230,0.88); line-height: 1.45; }
.card-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.85rem 0.7rem;
}
.card-thumb {
  margin: 0;
  text-align: center;
}
.card-thumb img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(12,24,40,0.18);
  transition: transform 0.3s var(--ease);
}
.card-thumb:hover img { transform: translateY(-4px) rotate(-1deg); }
.card-thumb figcaption {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.mockup-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}
.mockup-band img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: #0b1524;
}

/* Shop */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.product {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid; gap: 0.75rem;
  align-content: start;
}
.product-media {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 40%, rgba(162,195,103,0.35), transparent 55%),
    linear-gradient(160deg, #2a4f38, #1c3728);
}
.product-cover {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
}
.product-cover--logo {
  aspect-ratio: 3/2;
  object-fit: contain;
  background: #0b1524;
}
.product-media.cosmos {
  background:
    radial-gradient(circle at 40% 40%, rgba(212,176,100,0.4), transparent 50%),
    linear-gradient(145deg, #12263a, #1f4568);
}
.product h2 { margin: 0; font-size: 1.2rem; font-family: var(--font-display); }
.product .price {
  font-weight: 800; font-size: 1.25rem; color: var(--forest-deep);
}
.badge {
  display: inline-block; width: fit-content;
  font-size: 0.75rem; font-weight: 700;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  background: rgba(162,195,103,0.28); color: var(--forest-deep);
}
.product form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.25rem; }
.qty-input {
  width: 4.2rem; padding: 0.65rem 0.6rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: white; text-align: center;
}

/* Cart / checkout */
.flash {
  padding: 0.85rem 1rem; border-radius: 12px; margin-bottom: 1.25rem;
  background: rgba(162,195,103,0.22); color: var(--forest-deep); font-weight: 600;
}
.flash-error { background: rgba(155,59,59,0.12); color: var(--danger); }
.cart-table, .order-summary {
  width: 100%; border-collapse: collapse;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.cart-table th, .cart-table td,
.order-summary th, .order-summary td {
  padding: 0.95rem 1rem; text-align: left; border-bottom: 1px solid var(--line);
}
.cart-table th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.cart-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1.25rem; padding-top: 1rem;
  font-size: 1.2rem; font-weight: 800; color: var(--forest-deep);
}
.empty-state {
  padding: 2.5rem 0; color: var(--muted);
}
.form-grid {
  display: grid; gap: 1rem;
  max-width: 32rem;
}
.form-grid label { display: grid; gap: 0.35rem; font-weight: 600; color: var(--ink-soft); font-size: 0.92rem; }
.form-grid input, .form-grid textarea {
  padding: 0.8rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: white;
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: 2px solid rgba(162,195,103,0.55); border-color: var(--lime);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

/* About */
.about-prose {
  max-width: 40rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}
.about-prose p { margin: 0 0 1rem; }
.about-kk {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.about-kk-logo {
  width: 120px;
  height: auto;
  border-radius: 10px;
  background: #0b1524;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(42,79,56,0.06));
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer-logo { width: 130px; margin-bottom: 0.75rem; opacity: 0.95; }
.footer-brand p { margin: 0; color: var(--muted); max-width: 18rem; }
.footer-heading {
  margin: 0 0 0.75rem; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--forest);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.footer-links a:hover { color: var(--forest-deep); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.9rem;
}

/* Legal */
.legal-prose { max-width: 42rem; }
.legal-prose h2 { font-family: var(--font-display); margin: 1.75rem 0 0.6rem; font-size: 1.35rem; }
.legal-prose h3 { margin: 1.1rem 0 0.4rem; font-size: 1.05rem; }
.legal-prose p, .legal-prose li { color: var(--ink-soft); line-height: 1.65; }
.legal-prose ul { margin: 0.4rem 0 0.8rem 1.15rem; list-style: disc; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1rem 0 1.5rem; }
.legal-table th, .legal-table td { text-align: left; padding: 0.65rem 0.7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.legal-accept { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Consent banner */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(12, 18, 16, 0.96);
  color: #f4faf5;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.28);
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
}
.consent-banner.hidden { display: none; }
.consent-inner { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .consent-inner { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.consent-title { margin: 0 0 0.35rem; font-weight: 700; }
.consent-text { margin: 0; font-size: 0.92rem; color: rgba(244,250,245,0.82); }
.consent-actions { display: grid; gap: 0.55rem; }
.consent-check, .catalog-check {
  display: flex; gap: 0.55rem; align-items: flex-start;
  font-size: 0.9rem; line-height: 1.4;
}
.consent-check a, .catalog-check a { color: var(--lime); }
.consent-banner .btn { justify-self: start; }

/* Shop catalog (no cart) */
.page-shop .page-hero { padding: 1.5rem 0 0.35rem; }
.page-shop .page-hero .lede { margin-bottom: 0; max-width: 36rem; }
.page-shop .section { padding: 0.75rem 0 2.25rem; }
.catalog-product {
  display: grid; gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: 0 12px 28px rgba(28, 55, 40, 0.07);
}
@media (min-width: 800px) {
  .catalog-product { grid-template-columns: 200px 1fr; align-items: start; gap: 1.25rem; }
}
.catalog-cover {
  width: 100%; border-radius: 12px; background: #0b1524;
  aspect-ratio: 3/2; object-fit: cover;
}
.catalog-body h2 { margin: 0.3rem 0 0.4rem; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
.catalog-body p { margin: 0 0 0.65rem; }
.catalog-lead {
  margin: 0.7rem 0 0.55rem;
  font-size: 1rem; font-weight: 650; color: var(--forest-deep);
}
.catalog-news {
  display: grid; gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(162, 195, 103, 0.12);
}
.catalog-news input[type="email"] {
  width: 100%; padding: 0.7rem 0.95rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
}
.catalog-try {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  text-align: center;
}
.catalog-msg { margin: 0; font-size: 0.92rem; }
.catalog-msg.is-ok { color: var(--forest-deep); }
.catalog-msg.is-err { color: var(--danger); }
.shop-modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8, 12, 10, 0.62);
  display: grid; place-items: center; padding: 1rem;
}
.shop-modal.hidden { display: none; }
.shop-modal-card {
  position: relative;
  width: min(100%, 32rem);
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.shop-modal-close {
  position: absolute; top: 0.6rem; right: 0.75rem;
  border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted);
}
.shop-modal-form { display: grid; gap: 0.55rem; }
.shop-modal-form label { font-weight: 650; font-size: 0.92rem; }
.shop-modal-form input {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  border: 1.5px solid var(--line);
}
.shop-code-input { text-align: center; letter-spacing: 0.35em; text-transform: uppercase; font-weight: 800; font-size: 1.2rem; }
.shop-pin-input { text-transform: none; }
.shop-modal-hr { border: 0; border-top: 1px solid var(--line); margin: 1.15rem 0; }
.shop-done-actions { display: grid; gap: 0.5rem; }
.shop-fineprint { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* Responsive */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(247,250,246,0.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0.2rem; }
  .game-strip { grid-template-columns: 1fr; }
  .game-strip-visual { min-height: 220px; }
  .feature-list,
  .feature-cards,
  .game-hero-layout,
  .rules-layout,
  .mockup-band,
  .checkout-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .game-hero-layout.is-solo { padding-top: 1.25rem; padding-bottom: 1.15rem; }
  .game-hero-bg.has-cover {
    background:
      linear-gradient(180deg, rgba(6,12,22,0.78) 0%, rgba(6,12,22,0.48) 45%, rgba(6,12,22,0.72) 100%),
      var(--cover) center 28% / cover no-repeat;
  }
  .game-hero-art { justify-self: start; width: min(100%, 260px); order: -1; }
  .game-hero-art.is-wide { width: min(100%, 100%); }
  .game-row { grid-template-columns: 56px 1fr auto; gap: 0.75rem; }
  .game-row-thumb { width: 56px; height: 74px; }
  .game-row-thumb.is-logo { width: 56px; height: 56px; }
  .about-kk { flex-direction: column; }
  .about-kk-logo { width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Káosz Kozmosz ranglista (playtestek + webshop) */
.shop-kk {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 900px) {
  .shop-kk { grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .9fr); align-items: start; }
}
.playtest-rank { margin-top: .35rem; }
.kk-rankboard {
  display: grid;
  gap: .7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: 0 12px 28px rgba(28, 55, 40, 0.07);
}
.kk-rankboard-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest-deep);
}
.kk-tried-counter {
  margin: 0;
  padding: .7rem .85rem;
  border-radius: 12px;
  background: rgba(162, 195, 103, 0.22);
  color: var(--forest-deep);
  font-size: 1.05rem;
  line-height: 1.45;
}
.kk-tried-counter strong {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kk-rankboard-podium,
.kk-rankboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}
.kk-rankboard-list { max-height: 16rem; overflow: auto; }
.kk-rankboard-podium li,
.kk-rankboard-list li {
  display: grid;
  grid-template-columns: 2.1rem 1fr auto;
  align-items: baseline;
  gap: .5rem;
  padding: .4rem .55rem;
  border-radius: 10px;
  background: rgba(42, 79, 56, 0.05);
}
.kk-rankboard-podium .is-gold { background: rgba(212, 176, 100, 0.28); }
.kk-rankboard-podium .is-silver { background: rgba(148, 163, 184, 0.22); }
.kk-rankboard-podium .is-bronze { background: rgba(180, 83, 9, 0.16); }
.kk-rankboard-place { font-weight: 800; }
.kk-rankboard-name { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kk-rankboard-pts { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9em; }
.kk-rankboard-empty { margin: 0; color: var(--muted); font-size: .92rem; }
.kk-rankboard-full,
.kk-rankboard-how {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .15rem .8rem .55rem;
  background: rgba(244, 250, 245, 0.7);
}
.kk-rankboard-full summary,
.kk-rankboard-how summary {
  cursor: pointer;
  font-weight: 700;
  padding: .5rem 0;
  color: var(--forest-deep);
}
.kk-rankboard-how p { margin: .3rem 0; font-size: .9rem; }
.kk-rankboard-how table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: .35rem 0; }
.kk-rankboard-how th,
.kk-rankboard-how td {
  text-align: left;
  padding: .22rem .3rem;
  border-bottom: 1px solid var(--line);
}
.kk-rankboard-how ul { margin: .2rem 0 0; padding-left: 1.15rem; font-size: .86rem; color: var(--muted); line-height: 1.45; }
