/**
 * goodride.click - Core Stylesheet
 * Class prefix: pg91-
 * Color palette: #3C3C3C | #80CBC4 | #1B263B | #C0C0C0 | #778899 | #AD1457
 * Mobile-first design, max-width 430px viewport
 */

:root {
  --pg91-primary: #80CBC4;
  --pg91-primary-dark: #1B263B;
  --pg91-bg: #1B263B;
  --pg91-bg-light: #2a3a5c;
  --pg91-bg-card: #263248;
  --pg91-text: #C0C0C0;
  --pg91-text-light: #e8e8e8;
  --pg91-accent: #AD1457;
  --pg91-accent-light: #d81b60;
  --pg91-muted: #778899;
  --pg91-border: #3a4f6f;
  --pg91-success: #4caf50;
  --pg91-warning: #ff9800;
  --pg91-gold: #ffd700;
  --pg91-radius: 1.2rem;
  --pg91-radius-sm: 0.8rem;
  --pg91-shadow: 0 4px 16px rgba(0,0,0,0.3);
  --pg91-transition: all 0.3s ease;
}

/* Reset and Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--pg91-bg);
  color: var(--pg91-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--pg91-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container */
.pg91-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.pg91-wrapper { width: 100%; position: relative; }

/* Header */
.pg91-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--pg91-bg) 0%, #1e2d4a 100%);
  border-bottom: 1px solid var(--pg91-border);
  padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(10px);
  max-width: 430px; margin: 0 auto;
}
.pg91-logo-area {
  display: flex; align-items: center; gap: 0.8rem; flex: 1;
}
.pg91-logo-area img { width: 28px; height: 28px; border-radius: 6px; }
.pg91-logo-area span {
  font-size: 1.6rem; font-weight: 700; color: var(--pg91-primary);
  letter-spacing: 0.5px;
}
.pg91-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.pg91-header-btn {
  padding: 0.5rem 1.2rem; border-radius: var(--pg91-radius-sm);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--pg91-transition);
  min-height: 36px; display: flex; align-items: center;
}
.pg91-btn-register {
  background: var(--pg91-accent); color: #fff;
}
.pg91-btn-register:hover { background: var(--pg91-accent-light); transform: scale(1.05); }
.pg91-btn-login {
  background: transparent; color: var(--pg91-primary);
  border: 1px solid var(--pg91-primary);
}
.pg91-btn-login:hover { background: var(--pg91-primary); color: var(--pg91-bg); }
.pg91-menu-toggle {
  background: none; border: none; color: var(--pg91-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* Mobile Menu */
.pg91-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--pg91-bg); z-index: 9999; transition: right 0.3s ease;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.pg91-mobile-menu.pg91-menu-active { right: 0; }
.pg91-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998; display: none;
}
.pg91-menu-overlay.pg91-overlay-active { display: block; }
.pg91-menu-close {
  background: none; border: none; color: var(--pg91-text);
  font-size: 2.4rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1rem;
}
.pg91-menu-links { margin-top: 3rem; }
.pg91-menu-links a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 0; color: var(--pg91-text-light);
  font-size: 1.5rem; border-bottom: 1px solid var(--pg91-border);
  transition: var(--pg91-transition);
}
.pg91-menu-links a:hover { color: var(--pg91-primary); padding-left: 0.5rem; }
.pg91-menu-links a i, .pg91-menu-links a .material-icons { font-size: 2rem; width: 2.4rem; text-align: center; }

/* Main Content */
.pg91-main { padding-top: 6rem; min-height: 100vh; }

/* Slider / Carousel */
.pg91-slider {
  position: relative; overflow: hidden; border-radius: var(--pg91-radius);
  margin: 1rem 0; aspect-ratio: 16/9;
}
.pg91-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.5s ease; cursor: pointer;
}
.pg91-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg91-slide.pg91-slide-active { opacity: 1; }
.pg91-slider-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 2;
}
.pg91-slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; border: none;
  transition: var(--pg91-transition);
}
.pg91-slider-dot.pg91-dot-active {
  background: var(--pg91-primary); transform: scale(1.3);
}

