@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-600.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #03121e;
}

.ow-app {
  --ow-bg: #06142a;
  --ow-bar: #0a1d38;
  --ow-card: #102849;
  --ow-line: #1e3a62;
  --ow-ink: #d3ddea;
  --ow-head: #ffffff;
  --ow-muted: #98a9c0;
  --ow-link: #ff4578;
  --ow-accent: #ff4578;
  --ow-gold: #ffb443;
  --ow-go: #29cc6a;
  --ow-go-ink: #06142a;
  --ow-r: 12px;
  --ow-r2: 20px;
}

.ow-app {
  overflow-x: clip;
  min-height: 100vh;
  background: var(--ow-bg);
  color: var(--ow-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

.ow-app img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ow-app a {
  color: var(--ow-link);
}

.ow-app h1,
.ow-app h2 {
  color: var(--ow-head);
  line-height: 1.25;
  font-weight: 800;
}

.ow-app h1 {
  font-size: clamp(26px, 4vw, 40px);
  margin: 6px 0 14px;
}

.ow-app h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0 0 12px;
}

.ow-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  background: var(--ow-bar);
  border-bottom: 1px solid var(--ow-line);
}

.ow-logo img {
  width: 130px;
}

.ow-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}

.ow-nav a {
  padding: 8px 12px;
  border-radius: var(--ow-r);
  color: var(--ow-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.ow-nav a:hover,
.ow-nav a[aria-current="page"] {
  color: var(--ow-head);
  background: var(--ow-card);
}

.ow-acts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.ow-btn,
.ow-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--ow-r);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.ow-app .ow-btn {
  background: var(--ow-go);
  color: var(--ow-go-ink);
}

.ow-app .ow-btn:hover {
  filter: brightness(1.08);
}

.ow-app .ow-ghost {
  border: 1px solid var(--ow-head);
  color: var(--ow-head);
}

.ow-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 10px 9px;
  background: var(--ow-card);
  border: 0;
  border-radius: var(--ow-r);
  cursor: pointer;
}

.ow-burger i {
  display: block;
  height: 2px;
  background: var(--ow-head);
}

.ow-lang {
  position: relative;
}

.ow-lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--ow-r);
  background: var(--ow-card);
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 14px;
}

.ow-lang summary::-webkit-details-marker {
  display: none;
}

.ow-lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--ow-bar);
  border: 1px solid var(--ow-line);
  border-radius: var(--ow-r);
  min-width: 170px;
}

.ow-lang a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  color: var(--ow-ink);
  text-decoration: none;
}

.ow-lang a:hover {
  background: var(--ow-card);
}

.ow-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.ow-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--ow-r2);
  background: #0a1f4a;
}

.ow-hero img {
  width: 100%;
  aspect-ratio: 1392 / 700;
  object-fit: cover;
}

.ow-hero-text {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 46%;
}

.ow-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--ow-accent);
  color: var(--ow-bg);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ow-hero-l1 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  text-transform: uppercase;
}

.ow-hero-l2 {
  margin: 0 0 18px;
  color: var(--ow-gold);
  font-size: clamp(22px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
}

.ow-doc {
  min-width: 0;
}

.ow-doc > section,
.ow-doc > figure,
.ow-doc > aside,
.ow-doc > nav,
.ow-doc > ul {
  margin: 0 0 28px;
}

.ow-intro {
  margin: 28px 0 18px;
}

.ow-kicker {
  color: var(--ow-accent);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ow-lede {
  font-size: 17px;
}

.ow-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}

.ow-facts li {
  padding: 16px;
  border-radius: var(--ow-r);
  background: var(--ow-card);
  border: 1px solid var(--ow-line);
}

.ow-facts b {
  display: block;
  color: var(--ow-gold);
  font-size: 24px;
  line-height: 1.2;
}

.ow-facts span {
  font-size: 14px;
  color: var(--ow-muted);
}

.ow-block ul,
.ow-block ol {
  padding-left: 22px;
}

.ow-block li {
  margin-bottom: 6px;
}

.ow-tip {
  padding: 12px 16px;
  border-left: 4px solid var(--ow-accent);
  background: var(--ow-card);
  border-radius: 0 var(--ow-r) var(--ow-r) 0;
}

.ow-quote {
  margin: 0;
  padding: 20px 22px;
  border-radius: var(--ow-r2);
  background: var(--ow-card);
  border: 1px solid var(--ow-line);
}

.ow-quote blockquote {
  margin: 0 0 12px;
  font-size: 18px;
  font-style: italic;
  color: var(--ow-head);
}

.ow-quote figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ow-muted);
}

