/* Linear-inspired theme + brand palette — tokens loaded via <link> in HTML */

*, *::before, *::after { box-sizing: border-box; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html {
  scroll-behavior: smooth;
  background: var(--color-bg-primary);
  scroll-padding-top: calc(var(--header-height) + 24px);
}

/* ---- Keyframes: alive, not stiff ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes configure-region-card-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-regular-size);
  line-height: var(--text-regular-line);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

main { position: relative; z-index: 1; background: transparent; perspective: 1000px; }

/* Scroll- and load-triggered reveal (Linear fade-up) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.reveal--delay-1 { transition-delay: 0.1s; }
.reveal.reveal--delay-2 { transition-delay: 0.2s; }
.reveal.reveal--delay-3 { transition-delay: 0.3s; }
.reveal.reveal--delay-4 { transition-delay: 0.4s; }
.reveal.reveal--delay-5 { transition-delay: 0.5s; }
.reveal.reveal--delay-6 { transition-delay: 0.6s; }
.reveal.reveal--delay-7 { transition-delay: 0.7s; }
.reveal.reveal--delay-8 { transition-delay: 0.8s; }
.reveal.reveal--delay-9 { transition-delay: 0.9s; }
.reveal.reveal--delay-10 { transition-delay: 1s; }
.reveal.reveal--delay-11 { transition-delay: 1.1s; }
.reveal.reveal--delay-12 { transition-delay: 1.2s; }
.reveal.reveal--delay-13 { transition-delay: 1.3s; }
.reveal.reveal--delay-14 { transition-delay: 1.4s; }
.reveal.reveal--delay-15 { transition-delay: 1.5s; }
.reveal.reveal--delay-16 { transition-delay: 1.6s; }
.reveal.reveal--delay-17 { transition-delay: 1.7s; }
.reveal.reveal--delay-18 { transition-delay: 1.8s; }
.reveal.reveal--delay-19 { transition-delay: 1.9s; }
.reveal.reveal--delay-20 { transition-delay: 2s; }
.reveal.reveal--delay-21 { transition-delay: 2.1s; }
.reveal.reveal--delay-22 { transition-delay: 2.2s; }
.reveal.reveal--delay-23 { transition-delay: 2.3s; }
.reveal.reveal--delay-24 { transition-delay: 2.4s; }
.reveal.reveal--delay-25 { transition-delay: 2.5s; }
.reveal.reveal--delay-26 { transition-delay: 2.6s; }
.reveal.reveal--delay-27 { transition-delay: 2.7s; }
.reveal.reveal--delay-28 { transition-delay: 2.8s; }
.reveal.reveal--delay-29 { transition-delay: 2.9s; }
.reveal.reveal--delay-30 { transition-delay: 3s; }
.reveal.reveal--delay-31 { transition-delay: 3.1s; }
.reveal.reveal--delay-32 { transition-delay: 3.2s; }
.reveal.reveal--delay-33 { transition-delay: 3.3s; }
.reveal.reveal--delay-34 { transition-delay: 3.4s; }
.reveal.reveal--delay-35 { transition-delay: 3.5s; }
.reveal.reveal--delay-36 { transition-delay: 3.6s; }
.reveal.reveal--delay-37 { transition-delay: 3.7s; }
.reveal.reveal--delay-38 { transition-delay: 3.8s; }
.reveal.reveal--delay-39 { transition-delay: 3.9s; }
.reveal.reveal--delay-40 { transition-delay: 4s; }
.reveal.reveal--delay-41 { transition-delay: 4.1s; }
.reveal.reveal--delay-42 { transition-delay: 4.2s; }
.reveal.reveal--delay-43 { transition-delay: 4.3s; }
.reveal.reveal--delay-44 { transition-delay: 4.4s; }
.reveal.reveal--delay-45 { transition-delay: 4.5s; }
.reveal.reveal--delay-46 { transition-delay: 4.6s; }
.reveal.reveal--delay-47 { transition-delay: 4.7s; }
.reveal.reveal--delay-48 { transition-delay: 4.8s; }
.reveal.reveal--delay-49 { transition-delay: 4.9s; }
.reveal.reveal--delay-50 { transition-delay: 5s; }
.reveal.reveal--delay-51 { transition-delay: 5.1s; }
.reveal.reveal--delay-52 { transition-delay: 5.2s; }
.reveal.reveal--delay-53 { transition-delay: 5.3s; }
.reveal.reveal--delay-54 { transition-delay: 5.4s; }
.reveal.reveal--delay-55 { transition-delay: 5.5s; }
.reveal.reveal--delay-56 { transition-delay: 5.6s; }
.reveal.reveal--delay-57 { transition-delay: 5.7s; }
.reveal.reveal--delay-58 { transition-delay: 5.8s; }
.reveal.reveal--delay-59 { transition-delay: 5.9s; }
.reveal.reveal--delay-60 { transition-delay: 6s; }
.reveal.reveal--delay-61 { transition-delay: 6.1s; }
.reveal.reveal--delay-62 { transition-delay: 6.2s; }
.reveal.reveal--delay-63 { transition-delay: 6.3s; }
.reveal.reveal--delay-64 { transition-delay: 6.4s; }
.reveal.reveal--delay-65 { transition-delay: 6.5s; }
.reveal.reveal--delay-66 { transition-delay: 6.6s; }
.reveal.reveal--delay-67 { transition-delay: 6.7s; }
.reveal.reveal--delay-68 { transition-delay: 6.8s; }
.reveal.reveal--delay-69 { transition-delay: 6.9s; }
.reveal.reveal--delay-70 { transition-delay: 7s; }
.reveal.reveal--delay-71 { transition-delay: 7.1s; }
.reveal.reveal--delay-72 { transition-delay: 7.2s; }
.reveal.reveal--delay-73 { transition-delay: 7.3s; }
.reveal.reveal--delay-74 { transition-delay: 7.4s; }
.reveal.reveal--delay-75 { transition-delay: 7.5s; }
.reveal.reveal--delay-76 { transition-delay: 7.6s; }
.reveal.reveal--delay-77 { transition-delay: 7.7s; }
.reveal.reveal--delay-78 { transition-delay: 7.8s; }
.reveal.reveal--delay-79 { transition-delay: 7.9s; }
.reveal.reveal--delay-80 { transition-delay: 8s; }
.reveal.reveal--delay-81 { transition-delay: 8.1s; }
.reveal.reveal--delay-82 { transition-delay: 8.2s; }
.reveal.reveal--delay-83 { transition-delay: 8.3s; }
.reveal.reveal--delay-84 { transition-delay: 8.4s; }
.reveal.reveal--delay-85 { transition-delay: 8.5s; }
.reveal.reveal--delay-86 { transition-delay: 8.6s; }
.reveal.reveal--delay-87 { transition-delay: 8.7s; }
.reveal.reveal--delay-88 { transition-delay: 8.8s; }
.reveal.reveal--delay-89 { transition-delay: 8.9s; }
.reveal.reveal--delay-90 { transition-delay: 9s; }
.reveal.reveal--delay-91 { transition-delay: 9.1s; }
.reveal.reveal--delay-92 { transition-delay: 9.2s; }
.reveal.reveal--delay-93 { transition-delay: 9.3s; }
.reveal.reveal--delay-94 { transition-delay: 9.4s; }
.reveal.reveal--delay-95 { transition-delay: 9.5s; }
.reveal.reveal--delay-96 { transition-delay: 9.6s; }
.reveal.reveal--delay-97 { transition-delay: 9.7s; }
.reveal.reveal--delay-98 { transition-delay: 9.8s; }
.reveal.reveal--delay-99 { transition-delay: 9.9s; }
.reveal.reveal--delay-100 { transition-delay: 10s; }

a { color: var(--white); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--white-dark); }

/* ---- Top shine (Pen 1: bright line at top of card) ---- */
.card-shine,
.hero-card-shine,
.intro-card-shine,
.product-card-shine,
.features-card-shine,
.perk-card-shine,
.support-card-shine,
.faq-card-shine,
.cta-card-shine,
.static-page-card-shine,
.footer-card-shine,
.header-shine {
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  z-index: 1;
  pointer-events: none;
}

/* ---- Header + Nav: floaty dock container on scroll ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0;
  padding: var(--space-xs) var(--page-padding-x);
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  animation: fadeInUp 0.7s var(--ease-out-expo) 0.05s forwards;
}

.header.is-dock,
.header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

.header.is-dock .nav,
.header.is-scrolled .nav {
  background: rgba(19, 19, 19, 0.88);
  border: 1px solid var(--color-border-translucent);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-shine { display: none; }

.nav {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-xs) var(--space-md);
  min-height: calc(var(--header-height) - var(--space-xs) * 2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius-2xl);
  box-shadow: none;
  background: transparent;
  transition: background var(--speed-slow) var(--ease-out-expo),
    border-color var(--speed-slow) var(--ease-out-expo),
    border-radius var(--speed-slow) var(--ease-out-expo),
    box-shadow var(--speed-slow) var(--ease-out-expo),
    backdrop-filter var(--speed-slow) var(--ease-out-expo);
}

.nav-right { display: flex; align-items: center; gap: var(--space-md); flex-wrap: nowrap; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo picture { display: flex; align-items: center; }
.logo-img-full { display: block; height: 2.85rem; width: auto; }

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: nowrap;
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: inherit;
  font-size: var(--text-small-size);
  font-weight: var(--font-weight-medium);
  color: var(--white);
  background: none;
  border: none;
  padding: 0.4rem 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color var(--speed-quick) var(--ease-out-quad), background var(--speed-quick) var(--ease-out-quad);
  white-space: nowrap;
}
.nav-dropdown-trigger:hover { color: var(--white); }
.nav-dropdown.is-open .nav-dropdown-trigger { color: var(--white); }
.nav-chevron {
  font-size: 0.6rem;
  opacity: 1;
  color: var(--white);
  transition: transform 0.2s ease;
  margin-left: 0.15rem;
}
.nav-dropdown.is-open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0.5rem 0 0;
  padding: 0.35rem;
  min-width: 11rem;
  width: max-content;
  list-style: none;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border-translucent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--speed-regular) var(--ease-out-quad),
    visibility var(--speed-regular) var(--ease-out-quad),
    transform var(--speed-regular) var(--ease-out-expo);
  z-index: 200;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  font-size: 0.8125rem;
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-xl);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-menu a:first-of-type { margin-top: 0; }
.nav-dropdown-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
}
.nav-dropdown-menu .dropdown-item-icon {
  width: 1rem;
  height: 1rem;
  font-size: 0.75rem;
  opacity: 0.9;
  color: var(--white);
  text-align: center;
  flex-shrink: 0;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
img.dropdown-item-icon {
  font-size: 0;
  color: transparent;
}

/* Game hosting dropdown: 3 per row grid (open only) */
.nav-dropdown.is-open #dropdown-game {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.15rem 0.5rem;
  min-width: 18rem;
  padding: 0.5rem;
}
#dropdown-game a {
  margin: 0;
}
#dropdown-game .dropdown-item-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
#dropdown-game .dropdown-item-tag {
  flex-shrink: 0;
  padding: 0.12rem 0.35rem;
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-rounded);
}
#dropdown-game .dropdown-item-tag--new {
  color: #fff;
  background: var(--blue);
}
#dropdown-game .dropdown-view-all {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--color-border-translucent, rgba(255, 255, 255, 0.08));
}
#dropdown-game .dropdown-view-all a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  font-weight: var(--font-weight-medium);
}
#dropdown-game .dropdown-view-all .dropdown-item-icon {
  margin-left: auto;
}

