:root {
  font-size: 62.5%;
  --g5f6-primary: #ff7f50;
  --g5f6-primary-dark: #d9562d;
  --g5f6-accent: #ffdfba;
  --g5f6-bg: #142333;
  --g5f6-surface: #21364a;
  --g5f6-surface-soft: #2c3e50;
  --g5f6-text: #fff7ed;
  --g5f6-muted: #c9ced4;
  --g5f6-border: rgba(255, 223, 186, .18);
  --g5f6-shadow: 0 1rem 2.6rem rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; min-width: 32rem; overflow-x: hidden; background: var(--g5f6-bg); color: var(--g5f6-text); font: 1.5rem/1.5rem Inter, Arial, sans-serif; }
body.g5f6-scroll-lock { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
main { padding-top: 7.2rem; }

.g5f6-container { width: min(100% - 2.4rem, 112rem); margin-inline: auto; }
.g5f6-wrapper { padding-block: 3.2rem; }
.g5f6-grid { display: grid; gap: 1.4rem; }
.g5f6-section { scroll-margin-top: 8.4rem; padding-block: 3.4rem; }
.g5f6-section-alt { background: rgba(255,255,255,.025); border-block: .1rem solid var(--g5f6-border); }
.g5f6-section-head { margin-bottom: 1.8rem; }
.g5f6-eyebrow { margin: 0 0 .7rem; color: var(--g5f6-primary); font-size: 1.2rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.g5f6-section h2, .g5f6-section h3 { margin-top: 0; line-height: 1.2; }
.g5f6-section h2 { margin-bottom: .8rem; font-size: clamp(2.4rem, 6vw, 3.6rem); }
.g5f6-section h3 { font-size: 1.8rem; }
.g5f6-section p, .g5f6-section li { line-height: 1.5rem; }
.g5f6-muted { color: var(--g5f6-muted); }

.g5f6-header { position: fixed; z-index: 1000; inset: 0 0 auto; height: 7.2rem; background: rgba(20,35,51,.96); border-bottom: .1rem solid var(--g5f6-border); box-shadow: 0 .6rem 2rem rgba(0,0,0,.24); backdrop-filter: blur(1.4rem); }
.g5f6-header-inner { height: 100%; display: flex; align-items: center; gap: .8rem; }
.g5f6-brand { display: flex; align-items: center; min-width: 0; margin-right: auto; color: var(--g5f6-text); font-size: 1.7rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.g5f6-logo { width: 3.2rem; height: 3.2rem; margin-right: .7rem; border-radius: .8rem; object-fit: cover; }
.g5f6-actions { display: flex; gap: .6rem; }
.g5f6-btn { min-height: 4.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.4rem; border: .1rem solid transparent; border-radius: 1rem; cursor: pointer; font-weight: 900; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.g5f6-btn:active { transform: scale(.96); }
.g5f6-btn-primary { color: #182432; background: linear-gradient(135deg, var(--g5f6-accent), var(--g5f6-primary)); box-shadow: 0 .6rem 1.5rem rgba(255,127,80,.25); }
.g5f6-btn-outline { color: var(--g5f6-accent); background: transparent; border-color: var(--g5f6-primary); }
.g5f6-btn-wide { width: 100%; }
.g5f6-menu-toggle { width: 4.4rem; min-height: 4.4rem; padding: 0; color: var(--g5f6-text); background: var(--g5f6-surface); border: .1rem solid var(--g5f6-border); border-radius: 1rem; cursor: pointer; font-size: 2.2rem; }
.g5f6-desktop-nav { display: none; }
.g5f6-desktop-nav a { padding: 1rem; color: var(--g5f6-muted); font-weight: 700; text-decoration: none; }

.g5f6-menu-overlay { visibility: hidden; position: fixed; z-index: 9998; inset: 0; opacity: 0; background: rgba(0,0,0,.65); transition: .25s; }
.g5f6-overlay-open { visibility: visible; opacity: 1; }
.g5f6-mobile-menu { position: fixed; z-index: 9999; top: 0; right: 0; width: min(86vw, 34rem); height: 100dvh; padding: 2rem; transform: translateX(105%); background: var(--g5f6-surface); box-shadow: -1rem 0 3rem rgba(0,0,0,.38); transition: transform .25s ease; }
.g5f6-mobile-menu.g5f6-menu-open { transform: translateX(0); }
.g5f6-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.g5f6-menu-title { font-size: 2rem; font-weight: 900; }
.g5f6-menu-close { width: 4.4rem; height: 4.4rem; border: 0; border-radius: 50%; color: var(--g5f6-text); background: var(--g5f6-surface-soft); cursor: pointer; font-size: 2.4rem; }
.g5f6-menu-links { display: grid; gap: .7rem; }
.g5f6-menu-links a { min-height: 4.6rem; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: .1rem solid var(--g5f6-border); border-radius: 1rem; color: var(--g5f6-text); text-decoration: none; font-weight: 800; }
.g5f6-menu-links i, .g5f6-menu-links ion-icon { width: 2.4rem; color: var(--g5f6-primary); font-size: 2.2rem; }

.g5f6-hero { position: relative; min-height: 45rem; display: grid; align-items: end; overflow: hidden; }
.g5f6-carousel { position: absolute; inset: 0; }
.g5f6-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.g5f6-slide-active { opacity: 1; }
.g5f6-slide img { width: 100%; height: 100%; object-fit: cover; }
.g5f6-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,35,51,.18), rgba(20,35,51,.96) 88%); }
.g5f6-hero-content { position: relative; z-index: 2; padding-block: 7rem 3.2rem; }
.g5f6-hero h1 { max-width: 70rem; margin: 0 0 1.2rem; font-size: clamp(3.2rem, 9vw, 5.6rem); line-height: 1.05; text-shadow: 0 .3rem 1rem #000; }
.g5f6-hero p { max-width: 66rem; margin: 0 0 1.8rem; color: #f5e7d8; font-size: 1.6rem; line-height: 2.4rem; }
.g5f6-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.g5f6-dots { position: absolute; z-index: 3; right: 1.2rem; bottom: 1.4rem; display: flex; gap: .6rem; }
.g5f6-dot { width: 1.1rem; height: 1.1rem; padding: 0; border: .1rem solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.g5f6-dot-active { background: var(--g5f6-primary); transform: scale(1.2); }

.g5f6-notice { display: flex; gap: 1rem; margin-top: 1.8rem; padding: 1.3rem; border-left: .4rem solid var(--g5f6-primary); border-radius: .8rem; background: rgba(255,127,80,.1); }
.g5f6-notice i { color: var(--g5f6-primary); font-size: 2rem; }
.g5f6-category { margin-top: 3rem; }
.g5f6-category-title { display: flex; align-items: center; gap: .8rem; padding-bottom: .9rem; border-bottom: .1rem solid var(--g5f6-border); }
.g5f6-category-title i, .g5f6-category-title ion-icon { color: var(--g5f6-primary); font-size: 2.4rem; }
.g5f6-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.g5f6-game-card { min-width: 0; overflow: hidden; border: .1rem solid var(--g5f6-border); border-radius: 1.2rem; background: var(--g5f6-surface); box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.18); cursor: pointer; transition: transform .2s, border-color .2s; }
.g5f6-game-card:active { transform: scale(.96); }
.g5f6-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.g5f6-game-card strong { min-height: 4.4rem; display: grid; place-items: center; padding: .6rem .4rem; color: var(--g5f6-text); font-size: 1.15rem; line-height: 1.35rem; text-align: center; }

.g5f6-card { padding: 1.8rem; border: .1rem solid var(--g5f6-border); border-radius: 1.4rem; background: linear-gradient(145deg, var(--g5f6-surface), #1a2b3c); box-shadow: var(--g5f6-shadow); }
.g5f6-info-grid, .g5f6-stat-grid, .g5f6-payment-grid { grid-template-columns: 1fr; }
.g5f6-card-icon { width: 4.4rem; height: 4.4rem; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 1.2rem; color: #1b2938; background: var(--g5f6-accent); font-size: 2.4rem; }
.g5f6-stat { text-align: center; }
.g5f6-stat strong { display: block; margin-bottom: .6rem; color: var(--g5f6-accent); font-size: 2.5rem; line-height: 1; }
.g5f6-promo-link { color: var(--g5f6-primary); font-weight: 900; text-decoration: underline; cursor: pointer; }
.g5f6-steps { margin: 0; padding-left: 2rem; }
.g5f6-steps li { margin-bottom: 1rem; padding-left: .5rem; }
.g5f6-faq details { margin-bottom: 1rem; padding: 1.4rem; border: .1rem solid var(--g5f6-border); border-radius: 1rem; background: var(--g5f6-surface); }
.g5f6-faq summary { min-height: 4.4rem; display: flex; align-items: center; cursor: pointer; color: var(--g5f6-accent); font-weight: 900; }
.g5f6-payment { min-height: 7rem; display: flex; align-items: center; gap: 1rem; }
.g5f6-payment i, .g5f6-payment ion-icon { color: var(--g5f6-primary); font-size: 2.8rem; }
.g5f6-review { position: relative; }
.g5f6-stars { color: #ffd166; letter-spacing: .2rem; }
.g5f6-cta { padding: 3rem 1.8rem; border-radius: 1.6rem; text-align: center; background: linear-gradient(135deg, #2c3e50, #7b3f30); box-shadow: var(--g5f6-shadow); }
.g5f6-cta h2 { margin-bottom: 1rem; }

.g5f6-footer { padding: 3.4rem 0 8rem; border-top: .1rem solid var(--g5f6-border); background: #0e1a26; }
.g5f6-footer-grid { display: grid; gap: 2.2rem; }
.g5f6-footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; }
.g5f6-footer-links a { color: var(--g5f6-accent); font-weight: 700; text-decoration: none; }
.g5f6-footer-promos { display: flex; flex-wrap: wrap; gap: .8rem; }
.g5f6-footer-promos .g5f6-btn { flex: 1 1 13rem; }
.g5f6-copyright { margin-top: 2rem; padding-top: 1.5rem; border-top: .1rem solid var(--g5f6-border); color: var(--g5f6-muted); font-size: 1.2rem; }

.g5f6-bottom-nav { position: fixed; z-index: 1000; right: .8rem; bottom: .7rem; left: .8rem; height: 6.2rem; display: flex; justify-content: space-around; padding: .2rem .4rem; border: .1rem solid rgba(255,223,186,.28); border-radius: 1.6rem; background: #1d3042; box-shadow: 0 -.5rem 2rem rgba(0,0,0,.38); }
.g5f6-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; color: var(--g5f6-muted); background: transparent; cursor: pointer; font-size: 1rem; font-weight: 800; text-decoration: none; transition: transform .18s, color .18s; }
.g5f6-bottom-item i, .g5f6-bottom-item ion-icon, .g5f6-bottom-item .material-icons { font-size: 2.3rem; }
.g5f6-bottom-item:active { transform: scale(.88); color: var(--g5f6-primary); }
.g5f6-bottom-active { position: relative; color: var(--g5f6-accent); }
.g5f6-bottom-active::before { content: ''; position: absolute; top: .2rem; width: 2.5rem; height: .3rem; border-radius: 1rem; background: var(--g5f6-primary); }
.g5f6-badge { position: absolute; top: .3rem; margin-left: 2.4rem; min-width: 1.6rem; padding: .1rem .4rem; border-radius: 1rem; color: #fff; background: #e33d3d; font-size: .9rem; }

@media (min-width: 430px) {
  .g5f6-game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g5f6-info-grid, .g5f6-stat-grid, .g5f6-payment-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
  .g5f6-header-inner { width: calc(100% - 1.6rem); }
  .g5f6-brand span { max-width: 8.7rem; overflow: hidden; text-overflow: ellipsis; }
  .g5f6-actions .g5f6-btn { min-height: 4.4rem; padding-inline: .8rem; font-size: 1.15rem; }
}

@media (min-width: 769px) {
  body { font-size: 1.6rem; line-height: 2.4rem; }
  main { padding-top: 7.6rem; }
  .g5f6-header { height: 7.6rem; }
  .g5f6-desktop-nav { display: flex; }
  .g5f6-menu-toggle, .g5f6-mobile-menu, .g5f6-menu-overlay, .g5f6-bottom-nav { display: none; }
  .g5f6-hero { min-height: 56rem; }
  .g5f6-game-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .g5f6-info-grid { grid-template-columns: repeat(3, 1fr); }
  .g5f6-stat-grid { grid-template-columns: repeat(4, 1fr); }
  .g5f6-payment-grid { grid-template-columns: repeat(4, 1fr); }
  .g5f6-footer { padding-bottom: 3rem; }
  .g5f6-footer-grid { grid-template-columns: 1.2fr 1fr; }
  .g5f6-btn:hover, .g5f6-game-card:hover { transform: translateY(-.2rem); }
  .g5f6-game-card:hover { border-color: var(--g5f6-primary); }
}

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