:root {
  --blue: #18a8ff;
  --blue-dark: #087bc4;
  --ink: #f4f9fc;
  --muted: #91a3b6;
  --bg: #050a12;
  --panel: #091321;
  --panel-soft: #0d1a2b;
  --line: rgba(148, 184, 211, 0.16);
  --shell: 1180px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

html[lang^="zh-Hans"] body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 5%, rgba(24, 168, 255, 0.11), transparent 30rem),
    radial-gradient(circle at 90% 40%, rgba(24, 168, 255, 0.06), transparent 34rem);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: min(calc(100% - 36px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #00111c;
  background: var(--blue);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 9, 16, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #b8c5d1;
  font-size: 0.88rem;
  font-weight: 700;
}

.desktop-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.header-actions,
.button-row,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 10px;
}

.language-switcher {
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.language-button {
  display: inline-flex;
  min-width: 48px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px;
  border: 0;
  border-radius: 999px;
  color: #8799aa;
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.language-button span {
  font-size: 0.88rem;
  line-height: 1;
}

.language-button b {
  font: inherit;
}

.language-button.is-active {
  color: #00111c;
  background: var(--blue);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: #00111c;
  background: var(--blue);
  box-shadow: 0 10px 26px rgba(24, 168, 255, 0.2);
  font-size: 0.86rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  box-shadow: 0 14px 32px rgba(24, 168, 255, 0.3);
  transform: translateY(-2px);
}

.button-ghost {
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #03070d;
}

.hero-carousel {
  position: relative;
  width: 100%;
  background: #050a12;
  touch-action: pan-y;
}

.hero-banner-link {
  display: block;
  color: inherit;
  cursor: pointer;
}

.hero-banner-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -4px;
}

.hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 2.7;
  max-height: 570px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 550ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel::after {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 30%;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, #050a12);
}

.carousel-dots {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 18px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.carousel-dot.is-active {
  width: 25px;
  border-radius: 10px;
  background: var(--blue);
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: grid;
  max-width: 780px;
  justify-items: center;
  padding-top: 36px;
  padding-bottom: 58px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 15px;
  font-size: clamp(2.25rem, 4.4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--muted);
}

.button-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-copy .button-row {
  gap: 14px;
}

.hero-copy .button {
  min-width: 132px;
  min-height: 52px;
  padding: 13px 28px;
  font-size: 0.96rem;
}

.info-strip {
  overflow: hidden;
  color: #00121f;
  background: var(--blue);
}

.info-strip-track {
  display: flex;
  width: max-content;
  padding: 10px 0;
  animation: ticker 24s linear infinite;
  font-size: 0.78rem;
  font-weight: 900;
}

.info-strip span {
  padding: 0 32px;
  white-space: nowrap;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 92px 0;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: rgba(9, 19, 33, 0.72);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.information-grid h2,
.cta-box h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.lead,
.feature-card p,
.information-copy p,
.faq-list p,
.cta-box p,
.site-footer p,
.responsible-note p {
  color: var(--muted);
}

.game-tabs {
  display: flex;
  overflow-x: auto;
  justify-content: center;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto 30px;
  padding: 8px 4px 12px;
  scrollbar-width: none;
}

.game-tabs::-webkit-scrollbar {
  display: none;
}

.tab-button {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  width: 112px;
  min-height: 118px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background:
    radial-gradient(circle at 50% 12%, rgba(24, 168, 255, 0.12), transparent 52%),
    linear-gradient(180deg, #0b1624 0%, #07101d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  scroll-snap-align: start;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.tab-button::after {
  position: absolute;
  right: 20px;
  bottom: -1px;
  left: 20px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tab-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
}

.tab-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.3));
  transition: filter 180ms ease, transform 180ms ease;
}

.tab-label {
  display: flex;
  min-height: 2.1em;
  align-items: center;
  justify-content: center;
  line-height: 1.05;
  text-align: center;
}

.tab-button:hover {
  border-color: rgba(24, 168, 255, 0.62);
  color: var(--text);
  transform: translateY(-3px);
}

.tab-button:hover .tab-icon img {
  filter: drop-shadow(0 10px 14px rgba(24, 168, 255, 0.25));
  transform: translateY(-2px) scale(1.04);
}

.tab-button.is-active {
  border-color: var(--blue);
  color: var(--text);
  background:
    radial-gradient(circle at 50% 8%, rgba(24, 168, 255, 0.28), transparent 56%),
    linear-gradient(180deg, #0d2032 0%, #081522 100%);
  box-shadow:
    0 12px 28px rgba(24, 168, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tab-button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.tab-button.is-active .tab-icon img {
  filter: drop-shadow(0 10px 15px rgba(24, 168, 255, 0.32));
  transform: scale(1.06);
}

.tab-button:focus-visible {
  outline: 3px solid rgba(24, 168, 255, 0.34);
  outline-offset: 3px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.game-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
  transition: border-color 180ms ease, transform 180ms ease;
}

.game-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.game-card[hidden] {
  display: none;
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 10;
  object-fit: contain;
  background: #101a28;
}

.game-section-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.game-section-action .button {
  min-width: 180px;
}

.promo-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

.promo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-card {
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  aspect-ratio: 1.83;
  object-fit: cover;
  transition: transform 220ms ease;
}

.image-card:hover img {
  transform: scale(1.025);
}

.image-card-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #00111c;
  background: var(--blue);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  font-size: 0.76rem;
  font-weight: 850;
  transition: background 180ms ease, transform 180ms ease;
}

.image-card-cta b {
  font-size: 0.88rem;
  line-height: 1;
}

.image-card:hover .image-card-cta {
  background: #4fc0ff;
  transform: translateY(-2px);
}

.event-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: -16px 0 18px;
}

.event-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(24, 168, 255, 0.45);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(9, 19, 33, 0.9);
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.event-arrow:hover:not(:disabled) {
  border-color: var(--blue);
  color: #00111c;
  background: var(--blue);
  transform: translateY(-2px);
}

.event-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.event-viewport {
  overflow: hidden;
}

.event-track {
  display: grid;
  grid-auto-columns: calc((100% - 36px) / 3);
  grid-auto-flow: column;
  gap: 18px;
  padding: 2px;
  backface-visibility: hidden;
  touch-action: pan-y;
  transform: translate3d(0, 0, 0);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.event-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.event-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms ease;
}

.event-card-copy {
  min-height: 82px;
  padding: 12px 14px 13px;
  transition: background-color 220ms ease;
}

.event-card h3 {
  overflow: hidden;
  margin: 0 0 3px;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card p {
  margin: 0;
  color: #657d91;
  font-size: 0.75rem;
  line-height: 1.4;
}

.event-card p span:first-child {
  font-weight: 650;
}

@media (hover: hover) and (pointer: fine) {
  .event-card:hover {
    z-index: 1;
    border-color: rgba(24, 168, 255, 0.72);
    background: #101c29;
    box-shadow:
      0 20px 42px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(24, 168, 255, 0.14),
      0 0 28px rgba(24, 168, 255, 0.14);
    transform: translateY(-6px);
  }

  .event-card:hover img {
    filter: brightness(1.06) saturate(1.1);
    transform: scale(1.025);
  }

  .event-card:hover .event-card-copy {
    background: linear-gradient(180deg, rgba(24, 168, 255, 0.08), transparent);
  }
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(24, 168, 255, 0.08), rgba(9, 19, 33, 0.85));
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.feature-card::after {
  position: absolute;
  top: 0;
  right: 20%;
  left: 20%;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: var(--blue);
  box-shadow: 0 0 18px rgba(24, 168, 255, 0.75);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 220ms ease, transform 220ms ease;
}

.feature-card > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(24, 168, 255, 0.4);
  border-radius: 50%;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  transition: color 220ms ease;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    border-color: rgba(24, 168, 255, 0.62);
    background: linear-gradient(145deg, rgba(24, 168, 255, 0.16), rgba(9, 19, 33, 0.94));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34), 0 0 28px rgba(24, 168, 255, 0.08);
    transform: translateY(-7px);
  }

  .feature-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .feature-card:hover > span {
    border-color: var(--blue);
    color: #00111c;
    background: var(--blue);
    transform: scale(1.08);
  }

  .feature-card:hover h3 {
    color: #70ccff;
  }
}