.nav-icon { font-size: 0.75rem; opacity: 1; color: var(--white); }

/* Primary CTA — pill button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  height: var(--button-height);
  padding: var(--button-padding);
  font-family: inherit;
  font-size: var(--button-font-size);
  font-weight: var(--font-weight-medium);
  border-radius: var(--button-radius);
  border: none;
  background: var(--color-accent);
  color: var(--brand-white);
  cursor: pointer;
  transition: background var(--speed-regular) var(--ease-out-quad);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  color: var(--brand-white);
}
a.nav-cta {
  text-decoration: none;
  display: inline-flex;
}
.nav-cta-icon { font-size: 0.75rem; line-height: 1; }

/* ---- Buttons (Linear pill + secondary) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  height: var(--button-height);
  padding: var(--button-padding);
  font-family: inherit;
  font-size: var(--button-font-size);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  white-space: nowrap;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.33, 1, 0.32, 1),
    background var(--speed-regular) var(--ease-out-quad),
    border-color var(--speed-regular) var(--ease-out-quad),
    color var(--speed-regular) var(--ease-out-quad);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--brand-white);
  border: 1px solid transparent;
}
.btn-primary:hover:not(:disabled) {
  color: var(--brand-white);
}
.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-translucent);
}
.btn-secondary:hover {
  background: var(--card-bg-hover);
  border-color: var(--color-border-highlight);
  color: var(--color-text-primary);
}

/* ---- Hero: title + carousel + CTA ---- */
.hero-game-background {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, calc(var(--page-max-width) + var(--page-padding-x) * 2));
  height: 44rem;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 62%,
    rgba(0, 0, 0, 0.6) 78%,
    rgba(0, 0, 0, 0.18) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 62%,
    rgba(0, 0, 0, 0.6) 78%,
    rgba(0, 0, 0, 0.18) 90%,
    transparent 100%
  );
}
.page-home .hero {
  overflow: visible;
}
.page-home .hero-panel {
  position: relative;
}

.page-home.hero-booting .hero-panel > .hero-content,
.page-home.hero-booting .hero-panel > .hero-game-background {
  opacity: 0;
}

.page-home.hero-ready .hero-panel > .hero-content,
.page-home.hero-ready .hero-panel > .hero-game-background {
  opacity: 1;
  transition: opacity 0.25s var(--ease-out-quad);
}

@media (prefers-reduced-motion: reduce) {
  .page-home.hero-ready .hero-panel > .hero-content,
  .page-home.hero-ready .hero-panel > .hero-game-background {
    transition: none;
  }
}

.page-home .hero-game-background {
  /* Pull up through sticky header + hero padding so the image meets the viewport top */
  top: calc(-1 * (var(--header-height) + var(--space-md) + var(--space-xs) * 2));
  height: calc(100% + var(--header-height) + var(--space-md) + var(--space-xs) * 2);
  max-height: none;
}
.page-home .hero-game-background--height-locked {
  max-height: none;
}
.page-home .hero-game-background__layer {
  background-position: center top;
}
.page-configure .configure-section {
  overflow: visible;
}
.page-configure .hero-game-background {
  top: calc(-1 * (var(--header-height) + var(--space-md)));
  height: calc(100% + var(--header-height) + var(--space-md));
  max-height: none;
}
.hero-game-background__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(
    ellipse 62% 54% at 50% 24%,
    #000 0%,
    rgba(0, 0, 0, 0.82) 22%,
    rgba(0, 0, 0, 0.48) 42%,
    rgba(0, 0, 0, 0.18) 58%,
    rgba(0, 0, 0, 0.04) 72%,
    transparent 86%
  );
  mask-image: radial-gradient(
    ellipse 62% 54% at 50% 24%,
    #000 0%,
    rgba(0, 0, 0, 0.82) 22%,
    rgba(0, 0, 0, 0.48) 42%,
    rgba(0, 0, 0, 0.18) 58%,
    rgba(0, 0, 0, 0.04) 72%,
    transparent 86%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.hero-game-background__layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 38%;
  opacity: 0;
  transition: opacity 0.55s var(--ease-out-quad);
  filter: brightness(0.65) saturate(0.78);
}
.hero-game-background__layer.is-active {
  opacity: var(--hero-bg-opacity, 0.36);
}
.hero-game-background--no-transition .hero-game-background__layer {
  transition: none;
}
.hero-game-background__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.08) 0%, rgba(7, 7, 7, 0) 42%),
    linear-gradient(180deg, rgba(7, 7, 7, 0) 48%, rgba(7, 7, 7, 0.18) 76%, rgba(7, 7, 7, 0) 100%);
}
.hero-game-background:not(.hero-game-background--has-image) .hero-game-background__layer {
  opacity: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-md) var(--page-padding-x) var(--space-3xl);
  text-align: center;
  background: transparent;
  max-width: calc(var(--page-max-width) + var(--page-padding-x) * 2);
  margin: 0 auto;
}
.page-home .hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}

