/* phph8 website core stylesheet
   All custom classes use g792- prefix for namespace isolation
   Comments in English
   Palette: #FFAA00 (amber/gold) | #CED4DA (cool light) | #273746 (deep navy)
   Mobile-first: max-width 430px primary viewport */

:root {
  --g792-primary: #FFAA00;
  --g792-bg: #273746;
  --g792-text: #CED4DA;
  --g792-dark: #1c2731;
  --g792-darker: #131b22;
  --g792-accent: #ff7a00;
  --g792-soft: #2f4150;
  --g792-light: #CED4DA;
  --g792-white: #ffffff;
  --g792-success: #28a745;
  --g792-danger: #ff4d4d;
  --g792-radius: 12px;
  --g792-radius-sm: 8px;
}

/* Reset and base typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--g792-bg);
  color: var(--g792-text);
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--g792-primary); text-decoration: none; }
a:hover, a:active { color: var(--g792-accent); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 2rem; font-weight: 700; color: var(--g792-white); }

/* Layout containers */
.g792-wrapper { max-width: 430px; margin: 0 auto; position: relative; }
.g792-container { padding: 0 1.4rem; width: 100%; }
.g792-section { padding: 2.2rem 0 1.8rem; }
.g792-section-alt { background: var(--g792-dark); }
main { padding-bottom: 0; }

/* Header */
.g792-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--g792-darker), var(--g792-bg));
  border-bottom: 2px solid var(--g792-primary);
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 3px 12px rgba(0,0,0,0.35);
}
.g792-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; min-height: 54px;
}
.g792-logo { display: flex; align-items: center; gap: 0.6rem; }
.g792-logo img { width: 28px; height: 28px; border-radius: 6px; }
.g792-logo-text { font-size: 1.7rem; font-weight: 800; color: var(--g792-primary); letter-spacing: 0.5px; }
.g792-logo-text span { color: var(--g792-white); }
.g792-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g792-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.1rem; border-radius: var(--g792-radius-sm);
  font-size: 1.25rem; font-weight: 700; cursor: pointer;
  border: none; transition: transform 0.18s ease, background 0.18s ease;
  min-height: 36px;
}
.g792-btn-primary { background: var(--g792-primary); color: var(--g792-darker); }
.g792-btn-primary:hover { background: var(--g792-accent); transform: scale(1.04); }
.g792-btn-ghost { background: transparent; color: var(--g792-primary); border: 1.5px solid var(--g792-primary); }
.g792-btn-ghost:hover { background: var(--g792-primary); color: var(--g792-darker); transform: scale(1.04); }
.g792-menu-btn {
  background: transparent; border: none; color: var(--g792-light);
  font-size: 1.9rem; cursor: pointer; padding: 0.4rem 0.6rem; border-radius: 6px;
}
.g792-menu-btn.g792-menu-active { color: var(--g792-primary); background: rgba(255,170,0,0.12); }

/* Mobile slide-down menu */
.g792-mobile-menu {
  max-height: 0; overflow: hidden; transition: max-height 0.32s ease;
  background: var(--g792-darker); border-top: 1px solid rgba(255,170,0,0.2);
}
.g792-mobile-menu.g792-menu-open { max-height: 460px; }
.g792-mobile-menu ul { padding: 0.6rem 1rem 1rem; }
.g792-mobile-menu li a {
  display: block; padding: 0.9rem 0.8rem; color: var(--g792-light);
  font-size: 1.35rem; border-bottom: 1px solid rgba(206,212,218,0.08);
}
.g792-mobile-menu li a:hover { color: var(--g792-primary); padding-left: 1.2rem; }

/* Hero carousel */
.g792-carousel { position: relative; overflow: hidden; margin-top: 54px; border-radius: 0 0 18px 18px; }
.g792-slides { position: relative; height: 220px; }
.g792-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease;
  display: flex; align-items: flex-end;
}
.g792-slide img { width: 100%; height: 100%; object-fit: cover; }
.g792-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(39,55,70,0) 40%, rgba(19,27,34,0.85) 100%);
}
.g792-slide-active { opacity: 1; }
.g792-slide-caption {
  position: absolute; left: 1rem; bottom: 1.4rem; z-index: 2; color: var(--g792-white);
}
.g792-slide-caption h2 { font-size: 1.9rem; color: var(--g792-primary); margin-bottom: 0.3rem; }
.g792-slide-caption p { font-size: 1.2rem; color: var(--g792-light); }
.g792-carousel-dots {
  position: absolute; bottom: 0.6rem; right: 1rem; z-index: 3; display: flex; gap: 0.4rem;
}
.g792-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(206,212,218,0.5); cursor: pointer;
}
.g792-dot.g792-dot-active { background: var(--g792-primary); width: 18px; border-radius: 4px; }

