/* Body-only layout refresh. Navbar and footer are not targeted here. */

:root {
  --bd-line: rgba(148, 163, 184, 0.18);
  --bd-line-strong: rgba(34, 211, 238, 0.32);
  --bd-panel: rgba(9, 15, 32, 0.82);
  --bd-panel-solid: #0a1022;
  --bd-panel-soft: rgba(15, 23, 42, 0.58);
  --bd-text-soft: rgba(203, 213, 225, 0.82);
}

body {
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.025) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #050816 0%, #070d1f 42%, #050816 100%) !important;
  background-size: 120px 120px, auto !important;
}

@media (min-width: 1200px) {
  .navbar .container {
    max-width: min(100% - 28px, 1380px);
  }

  .navbar-nav {
    flex-wrap: nowrap;
    gap: 0 !important;
  }

  .navbar .nav-link {
    white-space: nowrap;
    font-size: 0.78rem !important;
    padding-left: 0.44rem !important;
    padding-right: 0.44rem !important;
  }

  .navbar .btn-gold {
    white-space: nowrap;
    padding: 0.48rem 0.9rem !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 1199px) {
  .navbar-collapse {
    padding-top: 0.85rem;
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: 0.35rem !important;
  }

  .navbar .nav-link,
  .navbar .btn-gold {
    display: block;
    width: 100%;
    text-align: left;
  }
}

body > .divider {
  display: none;
}

body > .breadcrumb-wrap {
  padding: 0 !important;
  background: rgba(5, 8, 22, 0.92) !important;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

body > .breadcrumb-wrap .container {
  max-width: 1180px;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

body > .breadcrumb-wrap .breadcrumb {
  margin: 0;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

body > .breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
  color: var(--gold);
  content: "/";
}

body > .breadcrumb-wrap + .page-hero,
body > .hero {
  position: relative;
  min-height: min(70vh, 720px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 128px) !important;
  padding-bottom: clamp(78px, 9vw, 136px) !important;
  border-bottom: 1px solid rgba(34, 211, 238, 0.14) !important;
  background:
    linear-gradient(115deg, rgba(5, 8, 22, 0.98) 0%, rgba(5, 8, 22, 0.95) 54%, rgba(7, 18, 34, 0.86) 54%, rgba(5, 8, 22, 0.98) 100%),
    radial-gradient(circle at 84% 22%, rgba(34, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at 68% 78%, rgba(250, 204, 21, 0.12), transparent 30%),
    #050816 !important;
}

body > .breadcrumb-wrap + .page-hero::before,
body > .hero::before {
  content: "";
  position: absolute;
  inset: 14% 6vw auto auto;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(34, 211, 238, 0.12) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(250, 204, 21, 0.12) 50%, transparent 51%);
  opacity: 0.75;
  z-index: -1;
}

body > .breadcrumb-wrap + .page-hero::after,
body > .hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46px;
  background: linear-gradient(135deg, transparent 0 48%, rgba(34, 211, 238, 0.12) 48% 52%, transparent 52% 100%);
  z-index: -1;
}

body > .breadcrumb-wrap + .page-hero .container,
body > .hero .container {
  position: relative;
  z-index: 1;
}

body > .breadcrumb-wrap + .page-hero > .container > .row,
body > .hero > .container > .row {
  row-gap: 2.5rem;
}

body > .breadcrumb-wrap + .page-hero .hero-badge,
body > .hero .hero-badge {
  border-radius: 8px !important;
  border-color: rgba(250, 204, 21, 0.28) !important;
  background: rgba(250, 204, 21, 0.09) !important;
}

body > .breadcrumb-wrap + .page-hero h1,
body > .hero h1 {
  max-width: 900px;
  letter-spacing: 0 !important;
}

body > .hero .hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem !important;
  width: min(100%, 680px);
}

body > .hero .hero-stat {
  margin: 0 !important;
  padding: 1rem !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(9, 15, 32, 0.7) !important;
}

body > section:not(.hero) {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 7vw, 104px) !important;
  padding-bottom: clamp(64px, 7vw, 104px) !important;
  background: transparent !important;
}

body > section:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.22), transparent);
}

body > section:not(.hero):nth-of-type(odd) {
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.045), transparent 42%),
    rgba(5, 8, 22, 0.18) !important;
}

body > section:not(.hero):nth-of-type(even) {
  background:
    linear-gradient(270deg, rgba(250, 204, 21, 0.04), transparent 44%),
    rgba(10, 16, 34, 0.28) !important;
}

body > section:not(.hero) > .container {
  position: relative;
  z-index: 1;
}

body > section:not(.hero) .text-center.mb-5,
body > section:not(.hero) .text-center.mb-4,
body > section:not(.hero) > .container > .text-center {
  max-width: 960px;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

body > section:not(.hero) .section-label {
  width: fit-content;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.06);
  letter-spacing: 0.08em !important;
}