.page-home .hero-title {
  margin-bottom: var(--space-xl);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .hero-content--select-mode .hero-title {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-home .hero-content--select-mode .carousel-wrap {
  margin-top: var(--space-md);
}

.page-home .hero-content--select-mode .carousel-wrap.carousel-wrap--select-mode {
  margin-top: 0;
}

.page-home .carousel-wrap {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  padding-bottom: 1.5rem;
}

.page-home .btn-hero-cta {
  /* Keep pills/sections below from shifting when cards+CTA move */
  margin-bottom: calc(var(--space-4xl) - var(--space-3xl));
  height: 2.375rem;
  min-width: 9.25rem;
  padding: 0 1.125rem;
  font-size: 0.875rem;
  transform: translateY(-1.5rem);
}
.page-home .btn-hero-cta:hover:not(:disabled) {
  transform: translateY(-1.5rem) scale(0.98);
}
.page-home .btn-hero-cta:active:not(:disabled) {
  transform: translateY(-1.5rem) scale(0.96);
}
.page-home .btn-hero-cta .btn-hero-icon {
  font-size: 0.75rem;
}
@media (prefers-reduced-motion: reduce) {
  .page-home .btn-hero-cta:hover:not(:disabled),
  .page-home .btn-hero-cta:active:not(:disabled) {
    transform: translateY(-1.5rem);
  }
}

@keyframes heroTitleDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  margin: 0 0 var(--space-xl);
  font-size: var(--title-hero-size);
  font-weight: var(--font-weight-medium);
  line-height: var(--title-hero-line);
  letter-spacing: var(--title-hero-tracking);
  color: var(--color-text-primary);
  text-wrap: balance;
}
.hero-title-line {
  display: block;
  opacity: 0;
  animation: heroTitleDrop 0.7s var(--ease-out-expo) forwards;
}
.hero-title-line--delay {
  animation-delay: 0.12s;
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-line {
    opacity: 1;
    animation: none;
  }
}
.accent-primary { color: var(--color-accent); }

/* Game carousel: tilted overlapping cards */
.carousel-wrap {
  --carousel-card-w: 10.5rem;
  --carousel-card-h: 13.75rem;
  --carousel-stage-h: 18.5rem;
  --carousel-stage-max-w: 37rem;
  --carousel-offset-1: 152px;
  --carousel-offset-2: 290px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-4xl) auto var(--space-md);
  max-width: min(58rem, 100%);
  padding: 0 var(--space-lg);
  min-height: var(--carousel-stage-h);
}
.carousel-btn {
  flex-shrink: 0;
  width: var(--button-height);
  height: var(--button-height);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-translucent);
  background: var(--color-bg-tertiary);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  outline: none;
  transition: background var(--speed-regular) var(--ease-out-quad),
    border-color var(--speed-regular) var(--ease-out-quad),
    color var(--speed-regular) var(--ease-out-quad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:focus-visible {
  outline: 2px solid var(--color-border-highlight);
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .carousel-btn:hover {
    background: var(--card-bg-hover);
    border-color: var(--color-border-highlight);
    color: var(--color-text-primary);
  }

  .carousel-btn:hover:active {
    background: var(--card-bg-hover);
    border-color: var(--color-border-highlight);
    color: var(--color-text-primary);
  }
}
@media (hover: none) {
  .carousel-btn:active {
    background: var(--color-bg-tertiary);
    border-color: var(--color-border-translucent);
    color: var(--color-text-secondary);
  }
}
.carousel {
  overflow: visible;
  width: 100%;
  max-width: var(--carousel-stage-max-w);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: var(--carousel-stage-h);
  padding: 1.25rem 0;
}
.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  perspective: 1200px;
  pointer-events: none;
  visibility: hidden;
}
.carousel-wrap.is-carousel-ready .carousel-track {
  visibility: visible;
}

.carousel-track .game-card-outer { pointer-events: none; }
.carousel-track .game-card { pointer-events: auto; }

/* Outer: position in carousel (animated when switching) */
.game-card-outer {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--carousel-card-w);
  height: var(--carousel-card-h);
  margin: 0;
  overflow: visible;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  backface-visibility: hidden;
}
.carousel-wrap--intro-snap .game-card-outer {
  transition: none !important;
}
.game-card-outer--center {
  z-index: 10;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.12) translateZ(50px);
}
.game-card-outer--center:hover {
  z-index: 11;
}
.game-card-outer--left-1 {
  z-index: 5;
  transform: translate(-50%, -50%) translateX(calc(-1 * var(--carousel-offset-1))) scale(0.84) translateZ(-100px) rotateY(10deg);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.game-card-outer--left-1:hover {
  z-index: 20;
  transform: translate(-50%, -50%) translateX(calc(-1 * var(--carousel-offset-1))) scale(0.9) translateZ(-100px) rotateY(10deg);
}
.game-card-outer--left-2 {
  z-index: 1;
  transform: translate(-50%, -50%) translateX(calc(-1 * var(--carousel-offset-2))) scale(0.72) translateZ(-240px) rotateY(18deg);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.game-card-outer--left-2:hover {
  z-index: 20;
  transform: translate(-50%, -50%) translateX(calc(-1 * var(--carousel-offset-2))) scale(0.78) translateZ(-240px) rotateY(18deg);
}
.game-card-outer--right-1 {
  z-index: 5;
  transform: translate(-50%, -50%) translateX(var(--carousel-offset-1)) scale(0.84) translateZ(-100px) rotateY(-10deg);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.game-card-outer--right-1:hover {
  z-index: 20;
  transform: translate(-50%, -50%) translateX(var(--carousel-offset-1)) scale(0.9) translateZ(-100px) rotateY(-10deg);
}
.game-card-outer--right-2 {
  z-index: 1;
  transform: translate(-50%, -50%) translateX(var(--carousel-offset-2)) scale(0.72) translateZ(-240px) rotateY(-18deg);
  opacity: 1;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.game-card-outer--right-2:hover {
  z-index: 20;
  transform: translate(-50%, -50%) translateX(var(--carousel-offset-2)) scale(0.78) translateZ(-240px) rotateY(-18deg);
}
.game-card-outer--hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%) scale(0.6) translateZ(-400px);
}

/* Card: visual box + float on hover (whole card moves) */
.game-card {
  --float-x: 0px;
  --float-y: 0px;
  --float-rx: 0deg;
  --float-ry: 0deg;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-border-translucent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  transform: translate(var(--float-x), var(--float-y)) rotateX(var(--float-rx)) rotateY(var(--float-ry));
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
.game-card-inner,
.game-card-img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}
.game-card-outer--center .game-card {
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.6);
}
.game-card-outer--center:hover .game-card {
  box-shadow: 0 28px 64px -12px rgba(0, 0, 0, 0.65);
}
.game-card:hover { box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5); }

.game-card-outer .game-card {
  z-index: 2;
}

@keyframes hero-price-label-slide-down {
  from { margin-top: -0.75rem; }
  to { margin-top: 0; }
}

@keyframes hero-price-label-slide-up {
  from { margin-top: 0; }
  to { margin-top: -0.75rem; }
}

.hero-game-price-label {
  position: absolute;
  margin: 0;
  z-index: 1;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 1rem);
  padding: 0.375rem 0.875rem;
  background: var(--gray-light);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  box-shadow: none;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  margin-top: -0.75rem;
  opacity: 1;
  visibility: hidden;
  transform: translateX(-50%);
}
.hero-game-price-label.is-visible {
  margin-top: 0;
  visibility: visible;
  animation: hero-price-label-slide-down 0.3s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
.hero-game-price-label.is-hiding {
  margin-top: -0.75rem;
  visibility: visible;
  animation: hero-price-label-slide-up 0.08s linear forwards;
}
.carousel-wrap--select-mode .hero-game-price-label,
.carousel-wrap--select-mode .hero-game-price-label.is-visible,
.carousel-wrap--select-mode .hero-game-price-label.is-hiding {
  margin-top: -0.75rem;
  visibility: hidden;
  animation: none;
}

/* Center card only: hover-only holographic glare (CodePen-style) */
.game-card-glare-wrap {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 2;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.game-card-glare {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.45) 0%,
    rgba(0, 117, 201, 0.3) 20%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  filter: blur(10px);
}
.game-card-outer--center:hover .game-card-glare {
  opacity: 1;
}

.game-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: var(--gray-light);
  border-radius: inherit;
}
.game-card--minecraft .game-card-inner,
.game-card--hytale .game-card-inner,
.game-card--zomboid .game-card-inner,
.game-card--satisfactory .game-card-inner,
.game-card--terraria .game-card-inner,
.game-card--palworld .game-card-inner,
.game-card--enshrouded .game-card-inner,
.game-card--valheim .game-card-inner,
.game-card--astroneer .game-card-inner,
.game-card--7-days-to-die .game-card-inner,
.game-card--windrose .game-card-inner,
.game-card--vintage-story .game-card-inner,
.game-card--unturned .game-card-inner,
.game-card--american-truck-sim .game-card-inner,
.game-card--euro-truck-sim .game-card-inner,
.game-card--factorio .game-card-inner,
.game-card--discord-bot .game-card-inner,
.game-card--web-host .game-card-inner {
  padding: 0;
  background: #070707;
  isolation: isolate;
  line-height: 0;
}
.game-card--minecraft,
.game-card--hytale,
.game-card--zomboid,
.game-card--satisfactory,
.game-card--terraria,
.game-card--palworld,
.game-card--enshrouded,
.game-card--valheim,
.game-card--astroneer,
.game-card--7-days-to-die,
.game-card--windrose,
.game-card--vintage-story,
.game-card--unturned,
.game-card--american-truck-sim,
.game-card--euro-truck-sim,
.game-card--factorio,
.game-card--discord-bot,
.game-card--web-host {
  overflow: hidden;
}
.game-card--minecraft .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--minecraft .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}
.game-card:hover .game-card-label { background: rgba(0, 0, 0, 0.75); }

