/* ph96 theme - prefix g5d6- | palette: #ADFF2F #36454F #808080 #1B263B #5D5D5D */
:root {
  --g5d6-primary: #ADFF2F;
  --g5d6-primary-dark: #8fd41f;
  --g5d6-bg: #1B263B;
  --g5d6-bg-soft: #36454F;
  --g5d6-bg-card: #243447;
  --g5d6-text: #f2f5f7;
  --g5d6-muted: #a8b0b8;
  --g5d6-gray: #808080;
  --g5d6-gray-dark: #5D5D5D;
  --g5d6-border: rgba(173, 255, 47, 0.18);
  --g5d6-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --g5d6-radius: 1.2rem;
  --g5d6-header-h: 5.6rem;
  --g5d6-bottom-h: 6.2rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  color: var(--g5d6-text);
  background: var(--g5d6-bg);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g5d6-primary); text-decoration: none; }
a:hover { color: #c8ff6a; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.g5d6-wrapper { max-width: 430px; margin: 0 auto; min-height: 100vh; position: relative; background: linear-gradient(180deg, #152033 0%, #1B263B 40%, #243447 100%); }
.g5d6-container { width: 100%; padding: 0 1.4rem; }
.g5d6-main { padding-top: calc(var(--g5d6-header-h) + 1rem); padding-bottom: 8.5rem; }

/* Header */
.g5d6-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--g5d6-header-h);
  background: rgba(27, 38, 59, 0.96);
  border-bottom: 1px solid var(--g5d6-border);
  backdrop-filter: blur(10px);
}
.g5d6-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; gap: 0.8rem;
}
.g5d6-logo { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.g5d6-logo img { width: 3.2rem; height: 3.2rem; border-radius: 0.8rem; }
.g5d6-logo-text { font-size: 1.8rem; font-weight: 800; color: var(--g5d6-primary); letter-spacing: 0.04em; white-space: nowrap; }
.g5d6-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g5d6-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 4.4rem; padding: 0 1.2rem; border-radius: 999px;
  font-size: 1.2rem; font-weight: 700; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.g5d6-btn:active { transform: scale(0.96); }
.g5d6-btn-primary { background: var(--g5d6-primary); color: #132018; box-shadow: 0 4px 14px rgba(173, 255, 47, 0.28); }
.g5d6-btn-primary:hover { background: var(--g5d6-primary-dark); color: #0d1612; }
.g5d6-btn-outline { border: 1px solid var(--g5d6-primary); color: var(--g5d6-primary); background: transparent; }
.g5d6-btn-outline:hover { background: rgba(173, 255, 47, 0.12); }
.g5d6-btn-sm { min-height: 3.6rem; padding: 0 1rem; font-size: 1.15rem; }
.g5d6-btn-block { width: 100%; }
.g5d6-menu-toggle {
  width: 4.4rem; height: 4.4rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 1rem; background: var(--g5d6-bg-soft); color: var(--g5d6-primary); font-size: 2.2rem;
}

/* Mobile drawer */
.g5d6-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.g5d6-overlay-show { opacity: 1; visibility: visible; }
.g5d6-mobile-menu {
  position: fixed; top: 0; right: 0; width: min(82vw, 320px); height: 100%;
  background: #152033; z-index: 9999; transform: translateX(105%);
  transition: transform .28s ease; padding: 2rem 1.6rem; overflow-y: auto;
  border-left: 1px solid var(--g5d6-border); box-shadow: var(--g5d6-shadow);
}
.g5d6-menu-open { transform: translateX(0); }
.g5d6-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.g5d6-menu-head h3 { font-size: 1.6rem; color: var(--g5d6-primary); }
.g5d6-menu-close { width: 4rem; height: 4rem; border-radius: 1rem; background: var(--g5d6-bg-soft); font-size: 2rem; color: var(--g5d6-text); }
.g5d6-menu-list { display: flex; flex-direction: column; gap: 0.4rem; }
.g5d6-menu-list a {
  display: flex; align-items: center; gap: 1rem; min-height: 4.6rem;
  padding: 0 1.2rem; border-radius: 1rem; color: var(--g5d6-text);
  background: rgba(54, 69, 79, 0.35); font-size: 1.35rem; font-weight: 600;
}
.g5d6-menu-list a:hover { background: rgba(173, 255, 47, 0.12); color: var(--g5d6-primary); }
.g5d6-menu-promo { margin-top: 2rem; display: grid; gap: 0.8rem; }

/* Hero carousel */
.g5d6-carousel { position: relative; border-radius: var(--g5d6-radius); overflow: hidden; margin-bottom: 1.6rem; box-shadow: var(--g5d6-shadow); }
.g5d6-carousel-track { display: flex; transition: transform .45s ease; }
.g5d6-carousel-slide { min-width: 100%; cursor: pointer; position: relative; }
.g5d6-carousel-slide img { width: 100%; height: 18rem; object-fit: cover; }
.g5d6-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.4rem;
  background: linear-gradient(transparent, rgba(10, 16, 28, 0.88));
  font-size: 1.3rem; font-weight: 700; color: #fff;
}
.g5d6-carousel-dots { position: absolute; bottom: 0.8rem; right: 1rem; display: flex; gap: 0.5rem; }
.g5d6-carousel-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255,255,255,0.4); }
.g5d6-dot-active { background: var(--g5d6-primary); box-shadow: 0 0 0 3px rgba(173,255,47,0.25); }

