/* ========================================
   萤火虫电竞服务平台 - Design Tokens
   ======================================== */
:root {
  --color-primary: #C3F400;
  --color-cyan: #00EEFC;
  --color-white: #FFFFFF;
  --color-muted: #C4C9AC;
  --color-text-light: #E1E2EB;
  --color-bg: #0B0E14;
  --color-bg-section: rgba(11, 14, 20, 0.5);
  --color-card: rgba(26, 27, 35, 0.8);
  --color-card-solid: #1D2026;
  --color-border: rgba(255, 255, 255, 0.05);
  --color-border-light: rgba(255, 255, 255, 0.1);
  --color-border-step: rgba(255, 255, 255, 0.2);
  --color-tag-bg: #32353C;
  --color-step-bg: #10131A;
  --color-btn-text: #161E00;
  --color-primary-dim: rgba(195, 244, 0, 0.1);
  --color-primary-border: rgba(195, 244, 0, 0.3);
  --color-green-overlay: rgba(195, 244, 0, 0.2);
  --color-cyan-overlay: rgba(0, 238, 252, 0.2);

  --font-main: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-geist: "Segoe UI", system-ui, sans-serif;
  --font-vietnam: "Be Vietnam Pro", sans-serif;
  --font-jakarta: "Plus Jakarta Sans", sans-serif;

  --max-width: 1280px;
  --section-px: 16px;
  --header-height: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --blur-glass: blur(20px);
  --shadow-primary: 0 0 15px rgba(195, 244, 0, 0.2);
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
  background-color: #10131A;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient background lighting */
.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.ambient--green {
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--color-primary);
}

.ambient--cyan {
  top: 800px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: var(--color-cyan);
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul {
  list-style: none;
}

.main {
  position: relative;
  z-index: 1;
  padding-top: 96px;
}

/* ========================================
   Header / TopNavBar
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(16, 19, 26, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 0 15px rgba(195, 244, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 40px;
  width: auto;
  max-width: none;
  border-radius: var(--radius-sm);
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__link {
  font-family: var(--font-vietnam);
  font-size: 14px;
  line-height: 20px;
  color: rgba(225, 226, 235, 0.7);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.header__link:hover,
.header__link--active {
  color: var(--color-primary);
}

.header__link--active {
  font-weight: 700;
  border-bottom-color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__contact {
  font-family: var(--font-vietnam);
  font-size: 14px;
  line-height: 20px;
  color: rgba(225, 226, 235, 0.7);
  transition: color 0.2s;
}

.header__contact:hover {
  color: var(--color-white);
}

.header__order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-vietnam);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-btn-text);
  box-shadow: var(--shadow-primary);
  transition: opacity 0.2s;
}

.header__order:hover {
  opacity: 0.9;
}

.header__nav-actions {
  display: none;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  margin-left: auto;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--section-px);
  padding-right: var(--section-px);
}

.section {
  width: 100%;
}

.text-accent {
  color: var(--color-primary);
}

/* ========================================
   Typography
   ======================================== */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-white);
  text-align: center;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-white);
}

.section-heading--faq {
  font-family: var(--font-jakarta);
}

.section-header--left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-header__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header__title-row h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-white);
}

.section-header__subtitle {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn--primary {
  padding: 12.5px 32px 13.5px;
  background: var(--color-primary);
  color: var(--color-btn-text);
  box-shadow: var(--shadow-primary);
}

.btn--outline-cyan {
  padding: 12px 32px;
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
  font-weight: 400;
}

.btn--sm {
  padding: 8px 24px;
  font-size: 14px;
  line-height: 20px;
  border-radius: var(--radius-sm);
}

/* ========================================
   1. Banner
   ======================================== */
.banner {
  padding: 135.5px var(--section-px) 183.5px;
}

.banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 500px;
}

.banner__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--color-primary-dim);
  border: 1px solid var(--color-primary-border);
  border-radius: 9999px;
  width: fit-content;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.badge__text {
  font-family: var(--font-geist);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--color-white);
}

