:root {
  color-scheme: dark;
  --ok-bg: #090b11;
  --ok-panel: #121722;
  --ok-panel-2: #1b2432;
  --ok-text: #f7f3e8;
  --ok-muted: #b7c0cc;
  --ok-line: rgba(255, 174, 61, .23);
  --ok-orange: #ff7a1a;
  --ok-gold: #ffc44d;
  --ok-teal: #25d7c2;
  --ok-cream: #fff4d6;
  --header-h: 70px;
  --bottom-h: 66px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ok-bg); }
body {
  margin: 0;
  color: var(--ok-text);
  background:
    radial-gradient(circle at 10% 0, rgba(255, 122, 26, .18), transparent 28rem),
    linear-gradient(180deg, #0b0f17, #080a10 48%, #111722);
  line-height: 1.62;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--ok-gold);
  color: #1a1207;
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  z-index: 60;
  border-bottom: 1px solid var(--ok-line);
  background: rgba(8, 11, 17, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner {
  max-width: 1180px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: .01em;
}
.brand strong { color: var(--ok-gold); font-size: clamp(1.5rem, 4vw, 2.2rem); }
.brand span { margin-top: 3px; color: var(--ok-muted); font-size: .72rem; font-weight: 800; }
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--ok-line);
  border-radius: 12px;
  background: var(--ok-panel);
  color: var(--ok-gold);
}
.nav-toggle i, .nav-toggle::before, .nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}
.nav-toggle { gap: 5px; }
.primary-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.primary-nav a, .header-cta a, .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border-radius: 12px;
  font-weight: 900;
  font-size: .86rem;
}
.primary-nav a { color: #dbe3ef; }
.primary-nav a:hover, .primary-nav a:focus { background: rgba(255,255,255,.08); color: var(--ok-gold); }
.header-cta { display: flex; gap: 8px; white-space: nowrap; }
.header-cta a:first-child, .button-primary {
  color: #201306;
  background: linear-gradient(135deg, var(--ok-orange), var(--ok-gold));
  box-shadow: 0 8px 24px rgba(255, 122, 26, .22);
}
.header-cta a:last-child, .button-ghost {
  border: 1px solid var(--ok-line);
  color: var(--ok-cream);
  background: rgba(255,255,255,.04);
}
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 16px 42px;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(480px, 58vw, 650px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.hero > :not(.hero-bg) {
  position: relative;
  z-index: 1;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8,10,16,.96) 0%, rgba(8,10,16,.64) 38%, rgba(8,10,16,.08) 100%);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--ok-teal);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.15; }
h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  letter-spacing: 0;
}
.hero p { max-width: 650px; color: #d7deea; font-size: clamp(1rem, 2vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-panel {
  align-self: end;
  padding: 18px;
  border: 1px solid var(--ok-line);
  border-radius: 18px;
  background: rgba(18, 23, 34, .82);
}
.hero-panel strong { color: var(--ok-gold); }
.domain-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--ok-line);
  border-radius: 999px;
  color: var(--ok-gold);
  background: rgba(255,196,77,.08);
  font-weight: 950;
}
.section {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(18, 23, 34, .72);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-head h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.2rem); }
.section-head span { color: var(--ok-muted); font-weight: 800; }
.landing-copy {
  display: grid;
  gap: 18px;
  font-size: 1.02rem;
  line-height: 1.82;
}
.landing-copy h2 {
  margin: 10px 0 0;
  color: var(--ok-gold);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}
.landing-copy h3 {
  margin: 8px 0 0;
  color: var(--ok-cream);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.landing-copy p { margin: 0; color: #dbe2ec; }
.landing-copy ul {
  margin: 0;
  padding-left: 20px;
  color: #dbe2ec;
}
.landing-copy li { margin: 4px 0; }
.content-figure {
  margin: 6px 0;
  overflow: hidden;
  border: 1px solid var(--ok-line);
  border-radius: 16px;
  background: #05070c;
}
.content-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}
.content-figure figcaption {
  padding: 10px 14px;
  color: var(--ok-muted);
  font-size: .9rem;
}
.landing-note {
  padding: 14px 16px;
  border: 1px solid rgba(255,196,77,.32);
  border-radius: 14px;
  color: #ffedc2;
  background: rgba(255,196,77,.08);
}
.inline-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.inline-link-list a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--ok-line);
  border-radius: 10px;
  color: var(--ok-cream);
  font-weight: 900;
  background: rgba(255,255,255,.04);
}
.intro-grid, .timeline-grid, .article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.info-card, .timeline-card, .article-card, .game-card, .guide-card, .faq-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(27,36,50,.92), rgba(16,21,31,.92));
}
.info-card, .timeline-card, .guide-card, .faq-card { padding: 16px; }
.info-card h3, .timeline-card h3, .guide-card h3, .faq-card h3 { margin: 0 0 8px; color: var(--ok-gold); }
.info-card p, .timeline-card p, .guide-card p, .faq-card p { margin: 0; color: var(--ok-muted); }
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.game-card {
  overflow: hidden;
  min-width: 0;
}
.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #05070c;
}
.game-card__body { padding: 12px; }
.game-card__body strong { display: block; overflow-wrap: anywhere; color: var(--ok-cream); }
.game-card__body small { color: var(--ok-teal); font-weight: 900; }
.game-card__body p { color: var(--ok-muted); font-size: .86rem; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.article-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 12px;
  align-items: center;
}
.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
}
.article-card time { color: var(--ok-teal); font-size: .78rem; font-weight: 900; }
.article-card h2 { margin: 5px 0; font-size: 1.05rem; }
.article-card p { margin: 0 0 10px; color: var(--ok-muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 18px 0 0; margin: 0; list-style: none; }
.pagination a, .pagination span {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ok-line);
  border-radius: 10px;
  color: var(--ok-cream);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}
