:root {
  --red: #e60018;
  --red-deep: #830007;
  --red-dark: #5d0004;
  --gold: #ffc72c;
  --gold-deep: #f0a400;
  --ink: #07142b;
  --muted: #5f6b7a;
  --line: #e5eaf0;
  --soft: #f7f9fc;
  --white: #ffffff;
  --footer: #061529;
  --shadow: 0 18px 42px rgba(5, 20, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.xo-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.xo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 4px 18px rgba(7, 20, 43, 0.08);
}

.xo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.xo-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.xo-logo-x {
  color: #ff3a18;
}

.xo-logo-o {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff4029, var(--gold));
  font-size: 24px;
  box-shadow: 0 10px 18px rgba(230, 0, 24, 0.22);
}

.xo-logo-88 {
  color: var(--ink);
}

.xo-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.xo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.xo-btn-gold {
  color: #251600;
  background: linear-gradient(180deg, #ffd859, var(--gold));
  box-shadow: 0 10px 24px rgba(255, 199, 44, 0.24);
}

.xo-btn-outline {
  color: var(--red);
  background: #fff;
  border-color: var(--red);
}

.xo-btn-dark {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.8);
}

.xo-nav-wrap {
  background: linear-gradient(90deg, #d90015, #f00b20);
}

.xo-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  min-height: 54px;
  overflow-x: auto;
  scrollbar-width: none;
}

.xo-nav::-webkit-scrollbar {
  display: none;
}

.xo-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.xo-nav a.is-active::after,
.xo-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
}

.xo-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 194, 32, 0.2), transparent 34%),
    linear-gradient(90deg, #7b0005 0%, #ad000d 48%, #ed0018 100%);
}

.xo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: 410px;
  gap: 22px;
}

.xo-hero-copy {
  position: relative;
  z-index: 2;
  padding: 44px 0;
}

.xo-hero h1 {
  max-width: 560px;
  margin: 0 0 24px;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.xo-hero p {
  max-width: 470px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
}

.xo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.xo-hero-art {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
}

.xo-hero-art img {
  width: 100%;
  max-width: 620px;
  max-height: 410px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 40px rgba(40, 0, 0, 0.3));
}

.xo-proof-band {
  background: #fff;
}

.xo-proof-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 34px 0 28px;
}

.xo-proof-item {
  min-width: 0;
  padding: 0 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.xo-proof-item:last-child {
  border-right: 0;
}

.xo-proof-icon {
  display: grid;
  width: 54px;
  height: 48px;
  margin: 0 auto 10px;
  place-items: center;
  color: var(--red);
}

.xo-proof-icon svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.xo-proof-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
}

.xo-proof-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.xo-section {
  padding: 42px 0;
  background: #fff;
}

.xo-section-title {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  letter-spacing: 0;
}

.xo-section-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--red);
}

.xo-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.xo-feature-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 20, 43, 0.08);
}

.xo-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.xo-feature-body {
  min-height: 142px;
  padding: 20px 20px 18px;
}

.xo-feature-body h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
}

.xo-feature-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.xo-card-arrow {
  display: flex;
  justify-content: flex-end;
  color: var(--red);
  font-size: 26px;
  line-height: 1;
}

.xo-guide-box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  padding: 26px 18px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.xo-guide-step {
  position: relative;
  min-width: 0;
  padding: 0 22px;
  text-align: center;
}

.xo-guide-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -24px;
  width: 48px;
  border-top: 2px dotted var(--red);
}

.xo-step-num {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}

.xo-step-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  place-items: center;
  color: var(--ink);
}

.xo-step-icon svg {
  width: 50px;
  height: 50px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.xo-guide-step h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
}

.xo-guide-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.xo-news-list {
  display: grid;
  gap: 10px;
}

.xo-news-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 120px 28px;
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.xo-news-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  object-fit: cover;
}

.xo-news-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
}

.xo-news-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.xo-news-date {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.xo-news-arrow {
  color: var(--red);
  font-size: 32px;
  text-align: center;
  line-height: 1;
}

.xo-pagination {
  margin-top: 22px;
  text-align: center;
}

.xo-pagination ul,
.xo-pagination ol {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.xo-pagination a,
.xo-pagination span,
.xo-pagination li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.xo-article-hero {
  padding: 66px 0 60px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(120, 0, 5, 0.94), rgba(230, 0, 24, 0.9)),
    url("/assets/xo88-hero.png") center / cover;
}

.xo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 700;
}