/* Sections */
.g5d6-section { margin-bottom: 2.2rem; }
.g5d6-section-title {
  font-size: 1.7rem; font-weight: 800; color: var(--g5d6-text); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.g5d6-section-title i, .g5d6-section-title .material-icons, .g5d6-section-title .bi { color: var(--g5d6-primary); font-size: 2rem; }
.g5d6-h1 {
  font-size: 2rem; line-height: 1.35; font-weight: 800; margin-bottom: 1.2rem;
  color: #fff; text-align: center;
}
.g5d6-h1 span { color: var(--g5d6-primary); }
.g5d6-lead { color: var(--g5d6-muted); font-size: 1.35rem; line-height: 1.65; margin-bottom: 1.4rem; }
.g5d6-card {
  background: var(--g5d6-bg-card); border: 1px solid var(--g5d6-border);
  border-radius: var(--g5d6-radius); padding: 1.4rem; margin-bottom: 1.2rem; box-shadow: var(--g5d6-shadow);
}
.g5d6-card p { color: var(--g5d6-muted); font-size: 1.3rem; line-height: 1.65; margin-bottom: 1rem; }
.g5d6-card p:last-child { margin-bottom: 0; }
.g5d6-card h2, .g5d6-card h3 { font-size: 1.55rem; margin-bottom: 1rem; color: #fff; }
.g5d6-text-link { font-weight: 700; color: var(--g5d6-primary); text-decoration: underline; text-underline-offset: 2px; }
.g5d6-grid { display: grid; gap: 1rem; }
.g5d6-grid-2 { grid-template-columns: 1fr 1fr; }
.g5d6-grid-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Game grid */
.g5d6-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.g5d6-game-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  cursor: pointer; transition: transform .15s ease;
}
.g5d6-game-item:active { transform: scale(0.95); }
.g5d6-game-item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 1rem;
  border: 1px solid rgba(173,255,47,0.15); background: #0f1724;
}
.g5d6-game-item span {
  font-size: 1rem; line-height: 1.25; text-align: center; color: var(--g5d6-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.5rem; width: 100%;
}
.g5d6-cat-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(173,255,47,0.12); color: var(--g5d6-primary);
  border: 1px solid var(--g5d6-border); border-radius: 999px;
  padding: 0.35rem 0.9rem; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem;
}

/* Feature / promo cards */
.g5d6-feature-list { display: grid; gap: 0.9rem; }
.g5d6-feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(54,69,79,0.35); border-radius: 1rem; padding: 1.1rem;
  border: 1px solid rgba(128,128,128,0.18);
}
.g5d6-feature-icon {
  width: 4rem; height: 4rem; border-radius: 1rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(173,255,47,0.15); color: var(--g5d6-primary); font-size: 2rem;
}
.g5d6-feature-item h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.g5d6-feature-item p { font-size: 1.2rem; color: var(--g5d6-muted); line-height: 1.5; margin: 0; }

/* Stats / RTP */
.g5d6-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.g5d6-stat {
  text-align: center; background: rgba(27,38,59,0.7); border: 1px solid var(--g5d6-border);
  border-radius: 1rem; padding: 1rem 0.5rem;
}
.g5d6-stat strong { display: block; font-size: 1.6rem; color: var(--g5d6-primary); margin-bottom: 0.3rem; }
.g5d6-stat span { font-size: 1.05rem; color: var(--g5d6-muted); }

/* FAQ */
.g5d6-faq-item { border: 1px solid var(--g5d6-border); border-radius: 1rem; margin-bottom: 0.8rem; overflow: hidden; background: rgba(36,52,71,0.8); }
.g5d6-faq-q {
  width: 100%; text-align: left; padding: 1.2rem 1.4rem; font-size: 1.3rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #fff;
}
.g5d6-faq-q i { color: var(--g5d6-primary); transition: transform .2s ease; }
.g5d6-faq-a { display: none; padding: 0 1.4rem 1.2rem; color: var(--g5d6-muted); font-size: 1.25rem; line-height: 1.6; }
.g5d6-faq-open .g5d6-faq-a { display: block; }
.g5d6-faq-open .g5d6-faq-q i { transform: rotate(180deg); }

/* Testimonials / winners */
.g5d6-testimonial {
  background: rgba(54,69,79,0.4); border-radius: 1rem; padding: 1.2rem;
  border-left: 3px solid var(--g5d6-primary); margin-bottom: 0.9rem;
}
.g5d6-testimonial p { font-size: 1.25rem; color: var(--g5d6-muted); margin-bottom: 0.6rem; line-height: 1.55; }
.g5d6-testimonial strong { font-size: 1.15rem; color: var(--g5d6-primary); }
.g5d6-winner {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 0.9rem 1rem; border-radius: 1rem; background: rgba(27,38,59,0.65);
  border: 1px solid rgba(128,128,128,0.2); margin-bottom: 0.7rem; font-size: 1.2rem;
}
.g5d6-winner em { color: var(--g5d6-primary); font-style: normal; font-weight: 700; }

