/* Brionis — premium burgundy + gold */
:root {
  --bg: #1a0a0e;
  --bg-2: #13070a;
  --surface: #2a1118;
  --surface-2: #34151d;
  --line: rgba(224, 184, 115, .18);
  --text: #fbf3e4;
  --text-2: #cdb9a8;
  --gold: #e0b873;
  --gold-2: #c99a4e;
  --gold-ink: #2a1208;
  --red: #bd1733;
  --radius: 6px;
  --radius-sm: 4px;
  --wrap: 1120px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
}
html[lang="el-GR"] { --font-head: "Noto Serif Display", Georgia, serif; }
html[lang="hu-HU"] .nav { gap: 10px; }
html[lang="hu-HU"] .header-cta { gap: 6px; }
html[lang="hu-HU"] .header-cta .btn { padding: 0 14px; font: 700 14px/1 var(--font-body); }

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.75 var(--font-body); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #f3d9a2; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 1.2em 0 .55em; color: var(--text); }
h1 { font-weight: 700; font-size: clamp(32px, 5vw, 52px); margin-top: 0; }
h2 { font-weight: 700; font-size: clamp(22px, 3.2vw, 32px); }
h3 { font-weight: 700; font-size: 19px; }
p, li { color: var(--text-2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  font: 700 15px/1 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: var(--gold-ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 10px 24px rgba(0, 0, 0, .35);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-ghost:hover { background: rgba(224, 184, 115, .08); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }
:root { --header-h: 72px; }

.nav { display: flex; gap: 14px; flex-wrap: nowrap; flex: 1; min-width: 0; overflow: hidden; }
.nav a {
  color: var(--text-2);
  text-decoration: none;
  font: 500 15px/1 var(--font-body);
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.header-cta { display: flex; gap: 10px; flex-shrink: 0; }
.header-cta .btn { padding: 0 18px; }
.burger {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
  min-height: 40px;
  padding: 0 12px;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nav { gap: 14px; }
  .nav a { font: 500 14px/1 var(--font-body); }
}

@media (min-width: 1360px) and (max-width: 1536px) {
  .nav { gap: 14px; }
  .nav a { font: 500 14px/1 var(--font-body); }
}

@media (max-width: 1359px) {
  .site-header .wrap { gap: 12px; min-height: 66px; }
  :root { --header-h: 66px; }
  .header-cta .btn { padding: 0 18px; min-height: 42px; }
  .header-cta .btn-ghost { display: none; }
  .burger { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-2);
    padding: 12px 18px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  .logo img { height: 32px; }
}

.crumbs { font-size: 14px; color: var(--text-2); padding-top: 16px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--gold); }

.hero {
  position: relative;
  padding: 34px 0 18px;
  background:
    linear-gradient(90deg, rgba(26, 10, 14, .92) 0%, rgba(26, 10, 14, .82) 52%, rgba(26, 10, 14, .56) 100%),
    url(/assets/img/brand/hero-bg.webp) center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 184, 115, .55), transparent);
}
.hero::before { top: 10px; opacity: .6; }
.hero::after { bottom: 10px; opacity: .4; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font: 700 12px/1 var(--font-body);
  color: var(--gold);
  margin: 0 0 10px;
}
.hero-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}
.hero .lead { font-size: 18px; max-width: 760px; color: var(--text-2); }
.hero p { margin: 14px 0 0; }

.hero-grid { display: flex; flex-direction: column; gap: 12px; }
.hero-copy { max-width: 760px; }
.hero-media { display: flex; justify-content: center; order: -1; }
.hero-art { width: min(416px, 100%); height: auto; max-height: 220px; }
@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: center; }
  .hero-media { order: 0; justify-content: flex-end; }
  .hero-art { width: 416px; max-height: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art { animation: hero-float 6s ease-in-out infinite; }
}
@keyframes hero-float {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}