.ow-ava {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ow-accent);
  object-fit: cover;
}

.ow-table {
  overflow: hidden;
}

.ow-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.ow-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--ow-bar);
  color: var(--ow-head);
}

.ow-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ow-line);
  vertical-align: top;
}

.ow-small {
  font-size: 13px;
  color: var(--ow-muted);
}

.ow-calc {
  padding: 22px;
  border-radius: var(--ow-r2);
  background: var(--ow-card);
  border: 1px solid var(--ow-accent);
}

.ow-calc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ow-field span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ow-muted);
  margin-bottom: 4px;
}

.ow-field input {
  width: 100%;
  padding: 10px;
  border-radius: var(--ow-r);
  border: 1px solid var(--ow-line);
  background: var(--ow-bg);
  color: var(--ow-head);
  font: inherit;
}

.ow-calc-out {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 8px;
}

.ow-calc-out div {
  padding: 12px;
  border-radius: var(--ow-r);
  background: var(--ow-bg);
}

.ow-calc-out dt {
  font-size: 13px;
  color: var(--ow-muted);
}

.ow-calc-out dd {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--ow-gold);
}

.ow-calc-cap {
  font-weight: 700;
}

.ow-people,
.ow-logs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.ow-people figure,
.ow-logs figure {
  margin: 0;
  padding: 16px;
  border-radius: var(--ow-r);
  background: var(--ow-card);
  border: 1px solid var(--ow-line);
}

.ow-people blockquote,
.ow-logs blockquote {
  margin: 0 0 10px;
}

.ow-people figcaption,
.ow-logs figcaption {
  font-size: 14px;
  color: var(--ow-muted);
}

.ow-faq details {
  margin-bottom: 10px;
  border-radius: var(--ow-r);
  background: var(--ow-card);
  border: 1px solid var(--ow-line);
}

.ow-faq summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ow-head);
}

.ow-faq details p {
  margin: 0;
  padding: 0 16px 12px;
}

.ow-notes ol {
  padding-left: 22px;
  font-size: 14px;
  color: var(--ow-muted);
}

.ow-author .ow-ava {
  width: 88px;
  height: 88px;
}

.ow-author {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--ow-r2);
  background: var(--ow-card);
  border: 1px solid var(--ow-line);
}

.ow-author b {
  display: block;
  color: var(--ow-head);
}

.ow-author span {
  font-size: 14px;
  color: var(--ow-accent);
}

.ow-author p {
  margin: 6px 0;
}

.ow-author small {
  color: var(--ow-muted);
}

.ow-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.ow-related a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--ow-r);
  background: var(--ow-card);
  text-decoration: none;
  font-weight: 700;
}

.ow-toc ol {
  padding-left: 20px;
  margin: 8px 0 0;
}

.ow-toc li {
  margin-bottom: 6px;
}

.ow-toc a {
  text-decoration: none;
}

.ow-games {
  margin: 24px 0;
}

.ow-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ow-cats {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
  flex-wrap: wrap;
}

.ow-cats li {
  flex: none;
  padding: 7px 14px;
  border-radius: 99px;
  background: var(--ow-card);
  font-weight: 700;
  font-size: 14px;
}

.ow-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ow-game {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.ow-game img {
  border-radius: var(--ow-r);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ow-game span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ow-ink);
}

.ow-vip {
  position: relative;
  overflow: hidden;
  margin: 24px 0;
  border-radius: var(--ow-r2);
  background: #020f1c;
}

.ow-vip img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.ow-vip div {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 42%;
}

.ow-vip p {
  color: #dfe8f2;
}

.ow-foot {
  margin-top: 40px;
  padding: 30px 20px;
  background: var(--ow-bar);
  border-top: 1px solid var(--ow-line);
  text-align: center;
  font-size: 14px;
  color: var(--ow-muted);
}

.ow-foot img {
  margin: 0 auto 12px;
}

.ow-foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ow-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ow-badges img {
  margin: 0;
}

