/* vip8rr88.click - Core stylesheet
   All custom classes use the "pgae-" prefix.
   Palette: #FFF176 (light yellow) | #FF8C00 (orange) | #D3D3D3 (silver)
            #34495E (dark slate - background) | #FFD700 (gold) */

:root {
  --pgae-primary: #FFD700;
  --pgae-accent: #FF8C00;
  --pgae-light: #FFF176;
  --pgae-silver: #D3D3D3;
  --pgae-bg: #34495E;
  --pgae-bg-deep: #2c3e50;
  --pgae-text: #f5f5f5;
  --pgae-text-muted: #c8d0d8;
  --pgae-card: #3d5167;
  --pgae-card-hover: #465f7a;
  --pgae-shadow: 0 4px 14px rgba(0,0,0,0.35);
  --pgae-radius: 12px;
}

* { 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(--pgae-bg-deep);
  color: var(--pgae-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--pgae-light); text-decoration: none; }
a:hover { color: var(--pgae-primary); }

/* ===== Header ===== */
.pgae-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: linear-gradient(135deg, #2c3e50 0%, #34495E 100%);
  border-bottom: 2px solid var(--pgae-primary);
  box-shadow: var(--pgae-shadow);
}
.pgae-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  gap: 0.8rem;
}
.pgae-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.pgae-logo img { width: 30px; height: 30px; border-radius: 6px; }
.pgae-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pgae-primary);
  letter-spacing: 0.5px;
}
.pgae-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pgae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  transition: transform 0.15s ease, background 0.2s ease;
}
.pgae-btn:hover { transform: translateY(-1px); }
.pgae-btn-register {
  background: linear-gradient(135deg, var(--pgae-accent), var(--pgae-primary));
  color: #2c3e50;
}
.pgae-btn-login {
  background: transparent;
  color: var(--pgae-light);
  border: 1.5px solid var(--pgae-light);
}
.pgae-nav-toggle {
  background: transparent;
  border: none;
  color: var(--pgae-light);
  font-size: 2rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}
.pgae-nav-toggle:hover { background: rgba(255,255,255,0.08); }

/* ===== Expandable Nav Menu ===== */
.pgae-nav-menu {
  max-height: 0;
  overflow: hidden;
  background: #2c3e50;
  transition: max-height 0.3s ease;
}
.pgae-nav-menu.pgae-nav-open { max-height: 520px; }
.pgae-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem 1rem;
}
.pgae-nav-list li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.pgae-nav-list a {
  display: block;
  padding: 1rem 0.5rem;
  font-size: 1.4rem;
  color: var(--pgae-text);
  min-height: 44px;
}
.pgae-nav-list a:hover { color: var(--pgae-primary); padding-left: 1rem; }

/* ===== Layout ===== */
.pgae-main { padding-top: 72px; }
.pgae-section { padding: 2rem 1.2rem; }
.pgae-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pgae-primary);
  margin-bottom: 1rem;
  text-align: center;
}
.pgae-section-sub {
  text-align: center;
  color: var(--pgae-text-muted);
  font-size: 1.3rem;
  margin-bottom: 1.6rem;
}

/* ===== Carousel ===== */
.pgae-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: var(--pgae-radius);
  margin-bottom: 1rem;
}
.pgae-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  cursor: pointer;
}
.pgae-slide img { width: 100%; height: 100%; object-fit: cover; }
.pgae-slide-active { opacity: 1; }
.pgae-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
}
.pgae-dots {
  position: absolute;
  bottom: 8px; right: 10px;
  display: flex;
  gap: 6px;
}
.pgae-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none; cursor: pointer;
}
.pgae-dot-active { background: var(--pgae-primary); }

/* ===== Hero / H1 ===== */
.pgae-hero { text-align: center; padding: 1.5rem 1.2rem 0.5rem; }
.pgae-h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pgae-primary);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}
.pgae-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  background: linear-gradient(135deg, var(--pgae-accent), var(--pgae-primary));
  color: #2c3e50;
  font-weight: 800;
  font-size: 1.5rem;
  padding: 1rem 2.2rem;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  min-height: 44px;
}