/* Section Titles */
.pg91-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--pg91-text-light);
  margin: 2rem 0 1rem; padding-left: 1rem;
  border-left: 3px solid var(--pg91-primary);
}
.pg91-section-title i { margin-right: 0.5rem; color: var(--pg91-primary); }

/* Game Grid */
.pg91-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0.5rem 0;
}
.pg91-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: var(--pg91-transition);
  border-radius: var(--pg91-radius-sm); padding: 0.4rem;
}
.pg91-game-item:hover { transform: translateY(-2px); background: var(--pg91-bg-light); }
.pg91-game-item img {
  width: 72px; height: 72px; border-radius: var(--pg91-radius-sm);
  object-fit: cover; border: 1px solid var(--pg91-border);
}
.pg91-game-name {
  font-size: 1.1rem; color: var(--pg91-text); text-align: center;
  margin-top: 0.3rem; line-height: 1.3rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  max-width: 80px;
}

/* Category Label */
.pg91-cat-label {
  font-size: 1.4rem; font-weight: 600; color: var(--pg91-primary);
  margin: 1.5rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.pg91-cat-label i { font-size: 1.6rem; }

/* Cards */
.pg91-card {
  background: var(--pg91-bg-card); border-radius: var(--pg91-radius);
  padding: 1.5rem; margin: 1rem 0; border: 1px solid var(--pg91-border);
}
.pg91-card-title {
  font-size: 1.6rem; font-weight: 700; color: var(--pg91-text-light);
  margin-bottom: 0.8rem;
}
.pg91-card p {
  font-size: 1.3rem; line-height: 2rem; color: var(--pg91-text); margin-bottom: 0.5rem;
}

/* Promo Button */
.pg91-promo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.4rem; background: linear-gradient(135deg, var(--pg91-accent) 0%, #c2185b 100%);
  color: #fff; font-size: 1.5rem; font-weight: 700; border: none;
  border-radius: var(--pg91-radius); cursor: pointer;
  transition: var(--pg91-transition); box-shadow: var(--pg91-shadow);
  min-height: 44px; width: 100%; margin: 1rem 0;
}
.pg91-promo-btn:hover { transform: scale(1.03); box-shadow: 0 6px 24px rgba(173,20,87,0.4); }

/* Text Link */
.pg91-text-link {
  color: var(--pg91-primary); font-weight: 600; cursor: pointer;
  border-bottom: 1px dashed var(--pg91-primary);
  transition: var(--pg91-transition);
}
.pg91-text-link:hover { color: var(--pg91-accent-light); border-color: var(--pg91-accent-light); }

/* Winner Showcase */
.pg91-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.pg91-winner-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--pg91-bg-light); padding: 0.8rem 1rem;
  border-radius: var(--pg91-radius-sm); font-size: 1.3rem;
}
.pg91-winner-name { color: var(--pg91-primary); font-weight: 600; flex: 1; }
.pg91-winner-amount { color: var(--pg91-gold); font-weight: 700; }

/* Payment Methods */
.pg91-payment-row {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin: 1rem 0;
}
.pg91-payment-item {
  background: var(--pg91-bg-light); padding: 0.8rem 1.2rem;
  border-radius: var(--pg91-radius-sm); font-size: 1.2rem;
  color: var(--pg91-text-light); border: 1px solid var(--pg91-border);
}

/* Testimonials */
.pg91-testimonial {
  background: var(--pg91-bg-card); border-radius: var(--pg91-radius);
  padding: 1.2rem; margin: 0.8rem 0; border-left: 3px solid var(--pg91-primary);
}
.pg91-testimonial-text { font-size: 1.3rem; font-style: italic; line-height: 2rem; margin-bottom: 0.6rem; }
.pg91-testimonial-author { font-size: 1.2rem; color: var(--pg91-muted); }

