@font-face {
  font-family: Michroma;
  src: url("/fonts/michroma.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body, button, input, textarea, select, h1, h2, h3, h4, h5, h6, a, p, li, figcaption, .wordmark, .pill, .kicker {
  font-family: Michroma, "Segoe UI", "Noto Sans", "Noto Sans Greek", "Noto Sans Cyrillic", sans-serif;
  font-weight: 400;
}
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: #fff; }
h1, h2, h3, h4, .wordmark, .pill, .kicker {
  letter-spacing: 0.01em;
}
p { margin: 0 0 0.8em; }
.wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: #fff; color: #000; padding: 0.4rem 0.7rem;
}
.skip:focus { top: 0.5rem; }

.top {
  position: absolute;
  z-index: 5;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6vw 10px;
}
.wordmark {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}
.top-tools { display: flex; align-items: center; gap: 28px; }
.lang-menu { position: relative; }
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.lang-short { display: none; }
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 190px;
  background: #000;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  padding: 8px 0;
}
.lang-list a { display: flex; align-items: center; gap: 8px; padding: 7px 14px; text-decoration: none; font-size: 14px; }
.lang-list a[aria-current="true"] { color: #d16aff; }
.nav { display: flex; gap: 36px; }
.nav a { color: #fff; text-decoration: none; font-size: 16px; }
.nav a[aria-current="page"] { color: #d16aff; }
.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 6px 14px;
}

.hero {
  padding: 130px 6vw 16px;
  background:
    linear-gradient(180deg, rgba(28, 8, 48, 0.55), rgba(8, 0, 18, 0.72)),
    url("/img/hero.png") center 42% / cover no-repeat,
    #120818;
  text-align: center;
}
.hero h1, .hero-line {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.25;
  color: #fff;
}
.hero-tag {
  margin: 18px auto 0;
  max-width: 720px;
  color: rgba(255,255,255,.82);
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 22px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  background: rgba(0,0,0,.15);
  text-align: center;
}
.pill:hover { border-color: #d16aff; color: #fff; }

.logo-wrap {
  position: relative;
  width: 168px;
  margin: 18px auto 0;
}
.logo-wrap img { width: 168px; height: 168px; display: block; }
.play-badge {
  position: absolute;
  left: -18px;
  bottom: -8px;
  width: 74px;
  height: 74px;
}
.play-badge img { width: 74px; height: 74px; }

.welcome {
  width: min(980px, 100%);
  margin: 200px auto 0;
  background: #000;
  border-radius: 22px;
  padding: 34px 40px 42px;
  text-align: left;
  position: relative;
  z-index: 2;
}
.kicker { font-size: 18px; margin: 0 0 12px; }
.kicker::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: #a814e7;
  transform: translateY(-1px);
}
.welcome .kicker { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.35); }
.welcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
  margin-top: 26px;
}
.welcome-grid h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}
.welcome-grid p { color: #e8e8e8; font-size: 15px; }

.block { padding: 64px 6vw; }
.hero + .block { padding-top: 18px; }
.block-intro { margin-bottom: 28px; max-width: none; }
.block-intro p { color: #ddd; }
.pills {
  column-count: 3;
  column-gap: 48px;
}
.pills .pill {
  display: flex;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  background: transparent;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feat-grid h3 { font-size: 16px; margin: 0 0 12px; }
.feat-grid ul { margin: 0; padding-left: 18px; color: #ddd; }
.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.shot-row img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.shot-row figcaption, .history-lead { color: #ddd; margin-top: 8px; }
.history { max-width: none; }
.history h3 { font-size: 18px; margin: 1.4em 0 0.6em; }
.history p { color: #e6e6e6; }
.faq-seo details {
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding: 14px 0;
}
.faq-seo summary { cursor: pointer; }
.faq-seo p { color: #ddd; margin: 10px 0 0; }

.page-hero {
  position: relative;
  padding: 320px 6vw 20px;
  background: #000;
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  height: 340px;
  background:
    linear-gradient(180deg, rgba(28, 8, 48, 0.72), #000 88%),
    url("/img/hero.png") center 30% / cover no-repeat;
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 10px; }
.lede { color: #ddd; max-width: 720px; }
.prose { width: min(800px, calc(100% - 12vw)); margin: 10px auto 40px; }
.prose h2, .feature-list h2 { font-size: 22px; }
.prose li, .feature-list li { color: #ddd; }
.rules-shot { display: block; width: 100%; height: auto; margin: 0 0 22px; border-radius: 8px; }
.rules strong { color: #fff; }
.rules ul { margin: 0 0 1em; padding-left: 1.2em; }
.rules li { margin: 0.25em 0; }
.feature-list { width: min(900px, calc(100% - 12vw)); margin: 0 auto 40px; display: grid; gap: 22px; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { text-decoration: none; }

.play-mobile-bar { display: none; }
.play-board {
  width: min(900px, 100%);
  aspect-ratio: 2 / 1;
  margin: 18px auto;
  display: block;
  border: 0;
  border-radius: 16px;
  background: #000;
}

@media (max-width: 900px) {
  body.play-page { background: #000; overflow: hidden; }
  body.play-page .top,
  body.play-page .ready,
  body.play-page .skip,
  body.play-page .page-hero h1,
  body.play-page .page-hero .lede,
  body.play-page .page-hero .hero-actions,
  body.play-page .section,
  body.play-page .page-hero::before { display: none; }
  body.play-page .page-hero { padding: 0; background: #000; }
  body.play-page .page-hero .wrap { width: 100%; margin: 0; }
  body.play-page .play-mobile-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 8px 10px;
    background: #000;
  }
  body.play-page .play-mobile-bar .pill {
    flex: 1;
    min-height: 36px;
    font-size: 12px;
    padding: 6px 8px;
  }
  body.play-page .play-stage {
    display: flex;
    flex-direction: column;
    background: #000;
  }
  body.play-page .play-board {
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  body.play-page .play-stage {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 20;
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  body.play-page .play-stage {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 100vw;
    width: 100dvh;
    height: 100dvw;
    transform: rotate(90deg);
    transform-origin: top left;
  }
}

.contact-form { display: grid; gap: 12px; max-width: 560px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form input, .contact-form textarea {
  font: inherit; color: #fff; background: #111;
  border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 10px 12px;
}
.contact-form button {
  color: #fff; background: transparent;
  border: 1px solid #fff; border-radius: 999px;
  min-height: 44px; padding: 8px 22px; cursor: pointer;
}
.hp { position: absolute; left: -9999px; }
.notice, .form-errors {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px; padding: 12px 14px; max-width: 560px;
}

.ready { text-align: center; padding: 20px 6vw 48px; }
.ready .kicker { font-size: 28px; }
.legal { color: #cfcfcf; margin: 4px 0; }
.brand-line { margin-top: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .top-tools { gap: 10px; }
  .nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 14px;
    background: #000;
    padding: 16px 6vw 20px;
  }
  .nav.is-open { display: flex; }
  .welcome-grid, .feat-grid, .shot-row, .pills { grid-template-columns: 1fr; column-count: 1; }
  .welcome { padding: 24px 18px 28px; }
  .hero { padding-top: 110px; }
}