.banner__desc {
  max-width: 512px;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-muted);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.feature-list__item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 20px;
}

.banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
}

.banner__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.visual-card {
  position: relative;
  width: 100%;
  aspect-ratio: 632 / 500;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: linear-gradient(35deg, #0B0E14 0%, #10131A 50%, #1D2026 100%);
  overflow: visible;
}

.visual-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  border-radius: var(--radius-xl);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  z-index: 2;
}

.floating-card--order {
  top: 8%;
  left: -3.5%;
}

.floating-card--status {
  bottom: 15%;
  right: -3%;
}

.floating-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.floating-card__icon--green {
  background: var(--color-green-overlay);
}

.floating-card__icon--cyan {
  background: var(--color-cyan-overlay);
}

.floating-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-card__label {
  font-family: var(--font-geist);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.floating-card__value {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-white);
}

.floating-card__value--cyan {
  font-family: var(--font-vietnam);
  color: var(--color-cyan);
}

/* ========================================
   2. Popular Games
   ======================================== */
.games {
  padding: 48px var(--section-px);
}

.games .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

.game-card__cover {
  position: relative;
  height: 128px;
  background: var(--color-card-solid);
  overflow: hidden;
}

.game-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.game-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26, 27, 35, 1) 0%, rgba(26, 27, 35, 0) 100%);
}

.game-card__name {
  position: absolute;
  left: 16px;
  bottom: 8px;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-white);
  z-index: 1;
}

.game-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.game-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 8px;
  background: var(--color-tag-bg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.game-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 20px;
  transition: background 0.2s;
}

.game-card__btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.game-card--more {
  align-items: center;
  justify-content: center;
  padding: 67px 16px;
  text-align: center;
}

.game-card__more-icon {
  margin-bottom: 8px;
  opacity: 0.8;
}

.game-card__more-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.game-card__more-desc {
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  opacity: 0.7;
}

/* ========================================
   3. Services Bento
   ======================================== */
.services {
  padding: 64px var(--section-px);
}

.services .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 26px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  overflow: hidden;
}

.bento-card--large {
  grid-column: 1 / 9;
  grid-row: 1;
  justify-content: flex-end;
  padding: 122px 32px 32px;
  min-height: 324px;
}

.bento-card--tall {
  grid-column: 9 / 13;
  grid-row: 1;
  justify-content: center;
  padding: 83px 32px;
}

.bento-card--small {
  grid-row: 2;
  gap: 4px;
  padding: 24px;
}

.bento-card--small:nth-child(3) {
  grid-column: 1 / 5;
}

.bento-card--small:nth-child(4) {
  grid-column: 5 / 9;
}

.bento-card--small:nth-child(5) {
  grid-column: 9 / 13;
}

.bento-card__glow {
  position: absolute;
  top: -58px;
  right: -58px;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: var(--color-primary-dim);
  filter: blur(80px);
  pointer-events: none;
}

.bento-card__icon {
  margin-bottom: 16px;
}

.bento-card__icon--wide {
  width: 100%;
  max-width: 448px;
  height: 28px;
  object-fit: contain;
  object-position: left;
}

.bento-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-tag-bg);
  border-radius: 50%;
  margin-bottom: 12px;
}

.bento-card h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.bento-card--small h3 {
  font-size: 16px;
  line-height: 24px;
  padding-top: 0;
  margin-bottom: 0;
}

.bento-card--tall h3 {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
  max-width: 448px;
}

.bento-card--tall p {
  padding-right: 12px;
}

/* ========================================
   5. Order Flow
   ======================================== */
.order-flow {
  padding: 64px 0;
  background: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.order-flow .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.steps__line {
  position: absolute;
  top: 24px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(195, 244, 0, 0.2) 0%,
    rgba(195, 244, 0, 1) 50%,
    rgba(0, 238, 252, 0.2) 100%
  );
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 128px;
  flex-shrink: 0;
}

.step__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-step-bg);
  border: 2px solid var(--color-border-step);
  font-family: var(--font-vietnam);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
}

