:root {
  font-size: 62.5%;
  --w8e8f-primary: #bf360c;
  --w8e8f-secondary: #008000;
  --w8e8f-accent: #ff7f50;
  --w8e8f-soft: #98fb98;
  --w8e8f-bg: #17242d;
  --w8e8f-panel: #243743;
  --w8e8f-panel-2: #34495e;
  --w8e8f-text: #f7fff7;
  --w8e8f-muted: #c7d4d9;
  --w8e8f-line: rgba(152, 251, 152, .18);
  --w8e8f-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0, #34495e 0, var(--w8e8f-bg) 34rem);
  color: var(--w8e8f-text);
  font: 1.5rem/1.5rem Inter, Arial, sans-serif;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.w8e8f-skip {
  position: fixed; top: -6rem; left: 1rem; z-index: 10001;
  padding: 1rem 1.4rem; background: var(--w8e8f-soft); color: #102218;
}
.w8e8f-skip:focus { top: 1rem; }
.w8e8f-container { width: min(100% - 2.4rem, 112rem); margin-inline: auto; }
.w8e8f-wrapper { padding-block: 3rem; }
.w8e8f-grid { display: grid; gap: 1.2rem; }
.w8e8f-eyebrow { margin: 0 0 .8rem; color: var(--w8e8f-soft); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.w8e8f-section-title { margin: 0; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1.15; }
.w8e8f-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.w8e8f-section-head p { margin: 0; color: var(--w8e8f-muted); }

.w8e8f-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  min-height: 6.4rem; border-bottom: 1px solid var(--w8e8f-line);
  background: rgba(23, 36, 45, .96); backdrop-filter: blur(1.2rem);
}
.w8e8f-header-row { min-height: 6.4rem; display: flex; align-items: center; gap: .8rem; }
.w8e8f-brand { display: flex; align-items: center; gap: .7rem; min-width: 0; margin-right: auto; font-size: 2rem; font-weight: 900; }
.w8e8f-brand img { width: 3.2rem; height: 3.2rem; border-radius: .9rem; }
.w8e8f-btn {
  min-height: 4.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  border: 1px solid transparent; border-radius: 1.2rem; padding: .8rem 1.3rem;
  background: var(--w8e8f-primary); color: #fff; font-weight: 800; cursor: pointer;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
}
.w8e8f-btn:active { transform: scale(.95); }
.w8e8f-btn:hover { filter: brightness(1.12); }
.w8e8f-btn-secondary { border-color: var(--w8e8f-soft); background: transparent; color: var(--w8e8f-soft); }
.w8e8f-btn-accent { background: linear-gradient(135deg, var(--w8e8f-primary), var(--w8e8f-accent)); box-shadow: 0 .8rem 2rem rgba(191, 54, 12, .3); }
.w8e8f-menu-toggle { width: 4.4rem; padding: 0; background: var(--w8e8f-panel-2); }
.w8e8f-desktop-nav { display: none; }

.w8e8f-menu {
  position: fixed; inset: 0; z-index: 9999; display: none;
  background: rgba(5, 12, 16, .72); backdrop-filter: blur(.5rem);
}
.w8e8f-menu-open { display: block; }
.w8e8f-menu-panel {
  width: min(86%, 36rem); height: 100%; margin-left: auto; padding: 2rem;
  background: var(--w8e8f-panel); box-shadow: var(--w8e8f-shadow);
  animation: w8e8f-slide-in .2s ease both;
}
@keyframes w8e8f-slide-in { from { transform: translateX(100%); } }
.w8e8f-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.w8e8f-menu-head strong { font-size: 2rem; }
.w8e8f-menu-close { width: 4.4rem; padding: 0; }
.w8e8f-nav { display: grid; gap: .8rem; }
.w8e8f-nav a, .w8e8f-nav button {
  min-height: 4.8rem; display: flex; align-items: center; gap: 1rem; width: 100%;
  border: 1px solid var(--w8e8f-line); border-radius: 1rem; padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, .04); color: var(--w8e8f-text); text-align: left; cursor: pointer;
}
.w8e8f-menu-lock { overflow: hidden; }