body > section:not(.hero) .section-title {
  max-width: 850px;
  letter-spacing: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

body > section:not(.hero) .section-sub {
  max-width: 760px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  color: var(--bd-text-soft) !important;
}

body > section:not(.hero) .row.g-4,
body > section:not(.hero) .row.g-3,
body > section:not(.hero) .row.row-cols-2 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  display: grid !important;
  gap: clamp(1rem, 2vw, 1.35rem);
  background: transparent !important;
  border: 0 !important;
}

body > section:not(.hero) .row.g-4 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body > section:not(.hero) .row.g-3,
body > section:not(.hero) .row.row-cols-2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body > section:not(.hero) .row.g-4 > [class*="col-"],
body > section:not(.hero) .row.g-3 > [class*="col"],
body > section:not(.hero) .row.row-cols-2 > [class*="col"] {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  grid-column: auto !important;
  background: transparent !important;
}

body > section:not(.hero) [class*="-card"],
body > section:not(.hero) [class*="-box"],
body > section:not(.hero) [class*="-wrap"],
body > section:not(.hero) .accordion-item,
body > section:not(.hero) .content-section,
body > section:not(.hero) .terms-section,
body > section:not(.hero) .policy-section,
body > section:not(.hero) .prose {
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18) !important;
}

body > section:not(.hero) .feature-card,
body > section:not(.hero) .game-card,
body > section:not(.hero) .review-card,
body > section:not(.hero) .team-card,
body > section:not(.hero) .value-card,
body > section:not(.hero) .contact-card,
body > section:not(.hero) .method-card,
body > section:not(.hero) .stat-card,
body > section:not(.hero) .pricing-card,
body > section:not(.hero) .testimonial-card,
body > section:not(.hero) .rg-card,
body > section:not(.hero) .step-card,
body > section:not(.hero) .bonus-card,
body > section:not(.hero) .payment-card,
body > section:not(.hero) .download-card {
  min-height: 100%;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.055), transparent 38%),
    linear-gradient(180deg, rgba(12, 18, 38, 0.9), rgba(7, 12, 27, 0.92)) !important;
}

body > section:not(.hero) .feature-card,
body > section:not(.hero) .review-card,
body > section:not(.hero) .team-card,
body > section:not(.hero) .value-card,
body > section:not(.hero) .contact-card,
body > section:not(.hero) .method-card,
body > section:not(.hero) .stat-card,
body > section:not(.hero) .rg-card,
body > section:not(.hero) .step-card {
  padding: clamp(1.25rem, 2.3vw, 2rem) !important;
}

body > section:not(.hero) .feature-card:hover,
body > section:not(.hero) .game-card:hover,
body > section:not(.hero) .review-card:hover,
body > section:not(.hero) .team-card:hover,
body > section:not(.hero) .value-card:hover,
body > section:not(.hero) .contact-card:hover,
body > section:not(.hero) .method-card:hover,
body > section:not(.hero) .stat-card:hover,
body > section:not(.hero) .pricing-card:hover,
body > section:not(.hero) .testimonial-card:hover,
body > section:not(.hero) .rg-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(34, 211, 238, 0.34) !important;
  background:
    linear-gradient(145deg, rgba(250, 204, 21, 0.075), transparent 40%),
    linear-gradient(180deg, rgba(14, 22, 45, 0.94), rgba(7, 12, 27, 0.96)) !important;
}

body > section:not(.hero) .feature-icon,
body > section:not(.hero) .step-icon,
body > section:not(.hero) .step-num-circle {
  border-radius: 8px !important;
}

body > section:not(.hero) .game-thumb {
  border-radius: 8px 8px 0 0 !important;
  min-height: 190px;
}

body > section:not(.hero) .game-body {
  padding: clamp(1.2rem, 2vw, 1.75rem) !important;
}

body > section:not(.hero) .cat-tab,
body > section:not(.hero) .filter-btn,
body > section:not(.hero) .faq-category-btn,
body > section:not(.hero) .btn {
  border-radius: 8px !important;
}

body > section:not(.hero) .prose,
body > section:not(.hero) .content-section,
body > section:not(.hero) .terms-section,
body > section:not(.hero) .policy-section {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.2rem, 3.5vw, 3rem) !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-left: 4px solid rgba(34, 211, 238, 0.52) !important;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.06), transparent 32%),
    rgba(9, 15, 32, 0.72) !important;
}

body > section:not(.hero) .content-section + .content-section,
body > section:not(.hero) .terms-section + .terms-section,
body > section:not(.hero) .policy-section + .policy-section {
  margin-top: 1.25rem;
}

body > section:not(.hero) .accordion {
  display: grid;
  gap: 0.85rem;
}