/* Payment / CTA */
.g5d6-pay-list { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.g5d6-pay-chip {
  padding: 0.7rem 1.1rem; border-radius: 999px; background: rgba(54,69,79,0.55);
  border: 1px solid rgba(128,128,128,0.25); font-size: 1.15rem; color: var(--g5d6-text); font-weight: 600;
}
.g5d6-cta-box {
  text-align: center; padding: 2rem 1.4rem; border-radius: 1.4rem;
  background: linear-gradient(145deg, rgba(173,255,47,0.16), rgba(54,69,79,0.55));
  border: 1px solid var(--g5d6-border); margin: 1.6rem 0;
}
.g5d6-cta-box h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.g5d6-cta-box p { color: var(--g5d6-muted); margin-bottom: 1.4rem; line-height: 1.6; }

/* Footer */
.g5d6-footer {
  background: #121b2b; border-top: 1px solid var(--g5d6-border);
  padding: 2.4rem 1.4rem 9rem; max-width: 430px; margin: 0 auto;
}
.g5d6-footer-brand { font-size: 1.7rem; font-weight: 800; color: var(--g5d6-primary); margin-bottom: 0.8rem; }
.g5d6-footer-desc { color: var(--g5d6-muted); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.4rem; }
.g5d6-footer-promo { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.6rem; }
.g5d6-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1rem; margin-bottom: 1.6rem; }
.g5d6-footer-links a { color: var(--g5d6-muted); font-size: 1.2rem; font-weight: 600; }
.g5d6-footer-links a:hover { color: var(--g5d6-primary); }
.g5d6-footer-copy { color: var(--g5d6-gray); font-size: 1.1rem; text-align: center; padding-top: 1rem; border-top: 1px solid rgba(128,128,128,0.2); }

/* Bottom nav */
.g5d6-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--g5d6-bottom-h);
  background: linear-gradient(180deg, #243447 0%, #1B263B 100%);
  border-top: 1px solid var(--g5d6-border);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.3);
  display: flex; justify-content: center;
}
.g5d6-bottom-inner {
  max-width: 430px; width: 100%; height: 100%;
  display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.4rem;
}
.g5d6-bnav-item {
  flex: 1; min-width: 6rem; min-height: 6rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem;
  color: var(--g5d6-muted); font-size: 1rem; font-weight: 600; border-radius: 1.2rem;
  transition: color .2s ease, transform .15s ease, background .2s ease;
}
.g5d6-bnav-item i,
.g5d6-bnav-item .material-icons,
.g5d6-bnav-item .bi,
.g5d6-bnav-item ion-icon {
  font-size: 2.2rem; line-height: 1; width: 2.4rem; height: 2.4rem; display: flex; align-items: center; justify-content: center;
}
.g5d6-bnav-item .material-icons { font-size: 2.4rem; }
.g5d6-bnav-item:active { transform: scale(0.92); }
.g5d6-bnav-item:hover { color: var(--g5d6-primary); }
.g5d6-bnav-active {
  color: var(--g5d6-primary);
  background: rgba(173,255,47,0.1);
}
.g5d6-bnav-active i, .g5d6-bnav-active .material-icons, .g5d6-bnav-active .bi { color: var(--g5d6-primary); }

/* Utility */
.g5d6-mb-1 { margin-bottom: 1rem; }
.g5d6-mb-2 { margin-bottom: 1.6rem; }
.g5d6-mt-1 { margin-top: 1rem; }
.g5d6-center { text-align: center; }
.g5d6-strong { font-weight: 700; color: #fff; }
.g5d6-steps { counter-reset: g5d6step; display: grid; gap: 0.9rem; }
.g5d6-step {
  counter-increment: g5d6step; position: relative;
  padding: 1.1rem 1.1rem 1.1rem 4.4rem; background: rgba(54,69,79,0.35);
  border-radius: 1rem; border: 1px solid rgba(128,128,128,0.18);
}
.g5d6-step::before {
  content: counter(g5d6step); position: absolute; left: 1rem; top: 1.1rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--g5d6-primary); color: #132018; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.g5d6-step h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.g5d6-step p { font-size: 1.2rem; color: var(--g5d6-muted); margin: 0; line-height: 1.5; }

@media (min-width: 769px) {
  .g5d6-bottom-nav { display: none; }
  .g5d6-main { padding-bottom: 3rem; }
  .g5d6-footer { padding-bottom: 3rem; max-width: 430px; }
  .g5d6-wrapper, .g5d6-header-inner { box-shadow: 0 0 40px rgba(0,0,0,0.25); }
}

@media (max-width: 360px) {
  .g5d6-game-grid { grid-template-columns: repeat(3, 1fr); }
  .g5d6-btn-sm { padding: 0 0.8rem; font-size: 1.05rem; }
  .g5d6-logo-text { font-size: 1.5rem; }
}