.information-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 7vw, 90px);
}

.information-grid .lead {
  max-width: 480px;
}

.information-copy {
  display: grid;
  gap: 16px;
}

.information-copy article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24, 168, 255, 0.07), rgba(9, 19, 33, 0.92));
}

.information-copy h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.05rem;
}

.information-copy p {
  margin-bottom: 0;
}

.faq-shell {
  max-width: 900px;
}

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

.faq-list details {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(24, 168, 255, 0.48);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.faq-list summary {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 14px;
  padding: 13px 58px 13px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(24, 168, 255, 0.32);
  border-radius: 50%;
  color: var(--blue);
  content: "+";
  font-size: 1.15rem;
  font-weight: 500;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-index {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #00111c;
  background: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.faq-guide-answer {
  padding: 16px;
  border-top: 1px solid var(--line);
}

.faq-guide-answer img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(24, 168, 255, 0.2);
  border-radius: 12px;
  background: #080a0d;
}

.seo-content-section {
  border-top: 1px solid var(--line);
}

.seo-content-shell {
  max-width: 1040px;
}

.seo-topic {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.seo-topic:first-child {
  padding-top: 0;
}

.seo-topic-last {
  padding-bottom: 0;
  border-bottom: 0;
}

.seo-topic h2 {
  max-width: 940px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.seo-topic > p {
  max-width: 960px;
  margin: 0 0 25px;
  line-height: 1.85;
}

.seo-topic strong {
  color: var(--ink);
}

.seo-grid,
.seo-step-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.seo-grid-two,
.seo-game-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seo-trust-grid,
.seo-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-card,
.seo-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(24, 168, 255, 0.07), rgba(9, 19, 33, 0.94));
}

.seo-card-wide {
  margin-top: 28px;
}

.seo-card h3,
.seo-step h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 1rem;
  line-height: 1.4;
}

.seo-card p,
.seo-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
}