.game-card--hytale .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--hytale .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--zomboid .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--zomboid .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--satisfactory .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--satisfactory .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--terraria .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--terraria .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--palworld .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--palworld .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--enshrouded .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--enshrouded .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--valheim .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--valheim .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--astroneer .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--astroneer .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--7-days-to-die .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--7-days-to-die .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--windrose .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--windrose .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--vintage-story .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--vintage-story .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--unturned .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--unturned .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--american-truck-sim .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--american-truck-sim .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--euro-truck-sim .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--euro-truck-sim .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--factorio .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--factorio .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--discord-bot {
  padding: 0;
  overflow: hidden;
}
.game-card--discord-bot .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--discord-bot .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.game-card--web-host .game-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card--web-host .game-card-label {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

/* Firefox: prevent horizontal seam on cover images in carousel / select cards */
.game-card .game-card-img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@supports (-moz-appearance: none) {
  .game-card .game-card-inner {
    isolation: isolate;
    transform: translateZ(0);
  }

  .game-card .game-card-img {
    transform: translateZ(0.01px) scale(1.004);
    transform-origin: center center;
  }
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--button-gap);
  height: var(--button-height);
  padding: var(--button-padding);
  min-width: 8rem;
  background: var(--color-accent);
  border: 1px solid transparent;
  border-radius: var(--button-radius);
  font-family: inherit;
  font-size: var(--button-font-size);
  font-weight: var(--font-weight-medium);
  color: var(--brand-white);
  cursor: pointer;
  transition: background var(--speed-regular) var(--ease-out-quad);
}
.btn-hero-cta:hover:not(:disabled) {
  color: var(--brand-white);
}
.btn-hero-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn-hero-cta--compact {
  min-width: auto;
}
.btn-hero-icon { font-size: 0.75rem; opacity: 0.9; }

/* Card moves into place from center-right */
@keyframes game-select-card-in {
  from {
    opacity: 0;
    transform: translate(56px, -16px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}
/* Staggered price fade-in (runs after view moves into place) */
@keyframes game-select-price-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Game select view: selected card left, 4 prices right */
.game-select-view {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-top: var(--space-lg);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(36px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
}
.carousel-wrap.carousel-wrap--select-mode {
  min-height: 28rem;
  max-width: min(72rem, 100%);
}
.page-home .carousel-wrap.carousel-wrap--select-mode {
  margin-top: 0;
}
.carousel-wrap.carousel-wrap--select-mode .game-select-view {
  max-width: 100%;
  width: 100%;
}
.game-select-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  flex-wrap: nowrap;
  justify-content: center;
  min-height: 24rem;
}
.game-select-options-wrap {
  display: flex;
  flex: 1 1 16rem;
  flex-direction: column;
  min-width: 0;
  max-width: 20rem;
  overflow: visible;
}
.game-select-card {
  flex: 0 0 18.5rem;
  width: 18.5rem;
  max-width: 18.5rem;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-sm);
}
.carousel-wrap .carousel,
.carousel-wrap .carousel-btn {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
}
/* Prices start hidden; stagger in after view is in place */
.game-select-view .price-option {
  opacity: 0;
}
.carousel-wrap--select-mode .game-select-view .price-option {
  animation: game-select-price-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.carousel-wrap--select-mode .game-select-view .price-option:nth-child(1) { animation-delay: 0.25s; }
.carousel-wrap--select-mode .game-select-view .price-option:nth-child(2) { animation-delay: 0.38s; }
.carousel-wrap--select-mode .game-select-view .price-option:nth-child(3) { animation-delay: 0.51s; }
.carousel-wrap--select-mode .game-select-view .price-option:nth-child(4) { animation-delay: 0.64s; }
.game-select-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
}
/* Card animates into place when select view opens */
.game-select-view .game-select-card-inner {
  opacity: 0;
}
.carousel-wrap--select-mode .game-select-view .game-select-card-inner {
  animation: game-select-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards, selected-card-float 2.8s ease-in-out 0.65s infinite;
}
.carousel-wrap--select-mode .game-select-view .game-select-card:hover .game-select-card-inner {
  animation: game-select-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}
@keyframes selected-card-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(0, -10px) scale(1); }
}
.game-select-card .game-card {
  position: relative;
  inset: auto;
  width: 18.5rem;
  max-width: 18.5rem;
  flex-shrink: 0;
  height: 24rem;
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-xl);
  transform: translate(var(--float-x), var(--float-y)) rotateX(var(--float-rx)) rotateY(var(--float-ry));
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease;
}
.game-select-card:hover .game-card {
  box-shadow: 0 28px 64px -12px rgba(0, 0, 0, 0.65);
}
.game-select-card:hover .game-card-glare {
  opacity: 1;
}
.game-select-card .game-card-inner {
  border-radius: var(--radius-xl);
}
.game-select-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
}
.game-select-prices {
  flex: 1;
  min-width: 14rem;
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-height: 0;
  overflow: visible;
}
.price-option {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--gray-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  color: var(--white);
  min-height: 3.75rem;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
}
.game-select-prices .price-option {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
}
.game-select-prices .price-option:not(.price-option--featured):hover {
  transform: scale(1.02);
}
.price-option-ram,
.price-option-storage {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1 1 0;
  min-width: 0;
}
.price-option-ram {
  align-items: flex-start;
}
.price-option-storage {
  align-items: center;
  text-align: center;
}
.price-option-label {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-dark);
}
.price-option-value {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}
.price-option-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
  text-align: right;
}
.price-option-period { font-size: 0.7rem; font-weight: 500; opacity: 0.85; }
/* 2nd option: solid highlight + Popular badge */
.price-option--featured {
  background: var(--gray-dark);
  border: 1px solid var(--brand-blue);
  box-shadow: none;
  transform-origin: center center;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
  overflow: visible;
}
.price-option--featured::before {
  display: none;
}
.price-option-badge {
  position: absolute;
  top: -0.45rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius-rounded);
  pointer-events: none;
}
.price-option--featured:hover {
  background: var(--gray-light);
  border-color: var(--brand-blue);
  transform: scale(1.05);
}
.game-select-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: center;
  margin-top: 0;
}
.game-select-back {
  background: var(--color-bg-primary);
  border: 1px solid var(--outline);
  color: var(--white);
  cursor: pointer;
}
.game-select-back:hover {
  background: var(--color-bg-quaternary);
  color: var(--white);
  border-color: var(--outline);
}
.game-select-order:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Animate transition: carousel slides up and out, select view moves into place */
.carousel-wrap.carousel-wrap--select-mode .carousel-btn,
.carousel-wrap.carousel-wrap--select-mode .carousel {
  position: absolute;
  transform: translateY(-36px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.carousel-wrap.carousel-wrap--select-mode .carousel-track .game-card {
  pointer-events: none;
}
.carousel-wrap.carousel-wrap--select-mode .game-select-view {
  position: relative;
  z-index: 5;
  margin-top: 0;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (max-width: 52rem) {
  .game-select-inner {
    flex-wrap: wrap;
    gap: var(--space-lg);
    min-height: 0;
  }

  .game-select-card,
  .game-select-options-wrap {
    flex: 1 1 100%;
    max-width: none;
  }

  .game-select-card .game-card {
    width: min(100%, 15rem);
    height: 19.5rem;
  }
}

.btn-hero-cta.btn-hero-cta--hidden { display: none; }

/* Modpack logos: infinite right-to-left scroll, centered, with edge fades */
.game-pills-wrap {
  position: relative;
  max-width: var(--container);
  margin: var(--space-3xl) auto 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}
.game-pills-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  pointer-events: none;
  z-index: 1;
}
.game-pills-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.game-pills-fade--right {
  right: 0;
  left: auto;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.game-pills-inner {
  display: block;
  overflow: hidden;
  width: 100%;
}
.game-pills-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}
.game-pills-img {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  flex: 0 0 auto;
  opacity: 0.9;
  background: none;
  border: none;
  box-shadow: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
}

/* ---- Panel section: tabs + split content ---- */
.panel-section { padding: var(--space-4xl) var(--space-lg); background: transparent; }
.panel-card {
  position: relative;
  background: var(--gray-light);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-top-light), 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--card-border);
}
.panel-tab {
  padding: var(--space-sm) var(--space-md);
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-darker);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.panel-tab:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.panel-tab--active {
  background: var(--gray);
  color: var(--white);
}
.panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 22rem;
}
.panel-left {
  padding: var(--space-lg);
  border-right: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.panel-server-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-server-name { font-weight: 600; color: var(--white); }
.panel-server-status {
  font-size: 0.75rem;
  padding: var(--space-xs) var(--space-sm);
  background: var(--green);
  color: var(--gray-dark);
  border-radius: var(--radius-md);
  font-weight: 600;
}
.panel-files, .panel-console {
  font-size: 0.8125rem;
  color: var(--white-dark);
  font-family: ui-monospace, monospace;
}
.panel-file, .panel-console-line { padding: var(--space-xs) 0; display: flex; align-items: center; gap: 0.35rem; }
.panel-file-icon { opacity: 0.8; font-size: 0.9em; }
.panel-console {
  flex: 1;
  min-height: 4rem;
  padding: var(--space-sm);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
}
.panel-stats { display: flex; flex-direction: column; gap: var(--space-sm); }
.panel-stat { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.panel-stat-label { font-size: 0.75rem; color: var(--white-darker); min-width: 2.5rem; }
.panel-stat-bar {
  flex: 1;
  min-width: 4rem;
  height: 6px;
  background: var(--gray-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.panel-stat-fill {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: var(--radius-md);
  transition: width 0.3s ease;
}
.panel-stat-value { font-size: 0.75rem; color: var(--white-darker); }
.btn-panel { align-self: flex-start; }

.panel-right {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}
.panel-feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  opacity: 0.9;
}
.panel-feature-title {
  margin: 0 0 var(--space-sm);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}
.panel-feature-desc {
  margin: 0 0 var(--space-md);
  font-size: 0.9375rem;
  color: var(--white-dark);
  line-height: 1.6;
}
.panel-feature-link {
  font-size: 0.9375rem;
  color: var(--blue);
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.panel-feature-link:hover { color: var(--white-dark); }
.panel-feature-link-icon { font-size: 0.85em; }

@media (max-width: 56rem) {
  .panel-content { grid-template-columns: 1fr; }
  .panel-left { border-right: none; border-bottom: 1px solid var(--card-border); }
}

/* ---- Section blocks: glass + shine ---- */
.section { padding: var(--space-4xl) var(--space-lg); background: transparent; }
.container { max-width: var(--container); margin: 0 auto; }

.intro-card,
.features-card,
.support-card-wrap,
.faq-card,
.cta-card {
  position: relative;
  padding: var(--space-2xl);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-top-light);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.intro-card {
  opacity: 0;
  animation: fadeInUp 0.7s ease-out 0.35s forwards;
}
.intro-card:hover,
.features-card:hover,
.support-card-wrap:hover,
.faq-card:hover,
.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-top-light), 0 20px 40px -12px rgba(0, 0, 0, 0.35);
}

.section-title { margin: 0 0 var(--space-md); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; color: var(--white); }
.section-label { margin: 0 0 var(--space-xs); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-darker); }
.section-desc { margin: 0 0 var(--space-xl); font-size: 1rem; color: var(--white-dark); line-height: 1.6; max-width: 38rem; }
.section-actions { margin-top: var(--space-lg); }
.intro-text { margin: 0; font-size: 1.0625rem; color: var(--white-dark); line-height: 1.6; }

/* ---- Product cards: smaller than selected game card (15rem x 19.5rem), all three equal ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 6rem);
  gap: var(--space-sm);
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  position: relative;
  width: 6rem;
  height: 5.25rem;
  max-width: 6rem;
  max-height: 5.25rem;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-top-light), 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(var(--rX, 0deg)) rotateY(var(--rY, 0deg));
  transition: transform 0.15s cubic-bezier(0.2, 0.4, 0.6, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}
.product-card:hover {
  box-shadow: var(--card-top-light), 0 30px 60px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Third card (Cloud Hosting): highlighted shine = best product */
.product-card--featured {
  border-color: rgba(234, 179, 8, 0.5);
  box-shadow: var(--card-top-light), 0 0 0 2px rgba(234, 179, 8, 0.3), 0 0 32px -8px rgba(234, 179, 8, 0.35), 0 24px 48px -12px rgba(0, 0, 0, 0.4);
}
.product-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%, transparent 100%);
  background-size: 200% 100%;
  animation: product-featured-shine-sweep 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