.step--active .step__circle {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-primary);
}

.step__label {
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
  text-align: center;
}

.step--active .step__label {
  font-weight: 700;
  color: var(--color-white);
}

/* ========================================
   6. Partnership & FAQ
   ======================================== */
.partnership-faq {
  padding: 64px var(--section-px) 81px;
}

.partnership-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.partnership {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  overflow: hidden;
}

.partner-card__gradient {
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-xl) - 1px);
  opacity: 0.2;
  pointer-events: none;
}

.partner-card--green .partner-card__gradient {
  background: linear-gradient(172deg, rgba(195, 244, 0, 1) 0%, rgba(195, 244, 0, 0) 100%);
}

.partner-card--cyan .partner-card__gradient {
  background: linear-gradient(172deg, rgba(0, 238, 252, 1) 0%, rgba(0, 238, 252, 0) 100%);
}

.partner-card__icon {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}

.partner-card h3 {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-white);
}

.partner-card p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.partner-card .btn {
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  overflow: hidden;
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__content {
  padding: 0 20px 20px;
  border-top: 1px solid var(--color-border);
}

.faq-item__content p {
  padding-top: 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px var(--section-px) 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer__logo-img {
  height: 56px;
  width: auto;
  max-width: none;
  border-radius: var(--radius-sm);
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__copyright {
  font-family: var(--font-vietnam);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 40px;
}

.footer__links a {
  font-family: var(--font-vietnam);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--color-white);
}

/* ========================================
   FAB - Customer Service
   ======================================== */
.fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-tag-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(195, 244, 0, 0.3);
}

.fab__glow {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.2;
  filter: blur(8px);
  pointer-events: none;
}

.fab img {
  position: relative;
  z-index: 1;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1200px) {
  .header__nav {
    gap: 16px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card--large {
    grid-column: 1 / 8;
  }

  .bento-card--tall {
    grid-column: 8 / 13;
  }

  .floating-card--order {
    left: 0;
  }

  .floating-card--status {
    right: 0;
  }
}

@media (max-width: 1050px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--section-px) 16px;
    background: rgba(16, 19, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__link {
    padding: 12px 0;
    border-bottom: none;
  }

  .header__actions {
    display: none;
  }

  .header__nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__nav-actions .header__order {
    width: 100%;
    text-align: center;
  }

  .header__inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 992px) {
  .main {
    padding-top: 72px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__links {
    padding-bottom: 0;
  }

  .banner {
    padding: 64px var(--section-px) 80px;
  }

  .banner__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 40px;
  }

  .banner__visual {
    min-height: 320px;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .bento-card--large,
  .bento-card--tall,
  .bento-card--small {
    grid-column: auto;
    grid-row: auto;
    min-height: auto;
    padding: 32px 24px;
  }

  .bento-card--large {
    grid-column: 1 / -1;
  }

  .partnership-faq__grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 16px;
  }

  .steps__line {
    display: none;
  }

  .step {
    width: calc(33.333% - 12px);
    min-width: 100px;
  }
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .fab {
    right: 16px;
    bottom: 16px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-list {
    gap: 12px;
  }

  .feature-list__item {
    flex: 0 0 calc(50% - 6px);
  }

  .banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .banner__actions .btn {
    justify-content: center;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--large,
  .bento-card--tall,
  .bento-card--small {
    grid-column: 1;
  }

  .step {
    width: calc(50% - 8px);
  }

  .floating-card {
    padding: 12px;
  }

  .floating-card--order {
    top: 5%;
    left: 2%;
  }

  .floating-card--status {
    bottom: 8%;
    right: 2%;
  }
}

@media (max-width: 480px) {
  .banner__title {
    font-size: 32px;
  }

  .banner__desc {
    font-size: 16px;
    line-height: 24px;
  }

  .feature-list__item {
    flex: 0 0 100%;
  }

  .step {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
  }

  .step__label {
    text-align: left;
  }

  .games,
  .services,
  .partnership-faq {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .order-flow {
    padding: 40px 0;
  }
}