/* Section titles */
.g792-section-title {
  font-size: 1.7rem; color: var(--g792-primary); margin-bottom: 1rem;
  padding-left: 0.8rem; border-left: 4px solid var(--g792-primary);
}
.g792-section-title small { display: block; font-size: 1.15rem; color: var(--g792-light); font-weight: 400; margin-top: 0.2rem; }
.g792-h1 {
  font-size: 2rem; color: var(--g792-white); text-align: center;
  margin: 1.4rem 0 0.6rem; line-height: 2.4rem;
}
.g792-h1 span { color: var(--g792-primary); }

/* Promo banner / CTA */
.g792-cta-banner {
  background: linear-gradient(135deg, var(--g792-primary), var(--g792-accent));
  border-radius: var(--g792-radius); padding: 1.2rem 1.4rem; color: var(--g792-darker);
  text-align: center; margin: 1rem 0;
}
.g792-cta-banner h3 { color: var(--g792-darker); font-size: 1.6rem; margin-bottom: 0.4rem; }
.g792-cta-banner p { font-size: 1.2rem; margin-bottom: 0.8rem; }
.g792-cta-banner .g792-btn { background: var(--g792-darker); color: var(--g792-primary); }

/* Game grids */
.g792-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-bottom: 1rem;
}
.g792-game-card {
  background: var(--g792-soft); border-radius: var(--g792-radius-sm); overflow: hidden;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid rgba(255,170,0,0.08);
}
.g792-game-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(255,170,0,0.25); border-color: var(--g792-primary); }
.g792-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.g792-game-card .g792-game-name {
  font-size: 1.05rem; color: var(--g792-light); text-align: center;
  padding: 0.5rem 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g792-cat-tag {
  display: inline-block; font-size: 1.1rem; color: var(--g792-darker);
  background: var(--g792-primary); padding: 0.2rem 0.8rem; border-radius: 20px; margin-bottom: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700;
}

/* Info / feature cards */
.g792-info-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.g792-card {
  background: var(--g792-soft); border-radius: var(--g792-radius); padding: 1.2rem;
  border-left: 3px solid var(--g792-primary);
}
.g792-card h3 { font-size: 1.4rem; color: var(--g792-primary); margin-bottom: 0.5rem; }
.g792-card p { font-size: 1.25rem; color: var(--g792-light); line-height: 1.8rem; }
.g792-card a { font-weight: 700; }

/* Two-column compact feature list */
.g792-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.g792-feature-item {
  background: var(--g792-soft); border-radius: var(--g792-radius-sm); padding: 0.9rem; text-align: center;
}
.g792-feature-item .g792-icon { font-size: 2.2rem; color: var(--g792-primary); margin-bottom: 0.4rem; }
.g792-feature-item h4 { font-size: 1.25rem; color: var(--g792-white); margin-bottom: 0.3rem; }
.g792-feature-item p { font-size: 1.1rem; color: var(--g792-light); }

/* RTP compact table */
.g792-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.g792-rtp-table th, .g792-rtp-table td { padding: 0.7rem 0.5rem; text-align: left; border-bottom: 1px solid rgba(206,212,218,0.1); }
.g792-rtp-table th { color: var(--g792-primary); font-size: 1.15rem; }
.g792-rtp-table td { color: var(--g792-light); }
.g792-rtp-table td.g792-rtp-high { color: var(--g792-success); font-weight: 700; }

/* Testimonials */
.g792-testimonial {
  background: var(--g792-soft); border-radius: var(--g792-radius); padding: 1.1rem; margin-bottom: 0.8rem;
  border-top: 3px solid var(--g792-primary);
}
.g792-testimonial .g792-stars { color: var(--g792-primary); font-size: 1.3rem; margin-bottom: 0.4rem; }
.g792-testimonial p { font-size: 1.25rem; color: var(--g792-light); font-style: italic; margin-bottom: 0.5rem; }
.g792-testimonial .g792-author { font-size: 1.1rem; color: var(--g792-primary); font-weight: 700; }

/* Winners showcase */
.g792-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--g792-soft); padding: 0.8rem 1rem; border-radius: var(--g792-radius-sm); margin-bottom: 0.6rem;
}
.g792-winner-row .g792-winner-name { font-size: 1.2rem; color: var(--g792-light); }
.g792-winner-row .g792-winner-amount { font-size: 1.4rem; color: var(--g792-success); font-weight: 800; }

/* Payment methods */
.g792-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.g792-pay-item {
  background: var(--g792-white); border-radius: 8px; padding: 0.6rem 0.2rem; text-align: center;
  font-size: 1rem; color: var(--g792-darker); font-weight: 700; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
}