/* ===== Game Grid ===== */
.pgae-cat-block { margin-bottom: 2rem; }
.pgae-cat-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--pgae-accent);
  padding-left: 0.8rem;
}
.pgae-cat-head h2 {
  font-size: 1.8rem;
  color: var(--pgae-primary);
  font-weight: 700;
}
.pgae-cat-head .pgae-cat-icon { font-size: 2rem; color: var(--pgae-accent); }
.pgae-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.pgae-game-card {
  background: var(--pgae-card);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
  box-shadow: var(--pgae-shadow);
}
.pgae-game-card:hover { transform: translateY(-2px); background: var(--pgae-card-hover); }
.pgae-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pgae-game-name {
  font-size: 1.1rem;
  color: var(--pgae-text);
  padding: 0.5rem 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Content / SEO blocks ===== */
.pgae-content p {
  font-size: 1.4rem;
  color: var(--pgae-text-muted);
  margin-bottom: 1rem;
  text-align: justify;
}
.pgae-content h2 {
  font-size: 1.8rem; color: var(--pgae-primary);
  margin: 1.6rem 0 0.8rem;
}
.pgae-content h3 {
  font-size: 1.5rem; color: var(--pgae-light);
  margin: 1.2rem 0 0.6rem;
}
.pgae-content a { color: var(--pgae-accent); font-weight: 600; }
.pgae-content a:hover { color: var(--pgae-primary); text-decoration: underline; }
.pgae-content ul { padding-left: 1.6rem; margin-bottom: 1rem; }
.pgae-content li { font-size: 1.4rem; color: var(--pgae-text-muted); margin-bottom: 0.5rem; }

.pgae-card-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.pgae-info-card {
  background: var(--pgae-card);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
}
.pgae-info-card .pgae-info-icon { font-size: 2.4rem; color: var(--pgae-accent); margin-bottom: 0.5rem; }
.pgae-info-card h3 { font-size: 1.4rem; color: var(--pgae-primary); margin-bottom: 0.4rem; }
.pgae-info-card p { font-size: 1.2rem; color: var(--pgae-text-muted); }

.pgae-testimonial {
  background: var(--pgae-card);
  border-radius: 10px;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--pgae-primary);
}
.pgae-testimonial p { font-size: 1.3rem; color: var(--pgae-text-muted); font-style: italic; margin-bottom: 0.5rem; }
.pgae-testimonial .pgae-author { font-size: 1.2rem; color: var(--pgae-light); font-weight: 600; }

.pgae-winners {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.pgae-winner {
  flex: 0 0 140px;
  background: var(--pgae-card);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}
.pgae-winner .pgae-winner-game { font-size: 1.2rem; color: var(--pgae-primary); font-weight: 700; }
.pgae-winner .pgae-winner-amount { font-size: 1.4rem; color: var(--pgae-light); font-weight: 800; margin: 0.3rem 0; }
.pgae-winner .pgae-winner-user { font-size: 1.1rem; color: var(--pgae-text-muted); }

.pgae-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.pgae-pay-item {
  background: var(--pgae-card);
  border-radius: 8px;
  padding: 0.8rem 0.4rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--pgae-text-muted);
}
.pgae-pay-item .material-icons, .pgae-pay-item i { font-size: 2rem; color: var(--pgae-accent); }

/* ===== Footer ===== */
.pgae-footer {
  background: #243443;
  padding: 2rem 1.2rem 5rem;
  border-top: 2px solid var(--pgae-primary);
}
.pgae-footer-brand { font-size: 1.8rem; color: var(--pgae-primary); font-weight: 800; margin-bottom: 0.5rem; }
.pgae-footer-intro { font-size: 1.3rem; color: var(--pgae-text-muted); margin-bottom: 1.2rem; }
.pgae-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.pgae-footer-links a {
  background: var(--pgae-card);
  color: var(--pgae-light);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 1.2rem;
}
.pgae-footer-links a:hover { background: var(--pgae-accent); color: #2c3e50; }
.pgae-footer-copy {
  font-size: 1.2rem; color: var(--pgae-silver);
  text-align: center; margin-top: 1rem;
}

/* ===== Mobile Bottom Navigation ===== */
.pgae-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #34495E 0%, #2c3e50 100%);
  border-top: 2px solid var(--pgae-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
.pgae-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--pgae-silver);
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  transition: transform 0.15s ease, color 0.2s ease;
}
.pgae-bottomnav-btn i, .pgae-bottomnav-btn .material-icons, .pgae-bottomnav-btn ion-icon {
  font-size: 24px;
}
.pgae-bottomnav-btn span { font-size: 1.1rem; }
.pgae-bottomnav-btn:hover { transform: scale(1.08); color: var(--pgae-light); }
.pgae-bottomnav-active { color: var(--pgae-primary); }
.pgae-bottomnav-active i, .pgae-bottomnav-active .material-icons, .pgae-bottomnav-active ion-icon {
  color: var(--pgae-primary);
}

/* Mobile clearance for fixed bottom nav */
@media (max-width: 768px) {
  .pgae-main { padding-bottom: 80px; }
}

/* Desktop: hide bottom nav, widen layout */
@media (min-width: 769px) {
  .pgae-bottomnav { display: none; }
  body { max-width: 100%; }
  .pgae-header { max-width: 100%; }
  .pgae-grid { grid-template-columns: repeat(5, 1fr); }
  .pgae-card-row { grid-template-columns: repeat(4, 1fr); }
  .pgae-main { padding-bottom: 0; }
}