.seo-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.seo-card li + li {
  margin-top: 11px;
}

.seo-step > span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.cta-trust-note {
  margin-top: 16px;
  color: #6f889f;
  font-size: 0.74rem;
}

.cta-section {
  padding: 0 0 92px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 6vw, 62px);
  border: 1px solid rgba(24, 168, 255, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 0, rgba(24, 168, 255, 0.22), transparent 22rem),
    var(--panel);
  box-shadow: var(--shadow);
}

.cta-box p:last-child {
  margin-bottom: 0;
}

.responsible-note {
  padding: 22px 0;
  border-block: 1px solid rgba(255, 106, 106, 0.18);
  background: rgba(72, 18, 25, 0.25);
  text-align: center;
}

.responsible-note strong {
  color: #ff8792;
}

.responsible-note p {
  display: inline;
  margin: 0 0 0 8px;
  font-size: 0.82rem;
}

.site-footer {
  padding: 58px 0 92px;
  background: #03070d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 44px;
}

.brand-footer {
  margin-bottom: 14px;
}

.footer-grid > div:first-child p {
  max-width: 360px;
}

.footer-grid h2 {
  margin: 8px 0 14px;
  color: var(--blue);
  font-size: 0.77rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #728497;
  font-size: 0.72rem;
}

.mobile-nav {
  display: none;
}