body > section:not(.hero) .accordion-item {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: rgba(9, 15, 32, 0.74) !important;
}

body > section:not(.hero) .accordion-button {
  border-radius: 8px !important;
}

body > section:not(.hero) .toc-card {
  border-left-width: 4px !important;
  background: rgba(9, 15, 32, 0.86) !important;
}

body > section:not(.hero) .timeline {
  padding-left: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body > section:not(.hero) .timeline::before,
body > section:not(.hero) .timeline-dot {
  display: none !important;
}

body > section:not(.hero) .timeline-item {
  margin: 0 !important;
  padding: 1.35rem !important;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(9, 15, 32, 0.74) !important;
}

body > section:not(.hero) .compare-table {
  border-radius: 8px !important;
  overflow: hidden;
}

body > section:not(.hero) > .container > .row.align-items-center:not(.g-4),
body > section:not(.hero) > .container > .row.align-items-start:not(.g-4),
body > section:not(.hero) > .container > .row.gy-5.align-items-center,
body > section:not(.hero) > .container > .row.gy-5.align-items-start {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(1.4rem, 3.5vw, 3rem) !important;
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
}

body > section:not(.hero) > .container > .row.align-items-center:not(.g-4) > [class*="col-"],
body > section:not(.hero) > .container > .row.align-items-start:not(.g-4) > [class*="col-"],
body > section:not(.hero) > .container > .row.gy-5.align-items-center > [class*="col-"],
body > section:not(.hero) > .container > .row.gy-5.align-items-start > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
}

body > section:not(.hero) > .container.text-center {
  max-width: min(100% - 32px, 1180px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  text-align: left !important;
  padding: clamp(1.5rem, 3.6vw, 2.7rem) !important;
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(250, 204, 21, 0.08), transparent 46%),
    rgba(9, 15, 32, 0.76);
}

body > section:not(.hero) > .container.text-center .section-label,
body > section:not(.hero) > .container.text-center .section-title,
body > section:not(.hero) > .container.text-center .section-sub {
  grid-column: 1;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body > section:not(.hero) > .container.text-center .d-flex {
  grid-column: 1;
  grid-row: auto;
  justify-content: flex-start !important;
}

@media (min-width: 992px) {
  body > .hero > .container > .row:has(> [class*="col-"]:nth-child(2)),
  body > .breadcrumb-wrap + .page-hero > .container > .row:has(> [class*="col-"]:nth-child(2)) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
    align-items: center !important;
    gap: clamp(2rem, 5vw, 5rem) !important;
  }

  body > .hero > .container > .row:has(> [class*="col-"]:nth-child(2)) > [class*="col-"],
  body > .breadcrumb-wrap + .page-hero > .container > .row:has(> [class*="col-"]:nth-child(2)) > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
  }

  body > .hero > .container > .row:has(> [class*="col-"]:nth-child(2)) > [class*="col-"]:last-child,
  body > .breadcrumb-wrap + .page-hero > .container > .row:has(> [class*="col-"]:nth-child(2)) > [class*="col-"]:last-child {
    justify-self: end;
    transform: translateY(14px);
  }

  body > section:not(.hero) .text-center.mb-5,
  body > section:not(.hero) .text-center.mb-4,
  body > section:not(.hero) > .container > .text-center {
    display: block;
  }

  body > section:not(.hero) .text-center.mb-5 .section-label,
  body > section:not(.hero) .text-center.mb-4 .section-label,
  body > section:not(.hero) > .container > .text-center .section-label {
    margin-top: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 991px) {
  body > .breadcrumb-wrap + .page-hero,
  body > .hero {
    min-height: auto;
  }

  body > section:not(.hero) .row.g-4,
  body > section:not(.hero) .row.g-3,
  body > section:not(.hero) .row.row-cols-2,
  body > section:not(.hero) .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body > section:not(.hero) > .container > .row.align-items-center:not(.g-4),
  body > section:not(.hero) > .container > .row.align-items-start:not(.g-4),
  body > section:not(.hero) > .container > .row.gy-5.align-items-center,
  body > section:not(.hero) > .container > .row.gy-5.align-items-start,
  body > section:not(.hero) > .container.text-center {
    grid-template-columns: 1fr;
  }

  body > section:not(.hero) > .container.text-center .d-flex {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  body > .breadcrumb-wrap + .page-hero,
  body > .hero {
    padding-top: 58px !important;
    padding-bottom: 68px !important;
  }

  body > .hero .hero-stats,
  body > section:not(.hero) .row.g-4,
  body > section:not(.hero) .row.g-3,
  body > section:not(.hero) .row.row-cols-2,
  body > section:not(.hero) .timeline {
    grid-template-columns: 1fr;
  }

  body > section:not(.hero) {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
}