@keyframes product-featured-shine-sweep {
  0% { background-position: 200% 0; }
  15% { background-position: -200% 0; }
  100% { background-position: -200% 0; }
}
.product-card--featured .product-card-shine {
  height: 3px;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.7), rgba(255, 255, 255, 0.9), rgba(234, 179, 8, 0.7), transparent);
  animation: product-featured-glow 1.5s ease-in-out infinite;
}
@keyframes product-featured-glow {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}
.product-card--featured:hover {
  border-color: rgba(234, 179, 8, 0.7);
  box-shadow: var(--card-top-light), 0 0 0 2px rgba(234, 179, 8, 0.45), 0 0 40px -6px rgba(234, 179, 8, 0.45), 0 30px 60px -12px rgba(0, 0, 0, 0.45);
}

.glare-container {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  z-index: 1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.glare {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.5) 0%,
    rgba(0, 117, 201, 0.35) 18%,
    rgba(34, 197, 94, 0.25) 35%,
    rgba(234, 179, 8, 0.2) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  filter: blur(8px);
}

.product-card:hover .glare { opacity: 1; }

.product-card .card-content {
  position: relative;
  padding: var(--space-xs) var(--space-sm);
  transform: translateZ(24px);
  transform-style: preserve-3d;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  white-space: nowrap;
  overflow: hidden;
}

.product-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.product-card-accent--blue { background: var(--blue); }
.product-card-accent--green { background: var(--green); }
.product-card-accent--yellow { background: var(--yellow); }

.product-card-title { margin: 0 0 0.15rem; font-size: 0.6rem; font-weight: 600; color: var(--white); line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-desc { margin: 0 0 0.25rem; font-size: 0.48rem; color: var(--white-dark); line-height: 1.25; flex: 1; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-list { margin: 0 0 0.2rem; padding: 0; list-style: none; font-size: 0.42rem; color: var(--white-dark); white-space: nowrap; overflow: hidden; }
.product-card-list li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-list li + li { margin-top: 0.05rem; }
.product-card-cta { display: inline-block; width: 100%; text-align: center; margin-top: auto; padding: 0.2rem 0.35rem; font-size: 0.48rem !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 56rem) {
  .product-grid { grid-template-columns: 6rem; justify-content: center; }
}

/* ---- Feature pills: glass + shine ---- */
.feature-grid { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.feature-item {
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

/* ---- Perk cards: glass + top shine ---- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.perk-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--card-top-light);
  animation: floatIdle 5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.perk-card:nth-child(1) { animation-delay: 0s; }
.perk-card:nth-child(2) { animation-delay: 0.4s; }
.perk-card:nth-child(3) { animation-delay: 0.8s; }
.perk-card:nth-child(4) { animation-delay: 0.2s; }
.perk-card:nth-child(5) { animation-delay: 0.6s; }
.perk-card:nth-child(6) { animation-delay: 1s; }
.perk-card:hover {
  animation: none;
  transform: translateY(-6px);
  box-shadow: var(--card-top-light), 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
}

.perk-title { margin: 0 0 var(--space-xs); font-size: 1rem; font-weight: 600; color: var(--white); }
.perk-text { margin: 0; font-size: 0.9375rem; color: var(--white-dark); line-height: 1.5; }

@media (max-width: 48rem) {
  .perks-grid { grid-template-columns: 1fr; }
}

/* ---- Support ---- */
.support-note { margin: 0 0 var(--space-lg); font-size: 1rem; color: var(--white-dark); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }

.support-card {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.support-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.support-card-title { margin: 0 0 var(--space-xs); font-size: 1rem; font-weight: 600; color: var(--white); }
.support-card-text { margin: 0; font-size: 0.9375rem; color: var(--white-dark); line-height: 1.5; }

@media (max-width: 48rem) {
  .support-grid { grid-template-columns: 1fr; }
}

/* ---- FAQ ---- */
.link { color: var(--blue); }
.link:hover { color: var(--white-dark); }

.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--card-border);
  transition: opacity 0.25s ease, padding 0.25s ease;
}
.faq-item:hover { opacity: 1; padding-left: var(--space-xs); }
.faq-item:last-child { border-bottom: none; }
.faq-q { margin: 0 0 var(--space-xs); font-size: 1rem; font-weight: 600; color: var(--white); }
.faq-a { margin: 0; font-size: 0.9375rem; color: var(--white-dark); line-height: 1.55; }

/* ---- CTA ---- */
.cta-section { text-align: center; }
.btn--large { padding: var(--space-md) var(--space-xl); font-size: 1rem; }

/* ---- Footer: Linear section ---- */
.footer {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) var(--page-padding-x) var(--space-xl);
  border-top: 1px solid var(--color-border-translucent);
}

.footer-card {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.footer-card:hover {
  transform: none;
  box-shadow: none;
}
.footer-card-shine { display: none; }

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: none;
  margin: 0;
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr));
  gap: var(--space-xl) var(--space-lg);
  align-items: start;
}

