:root {
  font-size: 62.5%;
  --pg8d-primary: #f7c948;
  --pg8d-primary-2: #12d7c8;
  --pg8d-bg: #1c2833;
  --pg8d-bg-soft: #253647;
  --pg8d-panel: #2d4053;
  --pg8d-text: #f6f7f8;
  --pg8d-muted: #c9d2da;
  --pg8d-line: rgba(255, 255, 255, .13);
  --pg8d-shadow: 0 1.6rem 4rem rgba(0, 0, 0, .34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(18, 215, 200, .18), transparent 32rem), linear-gradient(180deg, #111b24 0%, var(--pg8d-bg) 48%, #101820 100%);
  color: var(--pg8d-text);
  font-size: 1.6rem;
  line-height: 1.5rem;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; }
main { padding-top: 8.4rem; }
.pg8d-container {
  width: min(100%, 43rem);
  margin: 0 auto;
  padding: 0 1.4rem;
}
.pg8d-wrapper { width: min(100%, 43rem); margin: 0 auto; }
.pg8d-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 43rem);
  z-index: 1000;
  background: rgba(28, 40, 51, .96);
  border-bottom: .1rem solid var(--pg8d-line);
  backdrop-filter: blur(1.4rem);
}
.pg8d-nav {
  min-height: 6.8rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.2rem;
}
.pg8d-logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .04em;
}
.pg8d-logo img { width: 3rem; height: 3rem; border-radius: .8rem; }
.pg8d-logo span { color: var(--pg8d-primary); font-size: 1.9rem; text-transform: uppercase; }
.pg8d-actions { display: flex; gap: .6rem; margin-left: auto; }
.pg8d-btn {
  border: 0;
  border-radius: 999rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
  padding: 0 1.3rem;
  cursor: pointer;
  color: #121820;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pg8d-primary), #ff8f3d);
  box-shadow: 0 .8rem 2rem rgba(247, 201, 72, .25);
  transition: transform .2s ease, filter .2s ease;
}
.pg8d-btn:hover, .pg8d-btn:focus { transform: translateY(-.2rem); filter: brightness(1.08); }
.pg8d-btn.pg8d-alt { color: var(--pg8d-text); background: linear-gradient(135deg, #5d5d5d, #394c5f); box-shadow: none; }
.pg8d-menu-btn {
  width: 4.4rem;
  height: 4.4rem;
  border: .1rem solid var(--pg8d-line);
  border-radius: 1.2rem;
  color: var(--pg8d-text);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}
.pg8d-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  padding: 8rem 1.6rem 2rem;
  background: rgba(9, 16, 22, .94);
  backdrop-filter: blur(1.8rem);
}
.pg8d-mobile-menu.pg8d-open { display: block; }
.pg8d-menu-panel {
  width: min(100%, 40rem);
  margin: 0 auto;
  border: .1rem solid var(--pg8d-line);
  border-radius: 2.4rem;
  background: linear-gradient(180deg, #263849, #192531);
  box-shadow: var(--pg8d-shadow);
  padding: 1.6rem;
}
.pg8d-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pg8d-menu-title { color: var(--pg8d-primary); font-size: 2rem; font-weight: 900; }
.pg8d-menu-close { border: 0; color: var(--pg8d-text); background: transparent; font-size: 2.6rem; min-width: 4.4rem; min-height: 4.4rem; }
.pg8d-menu-links { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pg8d-menu-links a {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, .07);
  text-decoration: none;
  color: var(--pg8d-muted);
}
.pg8d-menu-cta { margin-top: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pg8d-hero { padding: 1.4rem 0 2rem; }
.pg8d-carousel { position: relative; overflow: hidden; border-radius: 2.4rem; border: .1rem solid var(--pg8d-line); box-shadow: var(--pg8d-shadow); }
.pg8d-slide { display: none; position: relative; min-height: 20rem; cursor: pointer; }
.pg8d-slide.pg8d-active { display: block; }
.pg8d-slide img { width: 100%; height: 22rem; object-fit: cover; }
.pg8d-slide-caption { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; padding: 1rem; border-radius: 1.6rem; background: rgba(9, 16, 22, .72); }
.pg8d-slide-caption strong { display: block; color: var(--pg8d-primary); font-size: 2rem; line-height: 2.4rem; }
.pg8d-dots { position: absolute; right: 1.2rem; top: 1.2rem; display: flex; gap: .5rem; }
.pg8d-dot { width: .9rem; height: .9rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .38); }
.pg8d-dot.pg8d-active { width: 2.2rem; border-radius: 999rem; background: var(--pg8d-primary); }
.pg8d-section { padding: 1.8rem 0; }
.pg8d-card {
  border: .1rem solid var(--pg8d-line);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(45, 64, 83, .92), rgba(28, 40, 51, .88));
  box-shadow: 0 1rem 2.4rem rgba(0,0,0,.18);
  padding: 1.5rem;
}
.pg8d-kicker { color: var(--pg8d-primary-2); text-transform: uppercase; letter-spacing: .12em; font-size: 1.1rem; font-weight: 900; }
.pg8d-title { margin: .6rem 0 1rem; font-size: 2.8rem; line-height: 3.2rem; color: var(--pg8d-text); }
.pg8d-subtitle { margin: 0 0 1.2rem; color: var(--pg8d-muted); line-height: 2.4rem; }
.pg8d-grid { display: grid; gap: 1rem; }
.pg8d-grid.pg8d-two { grid-template-columns: repeat(2, 1fr); }
.pg8d-grid.pg8d-three { grid-template-columns: repeat(3, 1fr); }
.pg8d-pill-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1rem 0; }
.pg8d-pill { padding: .6rem 1rem; border-radius: 999rem; background: rgba(18, 215, 200, .12); color: var(--pg8d-primary-2); font-weight: 800; font-size: 1.2rem; }
.pg8d-promo-text { color: var(--pg8d-primary); font-weight: 900; cursor: pointer; text-decoration: underline; text-decoration-thickness: .2rem; text-underline-offset: .3rem; }
.pg8d-link { color: var(--pg8d-primary-2); font-weight: 800; text-decoration: underline; text-underline-offset: .3rem; }
.pg8d-game-block { margin-top: 1.6rem; }
.pg8d-game-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.pg8d-game-head h2 { margin: 0; font-size: 2rem; line-height: 2.4rem; }
.pg8d-game-head span { color: var(--pg8d-primary); font-size: 1.2rem; font-weight: 900; }
.pg8d-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.pg8d-game-link {
  min-height: 9.6rem;
  padding: .7rem .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: .5rem;
  border: .1rem solid var(--pg8d-line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, .055);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.pg8d-game-link img { width: 4.8rem; height: 4.8rem; object-fit: cover; border-radius: 1rem; }
.pg8d-game-link span { font-size: 1.1rem; line-height: 1.35rem; color: var(--pg8d-text); font-weight: 750; }
.pg8d-stat { padding: 1rem; border-radius: 1.5rem; background: rgba(255, 255, 255, .06); }
.pg8d-stat strong { display: block; color: var(--pg8d-primary); font-size: 2.2rem; line-height: 2.6rem; }
.pg8d-stat span { color: var(--pg8d-muted); font-size: 1.2rem; }
.pg8d-list { margin: 1rem 0 0; padding-left: 1.8rem; color: var(--pg8d-muted); line-height: 2.35rem; }
.pg8d-step { display: flex; gap: 1rem; padding: 1rem; border-radius: 1.6rem; background: rgba(255, 255, 255, .055); }
.pg8d-step b { flex: 0 0 3.2rem; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; color: #121820; background: var(--pg8d-primary); }
.pg8d-review { border-left: .4rem solid var(--pg8d-primary); padding: .9rem 1rem; background: rgba(255, 255, 255, .05); border-radius: 0 1.2rem 1.2rem 0; }
.pg8d-payment { display: flex; align-items: center; justify-content: center; min-height: 5rem; border-radius: 1.4rem; background: rgba(255,255,255,.08); font-weight: 900; }
.pg8d-footer { padding: 2.2rem 0 8.8rem; border-top: .1rem solid var(--pg8d-line); margin-top: 2rem; background: rgba(9, 16, 22, .38); }
.pg8d-footer-logo { display: flex; align-items: center; gap: .8rem; color: var(--pg8d-primary); font-weight: 900; font-size: 2rem; }
.pg8d-footer-logo img { width: 3.2rem; height: 3.2rem; border-radius: .8rem; }
.pg8d-footer-text { color: var(--pg8d-muted); line-height: 2.4rem; }
.pg8d-footer-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0; }
.pg8d-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 1.2rem 0; }
.pg8d-footer-links a { color: var(--pg8d-muted); text-decoration: none; padding: .6rem 0; }
.pg8d-partners { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.pg8d-partner { padding: .7rem 1rem; border-radius: 1rem; background: rgba(255,255,255,.08); color: var(--pg8d-primary-2); font-size: 1.2rem; font-weight: 900; }
.pg8d-copy { color: #9fb0bf; font-size: 1.2rem; margin-top: 1rem; }
.pg8d-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(100%, 43rem);
  height: 6.2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #5d5d5d;
  border-top: .2rem solid var(--pg8d-primary);
  box-shadow: 0 -1rem 2.8rem rgba(0, 0, 0, .36);
}
.pg8d-bottom-link {
  min-width: 6rem;
  min-height: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  border: 0;
  background: transparent;
  color: #ecf0f1;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease;
}
.pg8d-bottom-link i, .pg8d-bottom-link ion-icon, .pg8d-bottom-link .material-icons, .pg8d-bottom-link svg { font-size: 2.4rem; width: 2.4rem; height: 2.4rem; }
.pg8d-bottom-link.pg8d-active { color: var(--pg8d-primary); transform: translateY(-.35rem); }
.pg8d-bottom-link:hover, .pg8d-bottom-link.pg8d-tapped { color: var(--pg8d-primary-2); transform: scale(1.06); }
.pg8d-badge { position: absolute; margin-left: 2rem; margin-top: -2.6rem; padding: .1rem .5rem; border-radius: 999rem; background: #ff4d6d; color: #fff; font-size: 1rem; }
.pg8d-menu-lock { overflow: hidden; }
.pg8d-tapped { transform: scale(.97); }
@media (min-width: 769px) {
  .pg8d-bottom-nav { display: none; }
  .pg8d-header { width: 100%; max-width: none; }
  .pg8d-nav, .pg8d-container, .pg8d-wrapper { width: min(100%, 110rem); max-width: 110rem; }
  .pg8d-container, .pg8d-wrapper { padding-left: 2rem; padding-right: 2rem; }
  .pg8d-game-grid { grid-template-columns: repeat(8, 1fr); }
  .pg8d-grid.pg8d-three { grid-template-columns: repeat(3, 1fr); }
  .pg8d-footer { padding-bottom: 3rem; }
}
@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
  .pg8d-actions .pg8d-btn { padding: 0 1rem; font-size: 1.3rem; }
}
@media (max-width: 360px) {
  .pg8d-game-grid { grid-template-columns: repeat(3, 1fr); }
  .pg8d-title { font-size: 2.4rem; line-height: 2.9rem; }
  .pg8d-actions .pg8d-btn { padding: 0 .8rem; }
}