.back-to-top {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #00111c;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(24, 168, 255, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(24, 168, 255, 0.65);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .desktop-nav {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .information-grid {
    grid-template-columns: 1fr;
  }

  .event-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 68px;
  }

  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .header-inner {
    min-height: 64px;
    gap: 10px;
  }

  .brand img {
    width: 132px;
  }

  .desktop-action {
    display: none;
  }

  .hero-track {
    height: clamp(166px, 46vw, 230px);
    aspect-ratio: auto;
  }

  .hero-slide img {
    object-fit: cover;
  }

  .hero-slide:nth-child(1) img,
  .hero-slide:nth-child(3) img {
    object-position: left center;
  }

  .hero-slide:nth-child(4) img {
    object-position: right center;
  }

  .hero-carousel::after {
    height: 18%;
  }

  .hero-copy {
    padding-top: 28px;
    padding-bottom: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 8.4vw, 2.45rem);
    line-height: 1.08;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .game-tabs {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 24px;
    padding: 5px 2px 11px;
    scroll-snap-type: x proximity;
  }

  .tab-button {
    width: 86px;
    min-height: 100px;
    padding: 8px 5px 7px;
    border-radius: 15px;
    font-size: 0.72rem;
  }

  .tab-icon {
    width: 60px;
    height: 60px;
  }

  .tab-icon img {
    width: 60px;
    height: 60px;
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .seo-grid-two,
  .seo-game-grid,
  .seo-trust-grid,
  .seo-step-grid {
    grid-template-columns: 1fr;
  }

  .seo-topic {
    padding: 38px 0;
  }

  .event-track {
    grid-auto-columns: 100%;
  }

  .event-controls {
    justify-content: center;
    margin-top: -8px;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 128px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 0;
    display: grid;
    width: min(calc(100% - 24px), 620px);
    grid-template-columns: repeat(5, 1fr);
    min-height: 68px;
    margin-inline: auto;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(12, 25, 41, 0.95);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(18px);
  }

  .mobile-nav-item {
    display: grid;
    min-width: 0;
    place-content: center;
    place-items: center;
    gap: 5px;
    padding: 4px;
    border: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-size: 0.66rem;
  }

  .mobile-nav-icon {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    color: #f0f6fb;
  }

  .icon-login::before {
    position: absolute;
    top: 4px;
    left: 2px;
    width: 10px;
    height: 15px;
    border: 2px solid currentColor;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    content: "";
  }

  .icon-login i,
  .icon-download i {
    position: absolute;
    top: 11px;
    left: 8px;
    width: 13px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .icon-login i::after {
    position: absolute;
    top: -4px;
    right: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
  }

  .icon-register::before {
    position: absolute;
    top: 1px;
    left: 4px;
    width: 7px;
    height: 7px;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
  }

  .icon-register i {
    position: absolute;
    bottom: 1px;
    left: 1px;
    width: 14px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 9px 9px 4px 4px;
  }

  .icon-register::after {
    position: absolute;
    top: 5px;
    right: 0;
    content: "+";
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
  }

  .icon-download i {
    top: 2px;
    left: 11px;
    width: 2px;
    height: 13px;
  }

  .icon-download i::after {
    position: absolute;
    right: -3px;
    bottom: 0;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
  }

  .icon-download::after {
    position: absolute;
    right: 2px;
    bottom: 1px;
    left: 2px;
    height: 6px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    content: "";
  }

  .icon-contact i {
    position: absolute;
    inset: 2px 1px 5px;
    border: 2px solid currentColor;
    border-radius: 7px;
  }

  .icon-contact i::after {
    position: absolute;
    bottom: -5px;
    left: 5px;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    content: "";
    background: rgba(12, 25, 41, 0.95);
    transform: skewY(-35deg);
  }

  .mobile-nav small {
    font-size: inherit;
    line-height: 1;
  }

  .mobile-nav-logo {
    position: relative;
    display: grid;
    place-items: center;
  }

  .mobile-nav-logo img {
    position: absolute;
    top: 50%;
    width: 70px;
    height: 70px;
    border: 3px solid rgba(24, 168, 255, 0.45);
    border-radius: 50%;
    background: #07111e;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 24px rgba(24, 168, 255, 0.24);
    object-fit: cover;
    transform: translateY(-62%);
  }

  .back-to-top {
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .language-button {
    min-width: 42px;
    gap: 3px;
    padding-inline: 5px;
    font-size: 0.66rem;
  }

  .language-button span {
    font-size: 0.8rem;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .responsible-note p {
    display: block;
    margin: 5px 0 0;
  }
}

@media (max-width: 360px) {
  .brand img {
    width: 116px;
  }

  .language-button {
    min-width: 39px;
    padding-inline: 4px;
  }

  .header-actions {
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