.footer-col { min-width: 0; }

.footer-col--brand-payment {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  width: fit-content;
  max-width: 100%;
}

.footer-brand-link:hover .footer-brand-name {
  color: var(--color-accent);
}

.footer-brand-logo {
  width: 2.5rem;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.footer-brand-name {
  font-size: 1.0625rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  transition: color var(--speed-quick) var(--ease-out-quad);
}

.footer-brand-tagline {
  margin: 0;
  font-size: var(--text-small-size);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-tertiary);
  letter-spacing: 0;
}

.footer-heading {
  margin: 0 0 var(--space-sm);
  font-size: var(--text-mini-size);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-list a {
  font-size: var(--text-small-size);
  color: var(--color-text-tertiary);
  line-height: 1.45;
  transition: color var(--speed-quick) var(--ease-out-quad);
}
.footer-list a:hover { color: var(--color-text-primary); }

.footer-col--payment .footer-payment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem 0.75rem;
}

.footer-payment-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.85rem;
  height: 1.85rem;
  padding: 0 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-translucent);
  background: var(--card-bg);
  color: var(--color-text-secondary);
  font-size: 1.2rem;
  line-height: 1;
}

.footer-payment-item i {
  display: block;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-translucent);
}

.footer-reg {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--white-darker);
  line-height: 1.5;
}

.footer-copy { margin: 0; font-size: 0.875rem; color: var(--white-darker); }

.footer-cookie-link {
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 0.14em;
  cursor: pointer;
  transition: color var(--speed-quick) var(--ease-out-quad);
}

.footer-cookie-link:hover {
  color: var(--color-text-primary);
}

@media (max-width: 56rem) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-col--brand-payment {
    grid-column: 1 / -1;
  }
}

@media (max-width: 30rem) {
  .footer-card { padding: var(--space-lg); }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col--brand-payment {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- Game detail page (game.html) ---- */
.game-detail-section {
  padding: var(--space-3xl) 0;
  min-height: 60vh;
}
.game-detail-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--page-padding-x);
}
.game-detail-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--white-darker);
  margin-bottom: var(--space-lg);
  text-decoration: none;
  transition: color 0.2s ease;
}
.game-detail-back:hover {
  color: var(--white);
}
.game-detail-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 var(--space-xl);
}
.game-detail-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-2xl);
  justify-content: center;
}
.game-detail-card-wrap {
  flex-shrink: 0;
}
.game-detail-card {
  width: 15rem;
  height: 19.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.6);
}
.game-detail-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  padding: 0;
}
.game-detail-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-detail-options-wrap {
  flex: 1;
  min-width: 14rem;
  max-width: 18rem;
}
.game-detail-subtitle {
  font-size: 0.9375rem;
  color: var(--white-dark);
  margin: 0 0 var(--space-md);
}
.game-detail-prices {
  margin-bottom: var(--space-lg);
}
.game-detail-cta {
  width: 100%;
  justify-content: center;
}

/* ---- Configure server page (game.html): flat, compact, blue/gray only ---- */
.configure-section {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  min-height: 50vh;
}

/* Configure region / RAM: home-style split — big game card left, options right */
.configure-split {
  max-width: var(--container);
  margin: 0 auto;
}
.configure-split-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  width: 100%;
}
.configure-split-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  width: 100%;
}
.configure-split-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.configure-split-card-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-md);
  width: 17.5rem;
  max-width: 17.5rem;
}
body.page-configure .configure-split-card-col .btn.game-select-back {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.configure-split-game-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.configure-split-game-slot {
  position: relative;
  width: 17.5rem;
  min-height: 22.75rem;
}
.configure-split-game-slot .game-card {
  position: relative;
  inset: auto;
  width: 17.5rem;
  height: 22.75rem;
  margin: 0;
  cursor: default;
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-xl);
  transform: translate(var(--float-x), var(--float-y)) rotateX(var(--float-rx)) rotateY(var(--float-ry));
  transform-style: preserve-3d;
  transition: box-shadow 0.3s ease;
  pointer-events: auto;
}
.configure-split-game-wrap:hover .configure-split-game-slot .game-card {
  box-shadow: 0 28px 64px -12px rgba(0, 0, 0, 0.65);
}
.configure-split-game-wrap:hover .configure-split-game-slot .game-card-glare {
  opacity: 1;
}
/* Choose location: gentle vertical bob in place — no mouse-driven tilt / hover lift */
#pane-setup .configure-split-game-slot .game-card {
  transform: translateY(0);
  transform-style: flat;
  animation: configure-region-card-bob 3.2s ease-in-out infinite;
  transition: none;
}
#pane-setup .configure-split-game-wrap:hover .configure-split-game-slot .game-card {
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.6);
}
#pane-setup .configure-split-game-wrap:hover .configure-split-game-slot .game-card-glare {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  #pane-setup .configure-split-game-slot .game-card {
    animation: none;
    transform: none;
  }
}
.configure-split-game-slot .game-card-inner {
  border-radius: var(--radius-xl);
}
.configure-split-options {
  flex: 0 1 26rem;
  min-width: min(100%, 14rem);
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  text-align: left;
}
.configure-split-options .wizard-pane-title {
  margin-top: 0;
  width: 100%;
  text-align: left;
}
.configure-split-options .wizard-pane-lead {
  width: 100%;
  max-width: 28rem;
  text-align: left;
}
.configure-split-options .configure-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100%;
  max-width: 24rem;
  text-align: left;
}
.configure-split-options .configure-location:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc(50% - 0.325rem);
}
.configure-split-options .configure-ram-row {
  margin-left: 0;
  margin-right: 0;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: 24rem;
}
.configure-split-options .wizard-options-stack {
  width: 100%;
  max-width: 24rem;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.configure-split-options .configure-cta {
  align-self: center;
}

/* Setup: location screen then slide to RAM; game card stays fixed */
.configure-split-inner--setup {
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.configure-split-options--setup {
  flex: 1 1 22rem;
  max-width: min(32rem, 100%);
  min-height: 0;
  max-height: min(90vh, 46rem);
  display: flex;
  flex-direction: column;
}
.configure-setup-screens {
  flex: 1 1 auto;
  min-height: min(68vh, 30rem);
  max-height: min(82vh, 42rem);
  overflow: hidden;
  width: 100%;
}
.configure-setup-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 300%;
  min-height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.42s cubic-bezier(0.25, 1, 0.5, 1);
}
.configure-setup-track--help {
  transform: translate3d(-33.333333%, 0, 0);
}
.configure-setup-track--ram {
  transform: translate3d(-66.666667%, 0, 0);
}
.configure-setup-track--no-motion {
  transition: none !important;
}
.configure-setup-screen {
  flex: 0 0 33.333333%;
  width: 33.333333%;
  max-width: 33.333333%;
  box-sizing: border-box;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.2rem;
}
.configure-setup-screen--region {
  padding-bottom: 0.35rem;
}
.configure-region-actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
}
.configure-help-actions {
  justify-content: flex-end;
}
.configure-region-back {
  border-radius: var(--radius-xl);
}
.configure-setup-screen--ram {
  padding-top: 0.15rem;
}
.configure-setup-screen--help {
  padding-top: 0.15rem;
}
@media (prefers-reduced-motion: reduce) {
  .configure-setup-track {
    transition: none;
  }
}
#pane-setup .wizard-pane-title {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
#pane-setup .configure-locations {
  gap: 0.75rem;
  max-width: 100%;
}
#pane-setup .configure-location-name {
  font-size: 1rem;
}
#pane-setup .configure-location-sub {
  font-size: 0.8rem;
}
#pane-setup .configure-location-card {
  padding: 0.9rem 1.2rem;
  gap: 0.85rem;
}
#pane-setup .configure-ram-row {
  max-width: 100%;
}
#pane-setup .configure-split-options .wizard-options-stack {
  max-width: 100%;
}
#pane-setup .configure-ram-value {
  font-size: 1rem;
  min-width: 3.25rem;
}
#pane-setup .configure-ram-slider {
  height: var(--ram-thumb-size, 1.38rem);
}
#pane-setup .configure-ram-ticks {
  font-size: 0.6875rem;
}
#pane-setup .wizard-option-label {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
}
@media (min-width: 52.0625rem) {
  #pane-setup .configure-split-inner {
    flex-wrap: nowrap;
    align-items: stretch;
  }
}
#pane-setup .configure-split-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
}
#pane-setup .configure-split-options {
  align-self: flex-start;
  min-height: 0;
}
#pane-setup .configure-split-options .configure-locations {
  flex: 0 1 auto;
  min-height: 0;
  grid-auto-rows: auto;
  align-content: start;
}
#pane-setup .configure-location {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
#pane-setup .configure-location-card {
  flex: 1 1 auto;
  min-height: 0;
}