.ow-up {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--ow-go);
  color: var(--ow-go-ink);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.ow-up.ow-show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .ow-burger {
    display: flex;
  }

  .ow-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    padding: 10px;
    background: var(--ow-bar);
    border-bottom: 1px solid var(--ow-line);
  }

  .ow-open .ow-nav {
    display: flex;
  }

  .ow-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .ow-calc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ow-top {
    gap: 8px;
    padding: 10px 12px;
  }

  .ow-logo img {
    width: 100px;
  }

  .ow-acts .ow-ghost {
    display: none;
  }

  .ow-acts .ow-btn {
    padding: 0 12px;
    min-height: 38px;
    font-size: 14px;
  }

  .ow-lang summary span {
    display: none;
  }

  .ow-main {
    padding: 12px;
  }

  .ow-hero img {
    aspect-ratio: 540 / 490;
  }

  .ow-hero-text {
    position: static;
    transform: none;
    max-width: none;
    padding: 18px;
  }

  .ow-vip div {
    position: static;
    transform: none;
    max-width: none;
    padding: 18px;
  }

  .ow-facts,
  .ow-calc-out {
    grid-template-columns: 1fr;
  }

  .ow-table thead {
    display: none;
  }

  .ow-table tr {
    display: block;
    margin-bottom: 12px;
    border-radius: var(--ow-r);
    background: var(--ow-card);
  }

  .ow-table td {
    display: block;
    border: 0;
    padding: 6px 12px;
  }

  .ow-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--ow-accent);
  }
}

.ow-hero-h1 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.ow-btn {
  background: linear-gradient(135deg, var(--ow-accent), var(--ow-gold));
  color: var(--ow-bg);
  box-shadow: 0 6px 20px -6px rgba(46, 213, 115, 0.6);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.ow-btn:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.1);
}

.ow-pulse {
  animation: ow-pulse 1.8s ease-in-out infinite;
}

@keyframes ow-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.75);
    transform: scale(1);
  }
  60% {
    box-shadow: 0 0 0 16px rgba(46, 213, 115, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ow-pulse {
    animation: none;
  }
}

.ow-game .ow-btn {
  margin: 8px auto 4px;
  min-height: 34px;
  padding: 0 16px;
  font-size: 14px;
}

.ow-hero {
  border: 3px solid transparent;
  background:
    linear-gradient(var(--ow-bg), var(--ow-bg)) padding-box,
    linear-gradient(120deg, #02dbe6, #ff4578 55%, #ff961a) border-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 50px -18px rgba(255, 69, 120, 0.55),
    0 0 40px -10px rgba(2, 219, 230, 0.45);
}

.ow-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 18, 30, 0.85) 0%,
    rgba(3, 18, 30, 0.35) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.ow-hero-text {
  z-index: 1;
}

.ow-hero-h1 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  -webkit-text-stroke: 1px rgba(3, 18, 30, 0.35);
}

.ow-hero .ow-btn {
  min-height: 54px;
  padding: 0 34px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.ow-cats li {
  border: 1px solid rgba(2, 219, 230, 0.35);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.ow-cats li:first-child,
.ow-cats li:hover {
  background: linear-gradient(120deg, #ff4578, #ff961a);
  border-color: transparent;
  color: #ffffff;
}

.ow-game {
  padding: 6px;
  border-radius: calc(var(--ow-r) + 6px);
  background: linear-gradient(
    160deg,
    rgba(2, 219, 230, 0.18),
    rgba(255, 69, 120, 0.18)
  );
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.ow-game:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -12px rgba(255, 69, 120, 0.7);
}

.ow-doc h2 {
  position: relative;
  padding-bottom: 10px;
}

.ow-doc h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #02dbe6, #ff4578);
}

@media (max-width: 700px) {
  .ow-hero::after {
    background: linear-gradient(
      0deg,
      rgba(3, 18, 30, 0.95) 0%,
      transparent 60%
    );
  }
}

.ow-game span {
  flex: 1;
}

.ow-doc {
  max-width: 820px;
  margin: 0 auto;
}

.ow-intro {
  text-align: center;
}

.ow-hero-text {
  left: 6%;
}

.ow-toc {
  padding: 16px 20px;
  border-radius: var(--ow-r2);
  border: 1px dashed var(--ow-line);
}

.ow-people figure,
.ow-logs figure {
  border-radius: var(--ow-r2) var(--ow-r2) var(--ow-r2) 4px;
}

.ow-quote {
  background: linear-gradient(135deg, #2a1240, #102849);
}

.ow-block h2::before {
  content: "#";
  margin-right: 8px;
  color: var(--ow-accent);
}
