:root {
  --pg83-primary: #0097a7;
  --pg83-primary-dark: #006874;
  --pg83-accent: #ff7f50;
  --pg83-mint: #48d1cc;
  --pg83-bg: #101b20;
  --pg83-surface: #18282e;
  --pg83-surface-soft: #21363d;
  --pg83-text: #f7fbfc;
  --pg83-muted: #b9c8cc;
  --pg83-border: rgba(229, 229, 229, .14);
  --pg83-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .28);
  --pg83-radius: 1.6rem;
}

* { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; scroll-padding-top: 8.2rem; }
body { margin: 0; min-width: 32rem; overflow-x: hidden; background: var(--pg83-bg); color: var(--pg83-text); font: 1.5rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body.pg83-menu-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.pg83-container { width: min(100% - 2.4rem, 118rem); margin-inline: auto; }
.pg83-wrapper { max-width: 118rem; margin-inline: auto; }
.pg83-visually-hidden { position: absolute; width: .1rem; height: .1rem; padding: 0; margin: -.1rem; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.pg83-section { padding: 3.4rem 0; }
.pg83-section-alt { background: linear-gradient(145deg, rgba(0, 151, 167, .12), rgba(72, 209, 204, .03)); }
.pg83-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.8rem; }
.pg83-section-head h2, .pg83-section-head h3 { margin: 0; line-height: 1.2; }
.pg83-eyebrow { margin: 0 0 .5rem; color: var(--pg83-mint); font-size: 1.2rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pg83-subtext { margin: .5rem 0 0; color: var(--pg83-muted); }
.pg83-highlight { color: var(--pg83-accent); font-weight: 800; }

.pg83-header { position: fixed; inset: 0 0 auto; z-index: 1000; min-height: 7rem; border-bottom: .1rem solid var(--pg83-border); background: rgba(16, 27, 32, .96); backdrop-filter: blur(1.2rem); }
.pg83-header-row { min-height: 7rem; display: flex; align-items: center; gap: .8rem; }
.pg83-brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 4.4rem; font-size: 1.9rem; font-weight: 900; letter-spacing: .04em; }
.pg83-brand img { width: 3.2rem; height: 3.2rem; border-radius: .9rem; object-fit: cover; }
.pg83-brand-mark { color: var(--pg83-mint); }
.pg83-header-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.pg83-btn { min-height: 4.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1.3rem; border: .1rem solid transparent; border-radius: 999rem; cursor: pointer; font-weight: 800; transition: transform .2s ease, filter .2s ease, background .2s ease; }
.pg83-btn:hover, .pg83-btn:focus-visible { transform: translateY(-.2rem); filter: brightness(1.08); }
.pg83-btn-primary { background: linear-gradient(135deg, var(--pg83-accent), #ffad66); color: #22120c; }
.pg83-btn-outline { border-color: var(--pg83-mint); background: transparent; color: var(--pg83-text); }
.pg83-menu-toggle { width: 4.4rem; padding: 0; border: .1rem solid var(--pg83-border); border-radius: 1.2rem; background: var(--pg83-surface); color: var(--pg83-text); cursor: pointer; }
.pg83-desktop-nav { display: none; align-items: center; gap: 1.8rem; margin-left: 2rem; }
.pg83-desktop-nav a { min-height: 4.4rem; display: inline-flex; align-items: center; color: var(--pg83-muted); font-weight: 700; }
.pg83-desktop-nav a:hover { color: var(--pg83-mint); }

.pg83-mobile-menu { position: fixed; z-index: 9999; top: 0; right: 0; width: min(86vw, 34rem); height: 100dvh; padding: 2rem; transform: translateX(105%); background: #14252b; box-shadow: -1rem 0 3rem rgba(0, 0, 0, .45); transition: transform .25s ease; }
.pg83-mobile-menu.pg83-menu-open { transform: translateX(0); }
.pg83-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.pg83-menu-head strong { font-size: 2rem; }
.pg83-menu-close { width: 4.4rem; height: 4.4rem; border: 0; border-radius: 50%; background: var(--pg83-surface-soft); color: var(--pg83-text); cursor: pointer; }
.pg83-menu-links { display: grid; gap: .8rem; }
.pg83-menu-links a, .pg83-menu-links button { min-height: 4.8rem; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: .1rem solid var(--pg83-border); border-radius: 1.2rem; background: var(--pg83-surface); color: var(--pg83-text); cursor: pointer; text-align: left; }
.pg83-menu-links i, .pg83-menu-links ion-icon { width: 2.4rem; color: var(--pg83-mint); font-size: 2.2rem; }
.pg83-menu-backdrop { position: fixed; z-index: 9998; inset: 0; visibility: hidden; opacity: 0; background: rgba(0, 0, 0, .65); transition: opacity .25s ease; }
.pg83-menu-backdrop.pg83-backdrop-open { visibility: visible; opacity: 1; }

.pg83-main { padding-top: 7rem; }
.pg83-hero { padding: 1.6rem 0 2.6rem; background: radial-gradient(circle at 90% 0, rgba(72, 209, 204, .2), transparent 45%); }
.pg83-carousel { position: relative; overflow: hidden; min-height: 20rem; border: .1rem solid var(--pg83-border); border-radius: 2rem; background: var(--pg83-surface); box-shadow: var(--pg83-shadow); }
.pg83-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .55s ease; }
.pg83-slide.pg83-slide-active { position: relative; visibility: visible; opacity: 1; }
.pg83-slide button { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.pg83-slide img { width: 100%; min-height: 20rem; aspect-ratio: 16/7; object-fit: cover; }
.pg83-slide-overlay { position: absolute; inset: auto 0 0; padding: 4.5rem 1.6rem 1.5rem; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); text-align: left; }
.pg83-slide-overlay strong { display: block; font-size: 2rem; }
.pg83-slide-overlay span { color: #e5e5e5; }
.pg83-carousel-arrow { position: absolute; z-index: 2; top: 50%; width: 4.4rem; height: 4.4rem; border: 0; border-radius: 50%; transform: translateY(-50%); background: rgba(16, 27, 32, .82); color: #fff; cursor: pointer; }
.pg83-carousel-prev { left: .8rem; }
.pg83-carousel-next { right: .8rem; }
.pg83-dots { position: absolute; z-index: 3; right: 1.2rem; bottom: 1.2rem; display: flex; gap: .6rem; }
.pg83-dot { width: 1rem; height: 1rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.pg83-dot.pg83-dot-active { width: 2.4rem; border-radius: 1rem; background: var(--pg83-accent); }
.pg83-hero-copy { padding: 2.5rem .4rem 0; }
.pg83-hero-copy h1 { max-width: 80rem; margin: 0; font-size: clamp(2.7rem, 8vw, 5rem); line-height: 1.08; }
.pg83-hero-copy p { max-width: 78rem; color: var(--pg83-muted); }
.pg83-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.pg83-category-nav { position: sticky; z-index: 20; top: 7rem; overflow-x: auto; display: flex; gap: .8rem; padding: 1rem 1.2rem; background: rgba(16, 27, 32, .95); scrollbar-width: none; }
.pg83-category-nav::-webkit-scrollbar { display: none; }
.pg83-category-nav a { flex: 0 0 auto; min-height: 4.4rem; display: inline-flex; align-items: center; gap: .7rem; padding: .8rem 1.2rem; border: .1rem solid var(--pg83-border); border-radius: 999rem; background: var(--pg83-surface); font-size: 1.3rem; font-weight: 800; }
.pg83-category-nav a:hover { border-color: var(--pg83-mint); color: var(--pg83-mint); }

.pg83-game-section { padding: 2.8rem 0; }
.pg83-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pg83-card { min-width: 0; overflow: hidden; border: .1rem solid var(--pg83-border); border-radius: 1.3rem; background: var(--pg83-surface); box-shadow: 0 .7rem 1.8rem rgba(0,0,0,.18); transition: transform .2s ease, border-color .2s ease; }
.pg83-card:hover { transform: translateY(-.3rem); border-color: var(--pg83-mint); }
.pg83-game-link { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; }
.pg83-game-link img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--pg83-surface-soft); }
.pg83-game-name { min-height: 5.3rem; display: flex; align-items: center; padding: .9rem; font-size: 1.25rem; font-weight: 800; line-height: 1.35; }
.pg83-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999rem; background: rgba(255, 127, 80, .15); color: #ffab8d; font-size: 1.2rem; font-weight: 800; }

.pg83-info-grid { display: grid; gap: 1.2rem; }
.pg83-panel { padding: 1.8rem; border: .1rem solid var(--pg83-border); border-radius: var(--pg83-radius); background: var(--pg83-surface); }
.pg83-panel h2, .pg83-panel h3 { margin-top: 0; line-height: 1.25; }
.pg83-panel p:last-child { margin-bottom: 0; }
.pg83-feature-list { display: grid; gap: 1rem; padding: 0; list-style: none; }
.pg83-feature-list li { display: flex; gap: 1rem; padding: 1rem; border-radius: 1.1rem; background: var(--pg83-surface-soft); }
.pg83-feature-list i, .pg83-feature-list ion-icon, .pg83-feature-list .material-icons { flex: 0 0 2.4rem; color: var(--pg83-mint); font-size: 2.3rem; }
.pg83-steps { display: grid; gap: 1rem; counter-reset: pg83-step; }
.pg83-step { position: relative; padding: 1.4rem 1.4rem 1.4rem 5rem; border-left: .3rem solid var(--pg83-primary); border-radius: .8rem; background: var(--pg83-surface-soft); counter-increment: pg83-step; }
.pg83-step::before { content: counter(pg83-step); position: absolute; left: 1.2rem; top: 1.2rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--pg83-accent); color: #1d1110; font-weight: 900; }
.pg83-faq { border-bottom: .1rem solid var(--pg83-border); padding: 1.3rem 0; }
.pg83-faq summary { min-height: 4.4rem; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 800; }
.pg83-faq p { color: var(--pg83-muted); }
.pg83-cta { padding: 2.4rem; border-radius: 2rem; background: linear-gradient(135deg, var(--pg83-primary-dark), var(--pg83-primary)); box-shadow: var(--pg83-shadow); text-align: center; }
.pg83-cta h2 { margin-top: 0; }
.pg83-text-link { border: 0; padding: .2rem; background: none; color: var(--pg83-accent); cursor: pointer; font-weight: 900; text-decoration: underline; text-underline-offset: .3rem; }

.pg83-footer { padding: 3.4rem 0 8.5rem; border-top: .1rem solid var(--pg83-border); background: #0b1418; }
.pg83-footer-grid { display: grid; gap: 2rem; }
.pg83-footer h2, .pg83-footer h3 { margin-top: 0; }
.pg83-footer p { color: var(--pg83-muted); }
.pg83-footer-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.pg83-footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; }
.pg83-footer-links a { min-height: 4.4rem; display: inline-flex; align-items: center; color: var(--pg83-mint); font-weight: 700; }
.pg83-copyright { margin-top: 2rem; padding-top: 1.5rem; border-top: .1rem solid var(--pg83-border); font-size: 1.3rem; }

.pg83-bottom-nav { position: fixed; z-index: 1000; inset: auto 0 0; height: 6.4rem; display: flex; justify-content: space-around; border-top: .1rem solid rgba(72,209,204,.3); background: #11242a; box-shadow: 0 -1rem 2.5rem rgba(0,0,0,.35); }
.pg83-bottom-item { min-width: 6rem; min-height: 6rem; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: .4rem; border: 0; background: transparent; color: var(--pg83-muted); cursor: pointer; transition: transform .18s ease, color .18s ease; }
.pg83-bottom-item i, .pg83-bottom-item ion-icon, .pg83-bottom-item .material-icons { font-size: 2.4rem; line-height: 1; }
.pg83-bottom-item span:last-child { font-size: 1.05rem; font-weight: 800; }
.pg83-bottom-item:hover, .pg83-bottom-item:active { transform: scale(.94); color: var(--pg83-accent); }
.pg83-bottom-item.pg83-current { color: var(--pg83-mint); }
.pg83-bottom-special { position: relative; top: -.8rem; max-width: 7rem; border-radius: 1.6rem 1.6rem .8rem .8rem; background: linear-gradient(135deg, var(--pg83-accent), #ffad66); color: #24120c; box-shadow: 0 .6rem 1.8rem rgba(255,127,80,.3); }

@media (min-width: 480px) {
  .pg83-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pg83-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 769px) {
  .pg83-bottom-nav { display: none; }
  .pg83-footer { padding-bottom: 3.4rem; }
  .pg83-menu-toggle { display: none; }
  .pg83-desktop-nav { display: flex; }
  .pg83-carousel { min-height: 32rem; }
  .pg83-slide img { min-height: 32rem; }
  .pg83-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem; }
  .pg83-footer-grid { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 1050px) {
  .pg83-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .pg83-main { padding-bottom: 8rem; }
  .pg83-header-actions .pg83-btn { padding-inline: 1rem; font-size: 1.2rem; }
  .pg83-header-actions .pg83-btn i { display: none; }
}

@media (max-width: 430px) {
  .pg83-container { width: min(100% - 2rem, 118rem); }
  .pg83-section { padding-block: 3rem; }
  .pg83-hero-copy h1 { font-size: clamp(2.7rem, 9vw, 3.8rem); }
  .pg83-grid { gap: .8rem; }
}

@media (max-width: 370px) {
  .pg83-container { width: min(100% - 1.6rem, 118rem); }
  .pg83-brand { font-size: 1.6rem; }
  .pg83-brand img { width: 2.8rem; height: 2.8rem; }
  .pg83-header-actions { gap: .35rem; }
  .pg83-header-actions .pg83-btn { padding-inline: .8rem; }
  .pg83-grid { gap: .7rem; }
  .pg83-game-name { font-size: 1.15rem; padding: .7rem; }
}

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