/* Game Space mobile-first design system */
:root {
  font-size: 62.5%;
  --v418-primary: #00a98f;
  --v418-primary-dark: #004d40;
  --v418-accent: #d81b72;
  --v418-accent-dark: #880e4f;
  --v418-bg: #0c0c0c;
  --v418-surface: #151a19;
  --v418-surface-soft: #202725;
  --v418-text: #f7f9f8;
  --v418-muted: #b8c0bd;
  --v418-border: rgba(255, 255, 255, .11);
  --v418-gold: #ffc857;
  --v418-radius: 1.6rem;
  --v418-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 32rem;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0, #12332d 0, var(--v418-bg) 35rem);
  color: var(--v418-text);
  font-family: Inter, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
}
body.v418-menu-locked { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.v418-container { width: min(100% - 2.4rem, 118rem); margin-inline: auto; }
.v418-wrapper { padding-block: 2.8rem; }
.v418-main { padding-top: 7.2rem; }
.v418-section { padding: 3.2rem 0; scroll-margin-top: 8rem; }
.v418-section-alt { background: linear-gradient(135deg, rgba(0, 77, 64, .22), rgba(136, 14, 79, .15)); }
.v418-eyebrow { margin: 0 0 .8rem; color: #63e6be; font-size: 1.2rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.v418-title { margin: 0; font-size: clamp(2.4rem, 8vw, 4.8rem); line-height: 1.08; }
.v418-section-title { margin: 0 0 .9rem; font-size: 2.4rem; line-height: 1.2; }
.v418-section-copy { max-width: 72rem; margin: 0 0 2rem; color: var(--v418-muted); line-height: 2.3rem; }
.v418-highlight { color: #63e6be; }
.v418-sr-only { position: absolute; width: .1rem; height: .1rem; overflow: hidden; clip: rect(0, 0, 0, 0); }

.v418-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 7.2rem;
  border-bottom: .1rem solid var(--v418-border);
  background: rgba(12, 12, 12, .94);
  backdrop-filter: blur(1.4rem);
}
.v418-header-row { display: flex; height: 7.2rem; align-items: center; gap: .8rem; }
.v418-brand { display: inline-flex; min-width: 0; align-items: center; gap: .8rem; text-decoration: none; }
.v418-brand img { width: 3.2rem; height: 3.2rem; border-radius: .9rem; }
.v418-brand-name { overflow: hidden; font-size: 1.5rem; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }
.v418-header-actions { display: flex; margin-left: auto; gap: .6rem; }
.v418-btn {
  display: inline-flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border: .1rem solid transparent;
  border-radius: 1.1rem;
  padding: .8rem 1.3rem;
  color: #fff;
  font: inherit;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}
.v418-btn:active { transform: scale(.96); }
.v418-btn-primary { background: linear-gradient(135deg, var(--v418-primary), var(--v418-primary-dark)); }
.v418-btn-accent { background: linear-gradient(135deg, var(--v418-accent), var(--v418-accent-dark)); }
.v418-btn-outline { border-color: rgba(255,255,255,.3); background: transparent; }
.v418-btn-wide { width: 100%; }
.v418-menu-button { width: 4.4rem; padding: 0; border-color: var(--v418-border); background: var(--v418-surface); font-size: 2rem; }
.v418-desktop-nav { display: none; }
.v418-mobile-menu {
  position: fixed;
  z-index: 9999;
  inset: 7.2rem 1.2rem auto;
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
  border: .1rem solid var(--v418-border);
  border-radius: var(--v418-radius);
  padding: 1rem;
  background: #101514;
  box-shadow: var(--v418-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1rem);
  transition: .22s ease;
}
.v418-mobile-menu.v418-menu-open { opacity: 1; visibility: visible; transform: translateY(0); }
.v418-mobile-menu a, .v418-mobile-menu button {
  display: flex;
  width: 100%;
  min-height: 4.8rem;
  align-items: center;
  gap: 1rem;
  border: 0;
  border-bottom: .1rem solid var(--v418-border);
  padding: 1rem;
  background: transparent;
  color: var(--v418-text);
  font: inherit;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.v418-hero { padding: 2rem 0 3.2rem; }
.v418-carousel { position: relative; overflow: hidden; border: .1rem solid var(--v418-border); border-radius: 2rem; background: var(--v418-surface); box-shadow: var(--v418-shadow); }
.v418-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s; }
.v418-slide-active { position: relative; opacity: 1; visibility: visible; }
.v418-slide button { display: block; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.v418-slide img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.v418-slide-overlay { position: absolute; inset: auto 0 0; padding: 3.5rem 1.8rem 1.6rem; background: linear-gradient(transparent, rgba(0,0,0,.92)); text-align: left; }
.v418-slide-overlay strong { display: block; font-size: 2rem; line-height: 1.2; }
.v418-slide-overlay span { color: #d7e0dd; font-size: 1.3rem; }
.v418-carousel-control { position: absolute; z-index: 2; top: 50%; width: 4.4rem; height: 4.4rem; border: .1rem solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(0,0,0,.58); color: #fff; cursor: pointer; transform: translateY(-50%); }
.v418-carousel-prev { left: .8rem; }
.v418-carousel-next { right: .8rem; }
.v418-dots { position: absolute; z-index: 3; right: 1.4rem; top: 1.4rem; display: flex; gap: .6rem; }
.v418-dot { width: 1rem; height: 1rem; border: 0; border-radius: 50%; padding: 0; background: rgba(255,255,255,.45); }
.v418-dot-active { width: 2.4rem; border-radius: 1rem; background: #63e6be; }
.v418-hero-copy { padding: 2.4rem .4rem 0; }
.v418-hero-copy p { color: var(--v418-muted); line-height: 2.4rem; }
.v418-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.v418-category { margin-top: 3.2rem; }
.v418-category-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.v418-category-head h3 { margin: 0; font-size: 1.9rem; line-height: 1.2; }
.v418-category-badge { border-radius: 2rem; padding: .5rem .9rem; background: rgba(0,169,143,.15); color: #63e6be; font-size: 1.1rem; font-weight: 800; }
.v418-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.v418-card { overflow: hidden; border: .1rem solid var(--v418-border); border-radius: 1.2rem; background: var(--v418-surface); transition: transform .2s, border-color .2s; }
.v418-card:hover { border-color: var(--v418-primary); transform: translateY(-.3rem); }
.v418-game-button { display: block; width: 100%; border: 0; padding: 0; background: transparent; color: #fff; cursor: pointer; }
.v418-game-button img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #202020; }
.v418-game-name { display: flex; min-height: 4.3rem; align-items: center; justify-content: center; padding: .7rem .5rem; font-size: 1.15rem; font-weight: 800; line-height: 1.4rem; text-align: center; }

.v418-feature-grid, .v418-stat-grid, .v418-review-grid { display: grid; gap: 1.2rem; }
.v418-panel { border: .1rem solid var(--v418-border); border-radius: var(--v418-radius); padding: 1.8rem; background: linear-gradient(145deg, var(--v418-surface), #101312); }
.v418-panel-icon { display: grid; width: 4.4rem; height: 4.4rem; place-items: center; border-radius: 1.2rem; background: rgba(0,169,143,.14); color: #63e6be; font-size: 2.2rem; }
.v418-panel h3 { margin: 1.2rem 0 .8rem; font-size: 1.8rem; line-height: 1.25; }
.v418-panel p, .v418-panel li { color: var(--v418-muted); line-height: 2.2rem; }
.v418-panel ul { margin: 0; padding-left: 2rem; }
.v418-text-link { border: 0; padding: 0; background: transparent; color: #63e6be; font: inherit; font-weight: 900; text-decoration: underline; cursor: pointer; }
.v418-stat { border-radius: 1.4rem; padding: 1.6rem; background: var(--v418-surface-soft); }
.v418-stat strong { display: block; color: var(--v418-gold); font-size: 2.2rem; line-height: 1.2; }
.v418-stat span { color: var(--v418-muted); font-size: 1.2rem; }
.v418-notice { border-left: .4rem solid var(--v418-gold); padding: 1.4rem; background: rgba(255,200,87,.08); color: #e9e0ca; line-height: 2.2rem; }
.v418-steps { counter-reset: v418-step; display: grid; gap: 1rem; padding: 0; list-style: none; }
.v418-steps li { position: relative; min-height: 5rem; padding: 1.2rem 1.2rem 1.2rem 5.4rem; border-radius: 1.2rem; background: var(--v418-surface); color: var(--v418-muted); line-height: 2rem; }
.v418-steps li::before { counter-increment: v418-step; content: counter(v418-step); position: absolute; left: 1.1rem; top: .9rem; display: grid; width: 3.2rem; height: 3.2rem; place-items: center; border-radius: 50%; background: var(--v418-accent); color: #fff; font-weight: 900; }
.v418-faq details { border-bottom: .1rem solid var(--v418-border); }
.v418-faq summary { min-height: 5.2rem; padding: 1.6rem 0; font-weight: 800; cursor: pointer; }
.v418-faq p { margin-top: 0; color: var(--v418-muted); line-height: 2.2rem; }
.v418-rating { color: var(--v418-gold); letter-spacing: .15em; }
.v418-review-by { color: #63e6be; font-size: 1.2rem; font-weight: 800; }
.v418-cta { border: .1rem solid rgba(99,230,190,.35); border-radius: 2rem; padding: 2.4rem; background: linear-gradient(135deg, #004d40, #44102d); text-align: center; box-shadow: var(--v418-shadow); }
.v418-cta h2 { margin: 0 0 1rem; font-size: 2.5rem; line-height: 1.2; }
.v418-cta p { color: #d6e0dd; line-height: 2.2rem; }

.v418-footer { padding: 3.6rem 0 8.5rem; border-top: .1rem solid var(--v418-border); background: #080a09; }
.v418-footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.v418-footer-brand img { width: 4rem; height: 4rem; border-radius: 1rem; }
.v418-footer p { color: var(--v418-muted); line-height: 2.2rem; }
.v418-footer-links { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0; }
.v418-footer-links button, .v418-footer-links a { min-height: 4.4rem; border: .1rem solid var(--v418-border); border-radius: 1rem; padding: 1rem 1.2rem; background: var(--v418-surface); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.v418-copyright { padding-top: 1.6rem; border-top: .1rem solid var(--v418-border); font-size: 1.2rem; }

.v418-bottom-nav {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 6.2rem;
  justify-content: space-around;
  border-top: .1rem solid rgba(99,230,190,.25);
  background: #07110f;
  box-shadow: 0 -1rem 2.5rem rgba(0,0,0,.4);
}
.v418-bottom-item {
  position: relative;
  display: flex;
  min-width: 6rem;
  min-height: 6rem;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  border: 0;
  background: transparent;
  color: #a9b4b0;
  font: inherit;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s, transform .2s;
}
.v418-bottom-item i, .v418-bottom-item span[aria-hidden="true"], .v418-bottom-item ion-icon { font-size: 2.3rem; }
.v418-bottom-item:active { color: #63e6be; transform: scale(.92); }
.v418-bottom-active { color: #63e6be; }
.v418-bottom-active::before { content: ''; position: absolute; top: 0; width: 3.2rem; height: .3rem; border-radius: 0 0 .5rem .5rem; background: #63e6be; }
.v418-badge { position: absolute; top: .4rem; left: calc(50% + .8rem); min-width: 1.7rem; border-radius: 1rem; padding: .2rem .4rem; background: var(--v418-accent); color: #fff; font-size: .9rem; font-weight: 900; }

@media (max-width: 430px) {
  .v418-container { width: min(100% - 2rem, 43rem); }
  .v418-header-actions .v418-btn { padding-inline: .9rem; font-size: 1.15rem; }
  .v418-brand-name { max-width: 7.8rem; }
  .v418-slide img { aspect-ratio: 16 / 9; }
  .v418-title { font-size: 3rem; }
}

@media (max-width: 768px) {
  .v418-main { padding-bottom: 8rem; }
}

@media (min-width: 560px) {
  .v418-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v418-feature-grid, .v418-review-grid { grid-template-columns: repeat(2, 1fr); }
  .v418-stat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 769px) {
  body { font-size: 1.6rem; line-height: 1.6rem; }
  .v418-bottom-nav, .v418-menu-button, .v418-mobile-menu { display: none; }
  .v418-desktop-nav { display: flex; align-items: center; gap: .4rem; margin-left: 2rem; }
  .v418-desktop-nav a { min-height: 4.4rem; padding: 1.4rem 1rem; color: var(--v418-muted); font-size: 1.3rem; font-weight: 700; text-decoration: none; }
  .v418-desktop-nav a:hover { color: #63e6be; }
  .v418-main { padding-bottom: 0; }
  .v418-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .v418-feature-grid { grid-template-columns: repeat(3, 1fr); }
  .v418-review-grid { grid-template-columns: repeat(3, 1fr); }
  .v418-footer { padding-bottom: 3.6rem; }
}

@media (min-width: 1024px) {
  .v418-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .v418-hero-layout { display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 3rem; }
  .v418-hero-copy { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