.xo-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.48);
}

.xo-article-title {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: 0;
}

.xo-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  font-weight: 800;
}

.xo-article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 30px;
  padding: 54px 0 70px;
}

.xo-article-main {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.xo-article-cover img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.xo-article-body {
  padding: 34px;
  font-size: 17px;
}

.xo-article-body h2,
.xo-article-body h3 {
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: 0;
}

.xo-article-body h2 {
  margin: 30px 0 12px;
  font-size: 28px;
}

.xo-article-body p {
  margin: 0 0 16px;
}

.xo-article-nav {
  display: grid;
  gap: 8px;
  padding: 0 34px 32px;
  color: var(--red);
  font-weight: 800;
}

.xo-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.xo-side-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 20, 43, 0.06);
}

.xo-side-box h2 {
  margin: 0 0 12px;
  color: var(--red-deep);
  font-size: 20px;
}

.xo-side-box ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
}

.xo-side-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.xo-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--footer);
}

.xo-footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 0.8fr 1.05fr;
  gap: 42px;
  padding: 48px 0 36px;
}

.xo-footer .xo-logo {
  margin-bottom: 18px;
  font-size: 34px;
}

.xo-footer .xo-logo-o {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.xo-footer .xo-logo-88 {
  color: #fff;
}

.xo-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
}

.xo-footer p,
.xo-footer a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.xo-footer-links {
  display: grid;
  gap: 10px;
}

.xo-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.xo-social span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--footer);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.xo-support {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
}

.xo-support strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 16px;
}

.xo-support .xo-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 14px;
  font-size: 14px;
}

.xo-copyright {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .xo-nav {
    justify-content: flex-start;
    gap: 30px;
  }

  .xo-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .xo-hero-copy {
    padding-bottom: 0;
  }

  .xo-hero-art img {
    max-width: 720px;
  }

  .xo-proof-grid,
  .xo-feature-grid,
  .xo-guide-box,
  .xo-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xo-proof-item {
    border-right: 0;
    padding: 22px;
  }

  .xo-guide-step:not(:last-child)::after {
    display: none;
  }

  .xo-article-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .xo-shell {
    width: min(100% - 24px, 1180px);
  }

  .xo-header {
    position: static;
  }

  .xo-topbar {
    min-height: 76px;
    gap: 12px;
  }

  .xo-logo {
    font-size: 30px;
  }

  .xo-logo-o {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .xo-actions {
    display: grid;
    gap: 8px;
  }

  .xo-actions .xo-btn {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
  }

  .xo-nav {
    gap: 28px;
    min-height: 54px;
  }

  .xo-nav a {
    min-height: 54px;
    font-size: 13px;
  }

  .xo-nav a.is-active::after,
  .xo-nav a:hover::after {
    bottom: 8px;
    height: 3px;
  }

  .xo-hero-copy {
    padding: 36px 0 10px;
  }

  .xo-hero h1 {
    max-width: 370px;
    font-size: 34px;
  }

  .xo-hero p {
    max-width: 360px;
    font-size: 16px;
  }

  .xo-hero-actions {
    gap: 12px;
  }

  .xo-hero-actions .xo-btn {
    min-height: 48px;
    padding: 0 18px;
    font-size: 14px;
  }

  .xo-hero-art img {
    max-height: 330px;
  }

  .xo-proof-grid,
  .xo-feature-grid,
  .xo-guide-box,
  .xo-footer-main {
    grid-template-columns: 1fr;
  }

  .xo-section {
    padding: 34px 0;
  }

  .xo-section-title {
    font-size: 25px;
  }

  .xo-news-row {
    grid-template-columns: 106px minmax(0, 1fr) 18px;
    gap: 12px;
    padding: 10px;
  }

  .xo-news-date {
    grid-column: 2 / 3;
    text-align: left;
    font-size: 12px;
  }

  .xo-news-arrow {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    font-size: 24px;
  }

  .xo-news-body h3 {
    font-size: 14px;
  }

  .xo-news-body p {
    font-size: 12px;
  }

  .xo-article-title {
    font-size: 32px;
  }

  .xo-article-body {
    padding: 24px;
    font-size: 16px;
  }

  .xo-article-nav {
    padding: 0 24px 26px;
  }
}
