:root {
  font-size: 62.5%;
  --s4cc-bg: #10101f;
  --s4cc-surface: #1a1a2e;
  --s4cc-panel: #22223b;
  --s4cc-primary: #40e0d0;
  --s4cc-secondary: #48d1cc;
  --s4cc-deep: #0097a7;
  --s4cc-gold: #ffd166;
  --s4cc-text: #f4ffff;
  --s4cc-muted: #b9d4d8;
  --s4cc-border: rgba(72, 209, 204, .26);
  --s4cc-danger: #ff6b7a;
  --s4cc-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, .3);
  --s4cc-radius: 1.6rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 8rem; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--s4cc-text);
  background: radial-gradient(circle at top, #233458 0, var(--s4cc-bg) 38rem);
  font: 400 1.5rem/1.5rem Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.s4cc-lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.s4cc-skip {
  position: fixed;
  top: -10rem;
  left: 1rem;
  z-index: 10001;
  padding: 1.2rem 1.6rem;
  color: #07191a;
  background: var(--s4cc-primary);
  border-radius: .8rem;
}
.s4cc-skip:focus { top: 1rem; }
.s4cc-container { width: min(100% - 2.4rem, 112rem); margin-inline: auto; }
.s4cc-wrapper { padding-block: 3.2rem; }

.s4cc-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 6.8rem;
  border-bottom: .1rem solid var(--s4cc-border);
  background: rgba(16, 16, 31, .94);
  box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .26);
  backdrop-filter: blur(1.4rem);
}
.s4cc-header-row { display: flex; align-items: center; gap: .8rem; height: 6.8rem; }
.s4cc-brand { display: inline-flex; align-items: center; gap: .8rem; min-width: 0; margin-right: auto; }
.s4cc-brand-mark {
  display: grid;
  flex: 0 0 3.2rem;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  color: #07191a;
  background: linear-gradient(135deg, var(--s4cc-primary), var(--s4cc-gold));
  border-radius: 1rem;
  box-shadow: 0 0 1.8rem rgba(64, 224, 208, .34);
}
.s4cc-brand-name { overflow: hidden; font-size: 1.5rem; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }
.s4cc-desktop-nav { display: none; align-items: center; gap: .5rem; }
.s4cc-nav-link { min-height: 4.4rem; padding: 1.4rem 1rem; color: var(--s4cc-muted); font-weight: 800; }
.s4cc-nav-link:hover, .s4cc-nav-link:focus-visible { color: var(--s4cc-primary); }
.s4cc-header-actions { display: flex; gap: .6rem; }
.s4cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 4.4rem;
  padding: .9rem 1.4rem;
  border: .1rem solid transparent;
  border-radius: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s, filter .2s, border-color .2s;
}
.s4cc-btn:hover, .s4cc-btn:focus-visible { transform: translateY(-.2rem); filter: brightness(1.1); }
.s4cc-btn-primary { color: #06191a; background: linear-gradient(135deg, var(--s4cc-primary), var(--s4cc-secondary)); }
.s4cc-btn-outline { color: var(--s4cc-primary); background: rgba(64, 224, 208, .08); border-color: var(--s4cc-primary); }
.s4cc-btn-gold { color: #251c03; background: linear-gradient(135deg, var(--s4cc-gold), #ff9f1c); }
.s4cc-menu-button {
  display: grid;
  min-width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  place-items: center;
  color: var(--s4cc-text);
  background: var(--s4cc-panel);
  border: .1rem solid var(--s4cc-border);
  border-radius: 1.1rem;
  cursor: pointer;
}
.s4cc-menu-backdrop {
  position: fixed;
  inset: 6.8rem 0 0;
  z-index: 9998;
  visibility: hidden;
  opacity: 0;
  background: rgba(4, 5, 15, .72);
  transition: opacity .25s, visibility .25s;
}
.s4cc-mobile-menu {
  position: fixed;
  top: 6.8rem;
  right: 0;
  z-index: 9999;
  width: min(88vw, 34rem);
  height: calc(100dvh - 6.8rem);
  padding: 2rem;
  overflow-y: auto;
  background: #16162a;
  border-left: .1rem solid var(--s4cc-border);
  transform: translateX(105%);
  transition: transform .25s ease;
}
.s4cc-mobile-menu.s4cc-menu-open { transform: translateX(0); }
.s4cc-menu-backdrop.s4cc-menu-open { visibility: visible; opacity: 1; }
.s4cc-menu-title { margin: 0 0 1.2rem; color: var(--s4cc-primary); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .12em; }
.s4cc-menu-list { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.s4cc-menu-link { display: flex; align-items: center; gap: 1rem; min-height: 4.8rem; padding: 1.2rem; background: var(--s4cc-panel); border: .1rem solid var(--s4cc-border); border-radius: 1rem; font-weight: 800; }
.s4cc-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.6rem; }

.s4cc-main { min-height: 100vh; padding-top: 6.8rem; }
.s4cc-hero { padding-top: 1.6rem; }
.s4cc-carousel { position: relative; min-height: 38rem; overflow: hidden; background: #15152a; border: .1rem solid var(--s4cc-border); border-radius: 2rem; box-shadow: var(--s4cc-shadow); }
.s4cc-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .55s; }
.s4cc-slide-active { visibility: visible; opacity: 1; }
.s4cc-slide img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.s4cc-slide::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(10, 10, 27, .95), rgba(10, 10, 27, .2)), linear-gradient(0deg, rgba(10, 10, 27, .8), transparent 60%); }
.s4cc-slide-copy { position: absolute; inset: auto 1.8rem 3.8rem; z-index: 1; max-width: 58rem; }
.s4cc-eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; color: var(--s4cc-primary); font-size: 1.2rem; font-weight: 900; text-transform: uppercase; letter-spacing: .11em; }
.s4cc-hero-title { margin: 0 0 1.2rem; font-size: clamp(3rem, 9vw, 5.6rem); line-height: 1.02; }
.s4cc-hero-copy { max-width: 60rem; margin: 0 0 1.6rem; color: #def5f6; font-size: 1.6rem; line-height: 2.4rem; }
.s4cc-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.s4cc-carousel-control { position: absolute; top: 50%; z-index: 2; display: grid; width: 4.4rem; height: 4.4rem; place-items: center; color: var(--s4cc-text); background: rgba(10, 10, 27, .72); border: .1rem solid var(--s4cc-border); border-radius: 50%; cursor: pointer; transform: translateY(-50%); }
.s4cc-carousel-prev { left: .8rem; }
.s4cc-carousel-next { right: .8rem; }
.s4cc-dots { position: absolute; z-index: 2; right: 1.6rem; bottom: 1.5rem; display: flex; gap: .7rem; }
.s4cc-dot { width: 1rem; height: 1rem; padding: 0; background: #8da9ad; border: 0; border-radius: 50%; cursor: pointer; }
.s4cc-dot-active { width: 2.6rem; background: var(--s4cc-primary); border-radius: 1rem; }

.s4cc-trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; padding-top: 1.2rem; }
.s4cc-trust-item { display: flex; align-items: center; gap: .8rem; min-height: 5.4rem; padding: 1rem; color: var(--s4cc-muted); background: rgba(34, 34, 59, .8); border: .1rem solid var(--s4cc-border); border-radius: 1rem; }
.s4cc-trust-item i, .s4cc-trust-item ion-icon { color: var(--s4cc-primary); font-size: 2.2rem; }
.s4cc-section { padding-block: 3.4rem; }
.s4cc-section-alt { background: linear-gradient(180deg, rgba(26, 26, 46, .55), rgba(26, 26, 46, .12)); border-block: .1rem solid rgba(72, 209, 204, .12); }
.s4cc-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.s4cc-section-title { margin: 0; font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1.15; }
.s4cc-section-copy { max-width: 67rem; margin: .8rem 0 0; color: var(--s4cc-muted); line-height: 2.3rem; }
.s4cc-text-link { display: inline; min-height: 4.4rem; color: var(--s4cc-primary); font-weight: 900; text-decoration: underline; text-underline-offset: .3rem; cursor: pointer; }

.s4cc-category { margin-top: 2.8rem; }
.s4cc-category:first-of-type { margin-top: 0; }
.s4cc-category-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.s4cc-category-icon { display: grid; width: 4rem; height: 4rem; place-items: center; color: #06191a; background: var(--s4cc-primary); border-radius: 1rem; font-size: 2rem; }
.s4cc-category-title { margin: 0; font-size: 2.1rem; }
.s4cc-category-count { margin-left: auto; color: var(--s4cc-muted); font-size: 1.2rem; font-weight: 800; }
.s4cc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.s4cc-card { min-width: 0; overflow: hidden; background: var(--s4cc-panel); border: .1rem solid var(--s4cc-border); border-radius: 1.2rem; box-shadow: 0 .6rem 1.8rem rgba(0, 0, 0, .18); }
.s4cc-game { display: block; min-height: 4.4rem; cursor: pointer; transition: transform .2s, border-color .2s; }
.s4cc-game:hover, .s4cc-game:focus-visible { transform: translateY(-.3rem); outline: .2rem solid var(--s4cc-primary); }
.s4cc-game img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #0b0b17; }
.s4cc-game-name { display: grid; min-height: 4.4rem; padding: .7rem .5rem; place-items: center; overflow: hidden; font-size: 1.15rem; font-weight: 800; line-height: 1.35rem; text-align: center; }

.s4cc-content-grid { display: grid; gap: 1.2rem; }
.s4cc-info-card { padding: 1.8rem; background: linear-gradient(145deg, var(--s4cc-panel), #18182c); border: .1rem solid var(--s4cc-border); border-radius: var(--s4cc-radius); }
.s4cc-info-card h3 { margin: 0 0 .9rem; color: var(--s4cc-primary); font-size: 1.9rem; line-height: 2.2rem; }
.s4cc-info-card p { margin: 0; color: var(--s4cc-muted); line-height: 2.3rem; }
.s4cc-steps { margin: 0; padding: 0; list-style: none; counter-reset: s4cc-step; }
.s4cc-step { position: relative; min-height: 7rem; margin-bottom: 1rem; padding: 1.4rem 1.4rem 1.4rem 6rem; background: var(--s4cc-panel); border: .1rem solid var(--s4cc-border); border-radius: 1.2rem; counter-increment: s4cc-step; }
.s4cc-step::before { position: absolute; top: 1.3rem; left: 1.2rem; display: grid; width: 3.6rem; height: 3.6rem; place-items: center; color: #07191a; background: var(--s4cc-primary); border-radius: 1rem; content: counter(s4cc-step); font-weight: 900; }
.s4cc-step h3 { margin: 0 0 .5rem; font-size: 1.7rem; }
.s4cc-step p { margin: 0; color: var(--s4cc-muted); line-height: 2.1rem; }
.s4cc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.s4cc-stat { padding: 1.5rem 1rem; text-align: center; background: var(--s4cc-panel); border: .1rem solid var(--s4cc-border); border-radius: 1.2rem; }
.s4cc-stat strong { display: block; color: var(--s4cc-primary); font-size: 2.5rem; line-height: 3rem; }
.s4cc-stat span { color: var(--s4cc-muted); font-size: 1.2rem; }
.s4cc-quote { margin: 0; padding: 1.8rem; background: var(--s4cc-panel); border-left: .4rem solid var(--s4cc-gold); border-radius: 0 1.2rem 1.2rem 0; }
.s4cc-quote p { margin: 0 0 1rem; line-height: 2.3rem; }
.s4cc-quote footer { color: var(--s4cc-primary); font-weight: 800; }
.s4cc-faq details { margin-bottom: .8rem; background: var(--s4cc-panel); border: .1rem solid var(--s4cc-border); border-radius: 1rem; }
.s4cc-faq summary { min-height: 4.8rem; padding: 1.4rem; color: var(--s4cc-text); font-weight: 900; cursor: pointer; }
.s4cc-faq p { margin: 0; padding: 0 1.4rem 1.4rem; color: var(--s4cc-muted); line-height: 2.2rem; }
.s4cc-cta { padding: 2.2rem; overflow: hidden; background: linear-gradient(135deg, #083f48, var(--s4cc-deep)); border: .1rem solid var(--s4cc-primary); border-radius: 1.8rem; text-align: center; box-shadow: var(--s4cc-shadow); }
.s4cc-cta h2 { margin: 0 0 .8rem; font-size: 2.7rem; line-height: 3.2rem; }
.s4cc-cta p { max-width: 68rem; margin: 0 auto 1.5rem; line-height: 2.2rem; }

.s4cc-footer { padding: 3.5rem 0 9rem; background: #0b0b16; border-top: .1rem solid var(--s4cc-border); }
.s4cc-footer-grid { display: grid; gap: 2rem; }
.s4cc-footer-copy { color: var(--s4cc-muted); line-height: 2.2rem; }
.s4cc-footer-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.s4cc-footer-link { display: inline-flex; align-items: center; min-height: 4.4rem; padding: .8rem 1.1rem; color: var(--s4cc-primary); background: rgba(64, 224, 208, .08); border: .1rem solid var(--s4cc-border); border-radius: .9rem; font-weight: 800; }
.s4cc-footer-bottom { margin-top: 2.2rem; padding-top: 1.6rem; color: #829da1; border-top: .1rem solid rgba(255, 255, 255, .08); font-size: 1.2rem; line-height: 1.8rem; }

.s4cc-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  height: 6.2rem;
  justify-content: space-around;
  padding: .3rem max(.3rem, env(safe-area-inset-right)) calc(.3rem + env(safe-area-inset-bottom)) max(.3rem, env(safe-area-inset-left));
  background: #17172a;
  border-top: .1rem solid var(--s4cc-border);
  box-shadow: 0 -.8rem 2.4rem rgba(0, 0, 0, .36);
}
.s4cc-bottom-item { display: flex; flex: 1; min-width: 6rem; min-height: 6rem; align-items: center; justify-content: center; flex-direction: column; gap: .2rem; padding: .2rem; color: #a9c6c9; background: transparent; border: 0; cursor: pointer; transition: color .2s, transform .2s; }
.s4cc-bottom-item i, .s4cc-bottom-item ion-icon, .s4cc-bottom-item .material-icons { font-size: 2.3rem; line-height: 2.6rem; }
.s4cc-bottom-item span:last-child { font-size: 1rem; font-weight: 800; }
.s4cc-bottom-item:hover, .s4cc-bottom-item:focus-visible, .s4cc-bottom-active { color: var(--s4cc-primary); transform: translateY(-.2rem) scale(1.04); }
.s4cc-bottom-promoted { position: relative; color: var(--s4cc-gold); }
.s4cc-bottom-promoted::before { position: absolute; top: .2rem; right: calc(50% - 2.1rem); width: .7rem; height: .7rem; background: var(--s4cc-danger); border: .2rem solid #17172a; border-radius: 50%; content: ""; }

@media (max-width: 430px) {
  .s4cc-container { width: min(100% - 1.6rem, 43rem); }
  .s4cc-header-actions .s4cc-btn { padding-inline: .9rem; font-size: 1.15rem; }
  .s4cc-brand-name { max-width: 8.4rem; font-size: 1.25rem; }
  .s4cc-carousel { min-height: 42rem; border-radius: 1.5rem; }
  .s4cc-slide-copy { right: 1.4rem; left: 1.4rem; }
  .s4cc-carousel-control { top: 33%; }
  .s4cc-grid { gap: .7rem; }
  .s4cc-game-name { font-size: 1.05rem; }
}

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

@media (min-width: 560px) {
  .s4cc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .s4cc-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s4cc-trust-strip { grid-template-columns: repeat(4, 1fr); }
  .s4cc-stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 769px) {
  .s4cc-desktop-nav { display: flex; }
  .s4cc-menu-button, .s4cc-mobile-menu, .s4cc-menu-backdrop, .s4cc-bottom-nav { display: none; }
  .s4cc-hero { padding-top: 2.4rem; }
  .s4cc-carousel { min-height: 48rem; }
  .s4cc-slide-copy { bottom: 6rem; left: 5rem; }
  .s4cc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.2rem; }
  .s4cc-footer { padding-bottom: 3rem; }
  .s4cc-footer-grid { grid-template-columns: 1.1fr 1fr; }
}

@media (min-width: 1024px) {
  .s4cc-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .s4cc-content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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