/* VIP / club tiers */
.g792-tier-row {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--g792-soft); border-radius: var(--g792-radius-sm); padding: 0.9rem; margin-bottom: 0.6rem;
}
.g792-tier-row .g792-tier-icon { font-size: 2rem; color: var(--g792-primary); }
.g792-tier-row .g792-tier-info h4 { font-size: 1.3rem; color: var(--g792-white); }
.g792-tier-row .g792-tier-info p { font-size: 1.1rem; color: var(--g792-light); }

/* FAQ */
.g792-faq-item { background: var(--g792-soft); border-radius: var(--g792-radius-sm); margin-bottom: 0.6rem; overflow: hidden; }
.g792-faq-q {
  display: block; padding: 0.9rem 1rem; font-size: 1.3rem; color: var(--g792-white); font-weight: 600; cursor: pointer;
}
.g792-faq-q:hover { color: var(--g792-primary); }
.g792-faq-a { padding: 0 1rem 0.9rem; font-size: 1.2rem; color: var(--g792-light); line-height: 1.8rem; }

/* Steps list */
.g792-steps { counter-reset: g792step; }
.g792-step {
  position: relative; padding: 0.8rem 0.8rem 0.8rem 3rem; margin-bottom: 0.6rem;
  background: var(--g792-soft); border-radius: var(--g792-radius-sm); font-size: 1.2rem; color: var(--g792-light);
}
.g792-step::before {
  counter-increment: g792step; content: counter(g792step);
  position: absolute; left: 0.7rem; top: 50%; transform: translateY(-50%);
  width: 2rem; height: 2rem; background: var(--g792-primary); color: var(--g792-darker);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem;
}

/* App download CTA */
.g792-app-cta {
  background: linear-gradient(135deg, var(--g792-dark), var(--g792-bg));
  border-radius: var(--g792-radius); padding: 1.3rem; text-align: center; border: 1px solid var(--g792-primary);
}
.g792-app-cta h3 { color: var(--g792-primary); font-size: 1.6rem; margin-bottom: 0.4rem; }
.g792-app-cta p { color: var(--g792-light); font-size: 1.2rem; margin-bottom: 0.9rem; }
.g792-app-buttons { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* Promo link inline text */
.g792-promo-link { color: var(--g792-primary); font-weight: 700; cursor: pointer; }
.g792-promo-link:hover { color: var(--g792-accent); text-decoration: underline; }

/* Footer */
.g792-footer {
  background: var(--g792-darker); padding: 1.8rem 1.4rem 2rem; margin-top: 1.5rem;
  border-top: 2px solid var(--g792-primary);
}
.g792-footer-brand { font-size: 1.2rem; color: var(--g792-light); line-height: 1.8rem; margin-bottom: 1rem; }
.g792-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.g792-footer-links a {
  font-size: 1.1rem; padding: 0.4rem 0.8rem; background: var(--g792-soft); border-radius: 20px; color: var(--g792-light);
}
.g792-footer-links a:hover { background: var(--g792-primary); color: var(--g792-darker); }
.g792-footer-copy { font-size: 1.05rem; color: rgba(206,212,218,0.6); text-align: center; border-top: 1px solid rgba(206,212,218,0.1); padding-top: 0.8rem; }

/* Mobile bottom navigation */
.g792-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  max-width: 430px; margin: 0 auto; height: 62px;
  background: linear-gradient(180deg, var(--g792-bg), var(--g792-darker));
  border-top: 2px solid var(--g792-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
.g792-bottom-nav button {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--g792-light); cursor: pointer; transition: transform 0.15s ease, color 0.15s ease;
  padding: 4px 2px;
}
.g792-bottom-nav button:hover { transform: scale(1.08); color: var(--g792-primary); }
.g792-bottom-nav button .g792-bn-icon { font-size: 22px; line-height: 1; }
.g792-bottom-nav button .g792-bn-label { font-size: 10px; line-height: 1.2; font-weight: 600; }
.g792-bottom-nav button.g792-bn-active { color: var(--g792-primary); }
.g792-bottom-nav button.g792-bn-active .g792-bn-icon { color: var(--g792-primary); }
.g792-bn-badge {
  position: absolute; top: 4px; right: 18px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--g792-danger); color: var(--g792-white); font-size: 10px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Desktop: hide bottom nav and mobile menu trigger */
@media (min-width: 769px) {
  .g792-bottom-nav { display: none; }
  .g792-menu-btn { display: none; }
  .g792-wrapper { max-width: 430px; }
}

/* Mobile: add bottom padding so fixed nav does not cover content */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .g792-footer { padding-bottom: 90px; }
}

/* Utility */
.g792-text-center { text-align: center; }
.g792-mt-1 { margin-top: 0.6rem; }
.g792-mt-2 { margin-top: 1.2rem; }
.g792-divider { height: 1px; background: rgba(255,170,0,0.15); margin: 1.2rem 0; border: none; }