/* App Download CTA */
.pg91-app-cta {
  background: linear-gradient(135deg, var(--pg91-bg-light) 0%, var(--pg91-bg-card) 100%);
  border-radius: var(--pg91-radius); padding: 1.5rem;
  text-align: center; border: 1px solid var(--pg91-primary);
  margin: 1.5rem 0;
}
.pg91-app-cta h3 { font-size: 1.6rem; color: var(--pg91-primary); margin-bottom: 0.8rem; }
.pg91-app-cta p { font-size: 1.3rem; margin-bottom: 1rem; }

/* Footer */
.pg91-footer {
  background: var(--pg91-bg); padding: 2rem 1.2rem;
  border-top: 1px solid var(--pg91-border); margin-top: 2rem;
}
.pg91-footer-brand {
  font-size: 1.3rem; color: var(--pg91-text); line-height: 2rem;
  margin-bottom: 1.5rem;
}
.pg91-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem;
}
.pg91-footer-links a {
  font-size: 1.2rem; color: var(--pg91-primary); padding: 0.4rem 0.8rem;
  background: var(--pg91-bg-light); border-radius: var(--pg91-radius-sm);
  transition: var(--pg91-transition);
}
.pg91-footer-links a:hover { background: var(--pg91-primary); color: var(--pg91-bg); }
.pg91-footer-copy {
  font-size: 1.1rem; color: var(--pg91-muted); text-align: center;
  border-top: 1px solid var(--pg91-border); padding-top: 1rem;
}

/* Bottom Navigation */
.pg91-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1e2d4a 0%, var(--pg91-bg) 100%);
  border-top: 1px solid var(--pg91-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; max-width: 430px; margin: 0 auto;
  padding: 0 0.4rem;
}
.pg91-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 56px;
  background: none; border: none; color: var(--pg91-muted);
  cursor: pointer; transition: var(--pg91-transition);
  padding: 0.4rem; border-radius: 0.6rem; gap: 0.2rem;
}
.pg91-bottom-nav-btn:hover, .pg91-bottom-nav-btn.pg91-nav-active {
  color: var(--pg91-primary); transform: scale(1.08);
}
.pg91-bottom-nav-btn i,
.pg91-bottom-nav-btn .material-icons,
.pg91-bottom-nav-btn ion-icon,
.pg91-bottom-nav-btn bi {
  font-size: 22px; width: 24px; height: 24px; text-align: center; line-height: 24px;
}
.pg91-bottom-nav-btn ion-icon { font-size: 24px; }
.pg91-bottom-nav-label { font-size: 1rem; line-height: 1.2rem; }

/* FAQ Section */
.pg91-faq-item {
  background: var(--pg91-bg-card); border-radius: var(--pg91-radius-sm);
  margin: 0.8rem 0; padding: 1.2rem; border: 1px solid var(--pg91-border);
}
.pg91-faq-q {
  font-size: 1.4rem; font-weight: 600; color: var(--pg91-primary);
  margin-bottom: 0.6rem;
}
.pg91-faq-a { font-size: 1.3rem; line-height: 2rem; color: var(--pg91-text); }

/* Help Page Content */
.pg91-help-content h2 {
  font-size: 1.7rem; color: var(--pg91-primary); margin: 2rem 0 0.8rem;
  font-weight: 700;
}
.pg91-help-content h3 {
  font-size: 1.5rem; color: var(--pg91-text-light); margin: 1.5rem 0 0.5rem;
}
.pg91-help-content p {
  font-size: 1.3rem; line-height: 2.2rem; color: var(--pg91-text); margin-bottom: 0.8rem;
}
.pg91-help-content ul { margin: 0.5rem 0 1rem 1.5rem; }
.pg91-help-content li {
  font-size: 1.3rem; line-height: 2rem; color: var(--pg91-text);
  list-style: disc; margin-bottom: 0.3rem;
}

/* Responsive */
@media (min-width: 769px) {
  .pg91-bottom-nav { display: none; }
  .pg91-menu-toggle { display: none; }
  .pg91-header { max-width: 430px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .pg91-main { padding-bottom: 80px; }
}
@media (max-width: 360px) {
  .pg91-game-grid { grid-template-columns: repeat(3, 1fr); }
  .pg91-game-item img { width: 64px; height: 64px; }
}