.article-hero-img {
  overflow: hidden;
  border: 1px solid var(--ok-line);
  border-radius: 18px;
}
.article-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-body {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: #101722;
  color: #e5eaf2;
}
.article-body h2, .article-body h3, .article-body h4 { color: var(--ok-gold); }
.article-body p, .article-body li { color: #dbe2ec; }
.article-body img, .article-body video, .article-body iframe { max-width: 100%; height: auto; border-radius: 12px; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body a { color: var(--ok-teal); overflow-wrap: anywhere; }
.article-body blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--ok-orange);
  background: rgba(255,122,26,.08);
}
.sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
}
.prenext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.responsible {
  color: #ffedc2;
  border-color: rgba(255,196,77,.34);
  background: linear-gradient(135deg, rgba(255,122,26,.16), rgba(37,215,194,.08));
}
.site-footer {
  margin-top: 34px;
  padding: 28px 16px;
  border-top: 1px solid var(--ok-line);
  color: var(--ok-muted);
  text-align: center;
}
.bottom-nav {
  display: none;
}
.static-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 16px 60px;
}
.static-hero {
  padding: clamp(38px, 8vw, 80px) 0 24px;
}
.static-content {
  display: grid;
  gap: 18px;
}
.static-section {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(18, 23, 34, .78);
}
.static-section h2 { margin-top: 0; color: var(--ok-gold); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 1099px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 767px) {
  body { padding-top: var(--header-h); padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); }
  .site-header { position: fixed; left: 0; right: 0; top: 0; }
  .header-inner { grid-template-columns: 44px 1fr auto; padding: 8px 12px; }
  .nav-toggle { display: inline-grid; }
  .brand strong { font-size: 1.45rem; }
  .brand span { display: none; }
  .header-cta a { padding: 8px 9px; font-size: .72rem; }
  .primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--header-h) + 8px);
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--ok-line);
    border-radius: 16px;
    background: rgba(13,17,25,.98);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 20px 60px rgba(0,0,0,.42);
  }
  body.nav-open .primary-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .page-shell { padding: 14px 12px 28px; }
  .hero {
    min-height: 560px;
    grid-template-columns: 1fr;
    align-content: end;
    padding-bottom: 18px;
  }
  .hero-bg { border-radius: 0 0 18px 18px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(8,10,16,.22), rgba(8,10,16,.94) 60%, rgba(8,10,16,.98)); }
  .hero-panel { align-self: auto; }
  .section { margin-top: 18px; padding: 16px; border-radius: 14px; }
  .section-head { align-items: start; flex-direction: column; gap: 4px; }
  .intro-grid, .timeline-grid, .guide-grid, .article-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-card__body { padding: 10px; }
  .game-card__body p { display: none; }
  .article-card { grid-template-columns: 94px 1fr; gap: 10px; }
  .article-card p { display: none; }
  .prenext { grid-template-columns: 1fr; }
  .article-body { padding: 16px; }
  .related-grid { grid-template-columns: 1fr; }
  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ok-line);
    background: rgba(8, 11, 17, .96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .bottom-nav a {
    min-width: 0;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 12px;
    color: #dce5ef;
    font-size: .67rem;
    font-weight: 850;
  }
  .bottom-nav a strong { color: var(--ok-gold); font-size: 1rem; line-height: 1; }
  .bottom-nav a:nth-child(3) { color: #201306; background: linear-gradient(135deg, var(--ok-orange), var(--ok-gold)); }
  .site-footer { padding-bottom: calc(30px + var(--bottom-h)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