@media (max-width: 52rem) {
  .configure-split-inner {
    flex-direction: column;
    align-items: center;
  }
  .configure-split-options {
    max-width: 100%;
    width: 100%;
  }
  #pane-setup .configure-split-inner {
    align-items: center;
  }
  #pane-setup .configure-split-options .configure-locations {
    flex: 0 1 auto;
    grid-auto-rows: auto;
    align-content: start;
  }
  .configure-split-options--setup {
    max-height: none;
    max-width: 100%;
  }
  .configure-setup-screens {
    max-height: none;
    min-height: 12rem;
  }
}

body.page-configure .btn.game-select-back {
  background: var(--color-bg-primary);
  color: var(--white);
  border: 1px solid var(--outline);
  box-shadow: none;
}
body.page-configure .btn.game-select-back:hover {
  background: var(--color-bg-quaternary);
  color: var(--white);
  border-color: var(--outline);
}
body.page-configure .configure-games-search-wrap {
  background: var(--gray-light);
  border: 1px solid var(--outline);
  box-shadow: none;
}
body.page-configure .configure-games-platform-filter {
  background: var(--gray-light);
  border: 1px solid var(--outline);
  box-shadow: none;
}
body.page-configure .configure-plat-filter-slider {
  box-shadow: none;
  background: var(--gray-dark);
  border: 1px solid var(--outline);
  border-radius: var(--radius-xl);
}
body.page-configure .configure-plat-filter-btn {
  z-index: 1;
  background: transparent;
}
body.page-configure .configure-plat-filter-btn:hover {
  background: var(--gray);
  border-radius: var(--radius-xl);
  box-shadow: none;
}
body.page-configure .configure-plat-filter-btn.is-active {
  background: transparent;
  color: var(--white);
}
body.page-configure .configure-plat-filter-btn.is-active:hover {
  background: transparent;
}

/* ---- Configure wizard (game.html) ---- */
.configure-wizard {
  margin-top: 0.35rem;
  border: none;
  box-shadow: none;
}
.wizard-jump-row {
  margin: 0 0 0.5rem;
}
.wizard-text-link {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.75rem;
  color: var(--white-darker);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.wizard-text-link:hover {
  color: var(--blue);
}
.wizard-jump-sep {
  margin: 0 0.4rem;
  color: var(--white-darker);
  user-select: none;
  font-weight: 500;
}

.wizard-body {
  position: relative;
  min-height: 11rem;
  border: none;
  box-shadow: none;
}
.wizard-pane {
  animation: wizardPaneIn 0.26s ease-out;
}
@keyframes wizardPaneIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.wizard-pane-title {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}
.wizard-pane-lead {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  color: var(--white-darker);
  line-height: 1.45;
  max-width: 36rem;
}
.wizard-options-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.wizard-option-label {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white-darker);
}
.configure-step-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.configure-step-inline {
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--white-darker);
  font-size: 0.75rem;
}
.configure-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--outline);
  color: var(--white-darker);
  font-size: 0.6875rem;
  font-weight: 700;
}
.configure-platform-legend {
  display: inline-flex;
  align-items: center;
  margin-left: 0.15rem;
  opacity: 0.55;
  font-size: 0.7rem;
}
.configure-platform-legend i { color: var(--white-darker); }

.configure-games-pane-head {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  width: 100%;
}
.configure-games-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}
.configure-games-search-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.65rem;
  margin-left: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white-darker);
  box-sizing: border-box;
  min-height: 2.5rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
}
.configure-games-search-wrap i {
  flex-shrink: 0;
  font-size: 0.75rem;
  opacity: 0.85;
}
.configure-games-search-wrap input {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  width: min(11rem, 42vw);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1.3;
}
.configure-games-search-wrap input::placeholder {
  color: rgba(185, 185, 185, 0.55);
}
.configure-games-search-wrap:focus-within {
  color: var(--white-dark);
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px rgba(0, 117, 201, 0.2);
}
.configure-games-search-wrap:focus-visible {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.configure-games-search-wrap input:focus {
  outline: none;
}
.configure-games-search-wrap input:focus-visible {
  outline: none;
}
.configure-games-platform-filter {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  box-sizing: border-box;
  min-height: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, outline-color 0.18s ease;
}
.configure-games-platform-filter:focus-within {
  border-color: var(--outline);
  box-shadow: none;
}
.configure-plat-filter-slider {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.configure-plat-filter-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-xl);
  background: transparent;
  color: var(--white-darker);
  cursor: pointer;
  font-size: 0.8125rem;
  line-height: 1;
  transition: color 0.2s ease, background 0.15s ease;
}
.configure-plat-filter-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
}
.configure-plat-filter-btn:hover {
  color: var(--white-dark);
  background: rgba(255, 255, 255, 0.06);
}
.configure-plat-filter-btn.is-active {
  color: var(--white);
  background: transparent;
}
.configure-plat-filter-btn:focus,
.configure-plat-filter-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.configure-games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  width: 100%;
}
@media (min-width: 48rem) {
  .configure-games-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
  }
}
@media (min-width: 64rem) {
  .configure-games-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (min-width: 90rem) {
  .configure-games-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
.configure-games-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--white-darker);
}
.configure-game-tile {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  border-radius: var(--radius-xl);
  display: block;
  text-decoration: none;
}
.configure-game-tile:focus {
  outline: none;
}
.configure-game-tile:focus-visible {
  outline: none;
  box-shadow: none;
}
.configure-game-tile-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  border-radius: var(--radius-xl);
  border: none;
  background: transparent;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.configure-game-tile:hover .configure-game-tile-inner {
  opacity: 0.92;
}
.configure-game-tile:hover .configure-game-img {
  transform: scale(1.02);
}
.configure-game-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: clamp(6.75rem, 10.5vw, 9.5rem);
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
  margin-bottom: 0.35rem;
  transition: transform 0.15s ease;
  outline: none;
}
.configure-game-img:focus-visible {
  outline: none;
}
.configure-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 100%;
}
.configure-plat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.configure-plat-pill i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin: 0;
  font-size: 0.7rem;
  line-height: 1;
}
.configure-plat-pill--yes {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.configure-plat-pill--no {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(128, 128, 135, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.configure-selected-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
}
.configure-selected-thumb-wrap {
  flex-shrink: 0;
  width: 3.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
}
.configure-selected-thumb {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.configure-selected-label {
  margin: 0;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white-darker);
  line-height: 1.2;
}
.configure-selected-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.configure-block {
  margin-bottom: 0.65rem;
}
.configure-block:last-of-type {
  margin-bottom: 0;
}
.configure-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.configure-location {
  cursor: pointer;
  margin: 0;
}
.configure-location input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.configure-location-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline);
  outline: none;
  background: var(--gray-dark);
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  height: 100%;
}
.configure-location:hover .configure-location-card {
  background: var(--gray-light);
  border-color: var(--outline);
  transform: none;
  box-shadow: none;
}
.configure-location input:checked + .configure-location-card {
  background: var(--gray-light);
  border-color: var(--outline);
  box-shadow: none;
}
/* flag-icons: flat ISO country sprites (fi fi-xx on same element) */
.configure-location-flag.fi {
  display: inline-block;
  flex-shrink: 0;
  width: 2.9rem;
  aspect-ratio: 4 / 3;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--outline);
  outline: none;
  box-shadow: none;
  overflow: hidden;
  line-height: 0;
  background-color: var(--gray-dark);
}
.configure-location-body {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
  flex: 1;
}
.configure-location-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.25;
  min-width: 0;
}
.configure-location-sub {
  color: var(--white-darker);
  font-size: 0.76rem;
  line-height: 1.2;
}
.configure-ram-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.95rem 1.1rem;
  max-width: 24rem;
  width: 100%;
  --ram-thumb-half: calc(1.38rem / 2);
  --ram-track-height: 0.84rem;
  --ram-thumb-size: 1.38rem;
}
.configure-ram-slider-stack {
  flex: 1 1 12rem;
  min-width: 0;
  width: 100%;
}
.configure-ram-value {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  min-width: 2.75rem;
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}
.configure-ram-slider-track {
  flex: 1 1 10rem;
  min-width: 0;
  width: 100%;
  padding: 0 var(--ram-thumb-half, 0.45rem);
  box-sizing: border-box;
}
.configure-ram-slider {
  --ram-ratio: 0;
  --ram-pct: 0%;
  width: 100%;
  height: var(--ram-thumb-size, 1.38rem);
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  margin: 0;
  display: block;
}
.configure-ram-slider::-webkit-slider-runnable-track {
  height: var(--ram-track-height, 0.84rem);
  margin: calc((var(--ram-thumb-size, 1.38rem) - var(--ram-track-height, 0.84rem)) / 2) 0;
  border-radius: 999px;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) var(--ram-pct), rgba(255, 255, 255, 0.08) var(--ram-pct), rgba(255, 255, 255, 0.08) 100%);
}
.configure-ram-slider::-moz-range-track {
  height: var(--ram-track-height, 0.84rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.configure-ram-slider::-moz-range-progress {
  height: var(--ram-track-height, 0.84rem);
  border-radius: 999px;
  background: var(--blue);
}
.configure-ram-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: var(--ram-thumb-size, 1.38rem);
  height: var(--ram-thumb-size, 1.38rem);
  margin-top: calc((var(--ram-track-height, 0.84rem) - var(--ram-thumb-size, 1.38rem)) / 2);
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--blue);
  box-sizing: border-box;
  cursor: grab;
}
.configure-ram-slider::-moz-range-thumb {
  width: var(--ram-thumb-size, 1.38rem);
  height: var(--ram-thumb-size, 1.38rem);
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--blue);
  box-sizing: border-box;
  cursor: grab;
}
.configure-ram-ticks {
  position: relative;
  width: 100%;
  min-height: 1.15rem;
  padding: 0.35rem var(--ram-thumb-half, 0.45rem) 0;
  box-sizing: border-box;
  margin: 0;
  font-size: 0.625rem;
  color: var(--white-darker);
  line-height: 1.2;
}
.configure-ram-ticks:not(.web-plan-ticks) span {
  position: absolute;
  top: 0.35rem;
  left: calc(2 * var(--ram-thumb-half, 0.45rem) + var(--tick-ratio, 0) * (100% - 4 * var(--ram-thumb-half, 0.45rem)));
  transform: translateX(-50%);
  overflow: visible;
  white-space: nowrap;
  text-align: center;
}

