:root {
  --ink: #eaf4ec;
  --dark: #0b1211;
  --deep: #111e1c;
  --green: #87ed63;
  --orange: #ffb34f;
  --paper: #0d1716;
  --line: #36524b;
  --muted: #b7c8be;
  --cyan: #72d9d2;
  --title-gold: #ffdc8d;
  --title-cyan: #98f2e9;
}
html { scroll-padding-top: 80px; }
body {
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 42px 42px;
}
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.site-header {
  background: #0a1312;
  border-top: 3px solid var(--green);
  border-bottom: 1px solid #32534b;
  box-shadow: 0 8px 24px #0006;
}
.header-inner { min-height: 74px; }
.desktop-nav a { padding: 24px 0; border-bottom: 2px solid transparent; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { border-color: var(--orange); color: #fff; }
.header-login { color: var(--cyan); }
.action {
  background: var(--orange);
  color: #1b190f;
  border-color: #ffcd88;
  box-shadow: 0 3px 0 #9c5424;
  font-weight: 850;
}
.action:hover { background: #ffd184; box-shadow: 0 1px 0 #9c5424; transform: translateY(2px); }
.hero {
  min-height: 610px;
  align-items: stretch;
  border-bottom: 1px solid #4a6c50;
  background-color: #091310;
  background-image: linear-gradient(90deg, #142c20 1px, transparent 1px), linear-gradient(#142c20 1px, transparent 1px), linear-gradient(155deg, #0c1c18, #111c1c 70%, #192521);
  background-size: 72px 72px, 72px 72px, auto;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: repeating-linear-gradient(90deg, transparent 0 95px, #76e46e16 95px 97px), linear-gradient(0deg, #285c39 0%, transparent 100%);
  opacity: .8;
}
.hero-picture { align-items: center; justify-content: flex-end; padding-right: max(12px, calc((100vw - 1280px) / 2)); }
.hero-picture img { width: min(68%, 930px); height: 100%; object-position: right center; opacity: 1; filter: drop-shadow(0 15px 28px #000b); }
.hero-copy {
  display: flex;
  align-items: center;
  border: 0;
  background: linear-gradient(90deg, #091310 0%, #091310f5 28%, #091310b8 43%, #09131000 72%);
}
.hero-inner { width: min(1180px, 100%); padding: 52px 24px 65px; }
.hero-inner::before {
  content: "";
  display: block;
  width: 88px;
  height: 4px;
  margin-bottom: 21px;
  background: linear-gradient(90deg, var(--orange) 0 58%, transparent 58% 66%, var(--cyan) 66% 82%, transparent 82% 89%, var(--green) 89%);
}
.hero .overline { color: var(--cyan); }
.hero h1 { max-width: 620px; margin: 17px 0 18px; font-size: 42px; line-height: 1.18; color: var(--title-gold); text-shadow: 0 2px 15px #000; }
.hero p { max-width: 510px; color: #dfebe2; font-size: 18px; }
.hero-actions { margin-top: 28px; }
.text-link { color: #dffce2; border-bottom: 1px solid var(--green); padding-bottom: 5px; }
.ticker { background: #1a342a; border-top: 1px solid #66ac81; border-bottom: 2px solid var(--orange); }
.ticker .wrap { gap: 15px; padding: 13px 0; color: #e6f4e5; }
.ticker span:first-child { color: var(--title-gold); }
.ticker span+span { border-color: #598772; }
.lobby { padding: 60px 0 75px; position: relative; }
.lobby::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--green) 0 44px, transparent 44px 56px, var(--cyan) 56px 71px, transparent 71px 84px);
  opacity: .65;
}
.section-heading { position: relative; border-bottom: 1px solid #36544e; padding-bottom: 21px; }
.section-heading::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 112px;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}
.section-heading h2, .related h2 { color: var(--title-gold); }
.section-heading p { color: var(--muted); }
.overline { color: var(--cyan); }
.lobby-grid { counter-reset: game; gap: 16px; }
.game-tile {
  counter-increment: game;
  position: relative;
  background: #152420;
  border: 1px solid #446456;
  box-shadow: 0 14px 25px #050c0b55;
}
.game-tile:hover, .game-tile:focus-visible { border-color: var(--title-gold); box-shadow: 0 0 0 1px #ffdc8d88, 0 12px 28px #0009; }
.game-tile::before {
  content: "0" counter(game) " / GAME";
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 12px;
  padding: 4px 8px;
  background: #091511e6;
  color: #fff;
  border: 1px solid #75b87d;
  font-size: 10px;
  font-weight: 800;
}
.game-tile:nth-child(2) { border-color: #7c569d; }
.game-tile:nth-child(3) { border-color: #9d5754; }
.game-tile:nth-child(4) { border-color: #3c989d; }
.game-tile>img { background: #0e1a19; }
.tile-info { border-top-color: var(--green); background: linear-gradient(120deg, #1c342c, #11231f 72%); }
.game-tile:nth-child(2) .tile-info { border-top-color: #d893f0; }
.game-tile:nth-child(3) .tile-info { border-top-color: #ff8575; }
.game-tile:nth-child(4) .tile-info { border-top-color: var(--cyan); }
.tile-info small { color: #b9cfc2; }
.tile-info strong { color: var(--title-gold); }
.tile-info b { color: var(--title-cyan); }
.content-band {
  background-color: #101d1b;
  background-image: linear-gradient(90deg, #83dd6c0a 1px, transparent 1px);
  background-size: 76px 100%;
  border-top: 1px solid #42614e;
  border-bottom: 1px solid #42614e;
}
.reading { max-width: 920px; padding: 72px 0 88px; }
.reading .breadcrumb { color: var(--cyan); }
.body-content { color: #dbe8dc; font-size: 17px; line-height: 1.9; }
.body-content>p:first-child { color: #f1f9ef; font-size: 19px; }
.body-content h2 {
  color: var(--title-gold);
  border-left-color: var(--orange);
  border-bottom: 1px solid #36534d;
  padding: 9px 16px 12px 20px;
  margin-top: 66px;
  background: linear-gradient(90deg, #ffb34f19, transparent 80%);
  text-shadow: 0 1px 12px #ffb34f1a;
}
.body-content h3 { color: var(--title-cyan); }
.body-content h3::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 11px;
  vertical-align: 3px;
  background: var(--title-cyan);
  transform: rotate(45deg);
}
.body-content a:not(.action) { color: #a0f49b; text-decoration-color: #699772; }
.body-content figure {
  margin: 36px 0 42px;
  padding: 22px;
  background: #0b1716;
  border: 1px solid #47645a;
  border-left: 4px solid var(--green);
}
.body-content figure img { max-height: 510px; object-fit: contain; }
.body-content blockquote { background: #1c342e; border-color: var(--cyan); color: #e7f4ec; }
.body-content .action { color: #1b190f; }
.page-top { position: relative; padding-top: 30px; }
.page-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, #81d6b20b 0 1px, transparent 1px 80px), linear-gradient(125deg, #172e24, #10201e 65%, #213137);
  border-bottom: 1px solid #436653;
}
.page-top .breadcrumb { color: #adceba; }
.page-top .breadcrumb a:hover { color: var(--orange); }
.page-intro { min-height: 390px; gap: 52px; padding: 24px 0 55px; }
.page-intro h1 { color: var(--title-gold); font-size: 46px; text-shadow: 0 2px 16px #0008; }
.page-intro p { color: #d1e4d6; }
.page-intro img {
  max-height: 360px;
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  filter: drop-shadow(0 18px 20px #030908aa);
}
.related { padding: 55px 0 78px; }
.related-links { border-top-color: var(--line); }
.related-links a { border-bottom-color: var(--line); }
.related-links a:hover { background: #1c3a32; color: var(--title-cyan); }
.related-links span { color: var(--title-gold); }
.site-footer { background: #0a1311; border-top: 3px solid var(--green); }
.footer-inner strong { color: var(--title-gold); }
.footer-inner p, .footer-inner small { color: #b6cbbd; }
.not-found h1 { color: var(--title-gold); }
@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .header-actions { margin-left: auto; }
  .mobile-menu summary { width: 42px; height: 42px; list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 9px; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; height: 2px; width: 100%; background: #fff; }
  .mobile-menu nav { position: absolute; top: 74px; left: 0; right: 0; display: grid; padding: 12px 24px; background: #101e1b; border-bottom: 2px solid var(--green); box-shadow: 0 18px 30px #0008; }
  .mobile-menu nav a { padding: 12px; border-bottom: 1px solid #36564a; font-weight: 700; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 64px; }
  .mobile-menu nav { top: 64px; }
  .hero { min-height: 0; display: block; }
  .hero-picture { position: relative; padding: 14px 8px 0; justify-content: center; }
  .hero-picture img { width: 100%; height: auto; max-height: 390px; object-position: center; }
  .hero-copy { background: linear-gradient(180deg, #0b1815, #12241d); }
  .hero-inner { padding: 26px 16px 34px; }
  .hero h1 { font-size: 30px; margin: 10px 0 12px; }
  .hero p { font-size: 15px; }
  .ticker .wrap { overflow-x: auto; }
  .lobby { padding: 42px 0 55px; }
  .lobby-grid { gap: 10px; }
  .game-tile::before { top: 6px; left: 6px; font-size: 9px; }
  .reading { padding: 46px 0 60px; }
  .body-content { font-size: 16px; }
  .body-content h2 { margin-top: 47px; font-size: 23px; }
  .body-content figure { padding: 12px; margin: 28px -16px; }
  .page-top { padding-top: 16px; }
  .page-intro { min-height: 0; flex-direction: column-reverse; gap: 20px; padding: 8px 0 39px; }
  .page-intro h1 { font-size: 32px; }
  .page-intro img { max-height: 270px; }
  .mobile-cta { background: #0a1512; border-top-color: #4f7863; }
  .mobile-login { border-color: var(--green); color: var(--green); }
}
@media (prefers-reduced-motion: reduce) {
  .action, .game-tile { transition: none; }
  html { scroll-behavior: auto; }
}