.stats { padding: 14px 0 0; }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
}
.stat-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 4vw, 36px); color: var(--gold); }
.stat-label { display: block; margin-top: 4px; font: 400 14px/1.35 var(--font-body); color: var(--text-2); }
@media (max-width: 720px) {
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.stat { transition: box-shadow .22s ease, transform .22s ease; }
.stat:hover {
  box-shadow:
    0 0 0 1px rgba(224, 184, 115, .12),
    0 14px 40px rgba(224, 184, 115, .10);
}

.games { padding: 26px 0 10px; border-top: 1px solid var(--line); }
.games h2 { margin-top: 0; }
.games h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
}
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-decoration: none;
  color: var(--text);
}
.game-card img { width: 100%; height: auto; max-width: 200px; border-radius: var(--radius-sm); transition: transform .25s ease; }
.game-card span { font: 600 14px/1.2 var(--font-body); color: var(--text-2); text-align: center; }
.game-card:hover { border-color: rgba(224, 184, 115, .55); }
.game-card:hover img { transform: scale(1.04); }

.page-grid { padding: 22px 0 0; border-top: 1px solid var(--line); }
.page-grid > .wrap { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 22px; align-items: start; }
.page-main > section { padding: 18px 0; border-bottom: 1px solid rgba(224, 184, 115, .10); }
.page-main > section:last-child { border-bottom: 0; }
.page-side {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  max-height: calc(100vh - var(--header-h) - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (max-width: 1099px) {
  .page-grid > .wrap { display: block; }
  .page-side { display: none; }
}
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}
.side-card:last-child { margin-bottom: 0; }
.side-toc { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.side-title { margin: 0 0 10px; font: 700 14px/1.2 var(--font-body); color: var(--text); }
.toc-list { margin: 0; padding-left: 18px; overflow: auto; flex: 1; min-height: 0; }
.toc-list li { margin: 8px 0; color: var(--text-2); }
.toc-list a { color: var(--text-2); text-decoration: none; }
.toc-list a:hover { color: var(--gold); text-decoration: underline; }
.side-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.side-stat { border: 1px solid rgba(224, 184, 115, .12); border-radius: var(--radius-sm); padding: 10px; background: rgba(0, 0, 0, .12); }
.side-stat-value { display: block; font-family: var(--font-head); font-weight: 700; color: var(--gold); line-height: 1.1; }
.side-stat-label { display: block; margin-top: 3px; font: 400 12px/1.25 var(--font-body); color: var(--text-2); }
.side-18 { margin: 10px 0 0; font-size: 12px; color: var(--text-2); }

.page-note { margin: 0; padding: 18px 0 0; font-size: 13px; color: var(--text-2); }

.block { padding: 18px 0; }
.block h2 { margin-top: 0; }
.block h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
}
.block a { color: var(--gold); text-decoration: underline; }
.block p { margin: 0 0 12px; }

.block ul, .block ol { padding-left: 20px; }
.block ul { list-style: none; padding-left: 0; }
.block ul li { position: relative; padding-left: 20px; }
.block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid var(--gold);
  background: rgba(224, 184, 115, .12);
}
.block ol { counter-reset: item; list-style: none; padding-left: 0; }
.block ol li { counter-increment: item; position: relative; padding-left: 26px; }
.block ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--gold);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin: 10px 0 18px;
}
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  background: #3a1620;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  font: 700 13px/1.2 var(--font-body);
}
tr:nth-child(even) td { background: var(--surface-2); }
td { color: var(--text-2); }

.note { font-size: 13px; color: var(--text-2); }

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding: 0; list-style: none; margin: 0; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
.review blockquote { margin: 0; }
.review p { margin: 0 0 10px; }
.review cite { font-style: normal; font-weight: 700; color: var(--text); }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 12px 0;
}
.faq summary {
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font: 700 18px/1 var(--font-body);
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; }

.cta-band {
  margin: 44px 0 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #5a1222, #2a1118);
  border: 1px solid var(--gold);
  text-align: center;
}
.cta-band h2 { margin: 0 0 10px; }
.cta-band h2::after { display: none; }
.cta-band p { margin: 0 0 18px; }

.site-footer {
  margin-top: 34px;
  background: var(--bg-2);
  border-top: 1px solid var(--gold);
  padding: 28px 0 40px;
  font-size: 14px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }

.err { padding: 70px 0; text-align: center; }
.err h1 { margin-bottom: 10px; }

@media (max-width: 420px) {
  .wrap { padding: 0 14px; }
  .hero { padding: 28px 0 16px; }
  .btn { padding: 0 18px; min-height: 44px; }
}