.w8e8f-main { padding-top: 6.4rem; }
.w8e8f-hero { position: relative; min-height: 43rem; overflow: hidden; background: #0c171d; }
.w8e8f-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease; }
.w8e8f-slide-active { opacity: 1; visibility: visible; }
.w8e8f-slide img { width: 100%; height: 100%; object-fit: cover; opacity: .52; }
.w8e8f-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 23, 29, .96), rgba(12, 23, 29, .28)); }
.w8e8f-hero-copy { position: relative; z-index: 2; padding-top: 8rem; max-width: 63rem; }
.w8e8f-hero h1 { margin: 0 0 1.2rem; font-size: clamp(3.3rem, 10vw, 6.2rem); line-height: 1.02; }
.w8e8f-hero p { margin: 0 0 2rem; max-width: 56rem; color: #edf6f2; font-size: 1.7rem; line-height: 2.5rem; }
.w8e8f-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.w8e8f-carousel-controls { position: absolute; z-index: 3; inset: auto 1.2rem 1.6rem; display: flex; justify-content: space-between; align-items: center; }
.w8e8f-arrow { width: 4.4rem; padding: 0; border-radius: 50%; background: rgba(23, 36, 45, .8); }
.w8e8f-dots { display: flex; gap: .7rem; }
.w8e8f-dot { width: 1rem; height: 1rem; border: 0; border-radius: 1rem; padding: 0; background: #fff7; cursor: pointer; }
.w8e8f-dot-active { width: 2.6rem; background: var(--w8e8f-soft); }

.w8e8f-category-strip { position: sticky; top: 6.4rem; z-index: 900; overflow-x: auto; border-block: 1px solid var(--w8e8f-line); background: rgba(36, 55, 67, .97); scrollbar-width: none; }
.w8e8f-category-strip::-webkit-scrollbar { display: none; }
.w8e8f-category-inner { display: flex; gap: .7rem; width: max-content; padding: .8rem 1.2rem; }
.w8e8f-category-link { min-height: 4.4rem; display: inline-flex; align-items: center; gap: .6rem; border-radius: 2rem; padding: .8rem 1.3rem; background: #ffffff0d; color: var(--w8e8f-muted); font-weight: 700; }
.w8e8f-category-link:hover { background: var(--w8e8f-secondary); color: #fff; }

.w8e8f-games-section { scroll-margin-top: 13rem; padding-block: 2.8rem; }
.w8e8f-games-section:nth-child(even) { background: rgba(255, 255, 255, .025); }
.w8e8f-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.w8e8f-card {
  position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--w8e8f-line);
  border-radius: 1.3rem; background: linear-gradient(145deg, var(--w8e8f-panel), #1b2b34);
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .16); cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.w8e8f-card:hover { transform: translateY(-.3rem); border-color: var(--w8e8f-accent); }
.w8e8f-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #111d23; }
.w8e8f-card-name { min-height: 4.6rem; display: flex; align-items: center; justify-content: center; padding: .7rem .5rem; font-size: 1.2rem; line-height: 1.45rem; font-weight: 800; text-align: center; }
.w8e8f-count { border-radius: 2rem; padding: .5rem .9rem; background: var(--w8e8f-secondary); color: #fff; font-size: 1.2rem; font-weight: 800; }

.w8e8f-content-section { scroll-margin-top: 8rem; padding-block: 4rem; }
.w8e8f-content-grid { grid-template-columns: 1fr; }
.w8e8f-info-card { border: 1px solid var(--w8e8f-line); border-radius: 1.6rem; padding: 2rem; background: var(--w8e8f-panel); }
.w8e8f-info-card h3 { margin: 0 0 1rem; color: var(--w8e8f-soft); font-size: 2rem; line-height: 1.25; }
.w8e8f-info-card p, .w8e8f-info-card li { color: var(--w8e8f-muted); line-height: 2.3rem; }
.w8e8f-info-card ul, .w8e8f-info-card ol { padding-left: 2rem; }
.w8e8f-text-link { color: var(--w8e8f-soft); font-weight: 900; text-decoration: underline; text-underline-offset: .3rem; cursor: pointer; }
.w8e8f-feature-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.w8e8f-feature { display: flex; gap: 1rem; align-items: flex-start; }
.w8e8f-feature i, .w8e8f-feature span:first-child { color: var(--w8e8f-accent); font-size: 2.4rem; }
.w8e8f-stats { grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
.w8e8f-stat { border-radius: 1.2rem; padding: 1.4rem; background: #ffffff0a; text-align: center; }
.w8e8f-stat strong { display: block; color: var(--w8e8f-soft); font-size: 2.4rem; line-height: 1.2; }
.w8e8f-stat small { color: var(--w8e8f-muted); }
.w8e8f-cta { border-radius: 2rem; padding: 2.5rem; background: linear-gradient(135deg, #7b2409, var(--w8e8f-primary) 46%, #b94d29); text-align: center; box-shadow: var(--w8e8f-shadow); }
.w8e8f-cta h2 { margin: 0 0 1rem; font-size: 2.7rem; line-height: 1.2; }
.w8e8f-cta p { max-width: 65rem; margin: 0 auto 1.8rem; line-height: 2.3rem; }
.w8e8f-faq details { border-bottom: 1px solid var(--w8e8f-line); padding-block: .9rem; }
.w8e8f-faq summary { min-height: 4.4rem; display: flex; align-items: center; font-weight: 800; cursor: pointer; }

.w8e8f-footer { border-top: 1px solid var(--w8e8f-line); padding: 3.5rem 0 9rem; background: #101b22; }
.w8e8f-footer-grid { display: grid; gap: 2rem; }
.w8e8f-footer p { max-width: 68rem; color: var(--w8e8f-muted); line-height: 2.3rem; }
.w8e8f-footer-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.w8e8f-footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.w8e8f-footer-links a { color: var(--w8e8f-soft); font-weight: 700; }
.w8e8f-responsible { border-left: .3rem solid var(--w8e8f-accent); padding-left: 1.2rem; }

.w8e8f-bottom-nav {
  position: fixed; inset: auto 0 0; z-index: 1000; height: 6.2rem;
  display: flex; justify-content: space-around; border-top: 1px solid rgba(152, 251, 152, .3);
  background: #17242df5; box-shadow: 0 -1rem 2.5rem rgba(0, 0, 0, .25);
}
.w8e8f-bottom-item {
  min-width: 6rem; min-height: 6rem; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  border: 0; background: transparent; color: var(--w8e8f-muted); font-size: 1.1rem; cursor: pointer; transition: transform .16s ease, color .16s ease;
}
.w8e8f-bottom-item i, .w8e8f-bottom-item ion-icon, .w8e8f-bottom-item .material-icons { font-size: 2.4rem; line-height: 1; }
.w8e8f-bottom-item:active { transform: scale(.9); color: var(--w8e8f-accent); }
.w8e8f-bottom-active { color: var(--w8e8f-soft); }
.w8e8f-bottom-promo { position: relative; color: #fff; }
.w8e8f-bottom-promo::before { content: ""; position: absolute; inset: .4rem 1.2rem; z-index: -1; border-radius: 1.6rem; background: var(--w8e8f-primary); }

@media (max-width: 430px) {
  .w8e8f-container { width: min(100% - 2rem, 41rem); }
  .w8e8f-header-row { gap: .55rem; }
  .w8e8f-brand span { display: none; }
  .w8e8f-header .w8e8f-btn { padding-inline: 1rem; font-size: 1.25rem; }
  .w8e8f-hero { min-height: 46rem; }
  .w8e8f-hero-copy { padding-top: 6.4rem; }
  .w8e8f-section-head { align-items: flex-start; flex-direction: column; }
  .w8e8f-card-name { font-size: 1.1rem; }
}

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

@media (min-width: 600px) {
  .w8e8f-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .w8e8f-content-grid { grid-template-columns: repeat(2, 1fr); }
  .w8e8f-footer-grid { grid-template-columns: 1.2fr .8fr; }
}

@media (min-width: 769px) {
  .w8e8f-bottom-nav { display: none; }
  .w8e8f-footer { padding-bottom: 3.5rem; }
  .w8e8f-menu-toggle { display: none; }
  .w8e8f-desktop-nav { display: flex; align-items: center; gap: .5rem; }
  .w8e8f-desktop-nav a { padding: 1rem; color: var(--w8e8f-muted); font-weight: 700; }
  .w8e8f-game-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .w8e8f-stats { grid-template-columns: repeat(4, 1fr); }
}

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