.configure-storage-row {
  margin-top: 0.65rem;
  max-width: 100%;
}
.configure-storage-value {
  min-width: 3.5rem;
}
.configure-storage-ticks span {
  font-size: 0.62rem;
}
.configure-price-note {
  margin: 0.65rem 0 0;
  font-size: 0.76rem;
  color: var(--white-darker);
}
.configure-price-indicator {
  margin: 0.55rem 0 0.25rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline);
  background: var(--gray-dark);
  color: var(--white);
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.configure-info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  color: var(--white-darker);
  font-size: 0.85rem;
  vertical-align: middle;
  cursor: help;
  position: relative;
}
.configure-info-tip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(128, 128, 128, 0.45);
  border-radius: 999px;
}
.configure-info-tip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.45rem);
  transform: translateX(-50%) translateY(4px);
  min-width: 10.5rem;
  max-width: 14rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline);
  background: var(--gray-dark);
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 40;
}
.configure-info-tip:hover::after,
.configure-info-tip:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.configure-info-tip--storage::after {
  left: 0;
  transform: translateY(4px);
}
.configure-info-tip--storage:hover::after,
.configure-info-tip--storage:focus-visible::after {
  transform: translateY(0);
}
.configure-price-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white-darker);
}
.configure-price-amount {
  font-size: 1.55rem;
  line-height: 1.05;
  font-weight: 900;
  color: var(--white);
}

.configure-port-options {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  box-sizing: border-box;
  min-height: 2.5rem;
  border-radius: var(--radius-xl);
  border: none;
  background: rgba(255, 255, 255, 0.03);
  width: fit-content;
}
.configure-port-filter-slider {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 3.75rem;
  height: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.14);
  pointer-events: none;
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.configure-port-option {
  position: relative;
  z-index: 1;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
}
.configure-port-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.configure-port-option-ui {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.75rem;
  height: 2rem;
  text-align: center;
  padding: 0 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white-dark);
  border: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.configure-port-option input:focus-visible + .configure-port-option-ui {
  outline: none;
  box-shadow: none;
}
.configure-port-option input:checked + .configure-port-option-ui {
  background: transparent;
  color: var(--white);
  transform: scale(1.03);
  box-shadow: none;
}
.configure-block--minecraft:not([hidden]) {
  animation: configurePortIn 0.24s ease-out;
}
@keyframes configurePortIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-options-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.configure-block {
  margin-bottom: 0;
}
.configure-block--workload {
  padding: 0.35rem 0 0.2rem;
  border: none;
  border-radius: 0;
  background: transparent;
}
.configure-workload-options {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.configure-workload-option {
  position: relative;
  margin: 0;
  cursor: pointer;
}
.configure-workload-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.configure-workload-option-ui {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-height: 6.2rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--outline);
  background: var(--gray-dark);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.configure-workload-option-ui i {
  width: auto;
  text-align: center;
  font-size: 1.35rem;
  color: var(--white-darker);
  transition: transform 0.2s ease, color 0.2s ease;
  flex: 0 0 1.5rem;
}
.configure-workload-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
}
.configure-workload-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}
.configure-workload-meta {
  font-size: 0.73rem;
  color: var(--white-darker);
  line-height: 1.3;
}
.configure-workload-option:hover .configure-workload-option-ui {
  background: var(--gray-light);
  border-color: var(--outline);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 26px -20px rgba(0, 0, 0, 0.9);
}
.configure-workload-option input:checked + .configure-workload-option-ui {
  background: var(--gray-dark);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  transform: none;
  box-shadow: none;
}
.configure-workload-option input:checked + .configure-workload-option-ui i {
  color: var(--white);
  transform: none;
}
.configure-workload-manual {
  margin-top: 0.85rem;
  position: relative;
  display: inline-flex;
  width: 100%;
  cursor: pointer;
}
.configure-workload-manual input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.configure-workload-manual-ui {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  color: var(--white-darker);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.18s ease;
}
.configure-workload-manual:hover .configure-workload-manual-ui {
  background: transparent;
  color: var(--white);
}
.configure-workload-manual input:checked + .configure-workload-manual-ui {
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.configure-actions {
  margin-top: 0.55rem;
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  border-radius: var(--radius-xl);
}
.configure-action-back {
  flex: 0 0 30%;
  max-width: 30%;
  border-radius: var(--radius-xl);
}
.configure-action-checkout {
  flex: 1 1 70%;
  max-width: 70%;
  border-radius: var(--radius-xl);
}
body.page-configure .configure-actions .configure-action-checkout:hover {
  transform: scale(0.98);
  box-shadow: 0 0 22px -7px rgba(0, 117, 201, 0.55);
}
body.page-configure .configure-actions .configure-action-back:hover {
  transform: scale(0.97);
  box-shadow: 0 0 18px -8px rgba(128, 128, 128, 0.55);
}

#pane-setup .configure-setup-screen--ram .configure-cta {
  margin-top: 0;
}
.configure-cta {
  width: 100%;
  max-width: none;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}
.configure-summary {
  margin: 0.45rem 0 0;
  max-width: 100%;
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--white-darker);
  border: none;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  overflow-x: auto;
}

@media (max-width: 48rem) {
  .nav-links { display: none; }
  .logo-img-full { height: 2.25rem; width: 2.25rem; object-fit: contain; }
  .header { margin-left: 0; margin-right: 0; top: var(--space-sm); }

  .nav {
    justify-content: space-between;
    gap: 0.5rem;
    padding-inline: 0.75rem;
    min-width: 0;
    overflow: visible;
  }

  .nav-left {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex-shrink: 0;
  }

  .nav-cta--header {
    margin-left: auto;
    flex-shrink: 0;
    height: var(--button-height);
    padding: var(--button-padding);
    font-size: var(--button-font-size);
  }

  .nav-toggle {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 30rem) {
  .header {
    padding-inline: 0.35rem !important;
  }

  .nav {
    padding-inline: 0.65rem;
    gap: 0.375rem;
  }
}

/* ---- Static content pages (footer-linked, /pages/) ---- */
.static-page-section {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) var(--page-padding-x) var(--space-2xl);
  min-height: 50vh;
}
.static-page-container {
  max-width: min(52rem, var(--container));
  margin: 0 auto;
}
.static-page-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-small-size);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-lg);
  text-decoration: none;
  transition: color var(--speed-quick) var(--ease-out-quad);
}
.static-page-back:hover { color: var(--color-text-primary); }
.static-page-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--card-bg);
  border: 1px solid var(--color-border-translucent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-subtle);
}
.static-page-card-shine { display: none; }
.static-page-title {
  margin: 0 0 var(--space-md);
  font-size: var(--title-section-size);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.static-page-lead {
  margin: 0 0 var(--space-lg);
  font-size: var(--text-regular-size);
  color: var(--color-text-secondary);
  line-height: var(--text-regular-line);
}
.static-page-prose p {
  margin: 0 0 var(--space-md);
  font-size: var(--text-regular-size);
  color: var(--color-text-secondary);
  line-height: var(--text-regular-line);
}
.static-page-prose p:last-child { margin-bottom: 0; }

/* Linear UI overrides loaded last via <link href="css/linear-overrides.css"> in HTML */
