/* playtime apk - Core Stylesheet */
/* All custom classes and CSS variables use pg96- prefix for namespace isolation */

:root {
  --pg96-primary: #2E8B57;
  --pg96-secondary: #20B2AA;
  --pg96-bg: #1A1A1A;
  --pg96-bg-alt: #232323;
  --pg96-bg-card: #2a2a2a;
  --pg96-text: #f5f5f5;
  --pg96-text-muted: #b8b8b8;
  --pg96-accent: #F4A460;
  --pg96-success: #3CB371;
  --pg96-border: rgba(255, 255, 255, 0.08);
  --pg96-radius: 1.2rem;
  --pg96-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35);
  --pg96-transition: 0.6s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--pg96-bg);
  color: var(--pg96-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--pg96-accent); text-decoration: none; }

.pg96-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg96-wrapper { padding: 1.6rem 0; }

/* Header */
.pg96-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #1A1A1A 0%, #20351f 100%);
  border-bottom: 0.2rem solid var(--pg96-primary);
  box-shadow: var(--pg96-shadow);
}
.pg96-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0.8rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.pg96-logo { display: flex; align-items: center; gap: 0.6rem; color: var(--pg96-text); font-weight: 700; font-size: 1.5rem; }
.pg96-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.pg96-logo .pg96-logo-text { background: linear-gradient(90deg, var(--pg96-success), var(--pg96-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.pg96-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg96-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1rem; border-radius: 2rem; border: none; cursor: pointer;
  font-size: 1.2rem; font-weight: 700; min-height: 3.4rem; transition: transform 0.15s, box-shadow 0.15s;
}
.pg96-btn:active { transform: scale(0.96); }
.pg96-btn-login { background: transparent; color: var(--pg96-text); border: 0.15rem solid var(--pg96-secondary); }
.pg96-btn-register { background: linear-gradient(135deg, var(--pg96-primary), var(--pg96-success)); color: #fff; box-shadow: 0 0.3rem 0.8rem rgba(46, 139, 87, 0.4); }

.pg96-menu-btn {
  background: transparent; border: 0.15rem solid var(--pg96-border); color: var(--pg96-text);
  width: 3.4rem; height: 3.4rem; border-radius: 0.8rem; cursor: pointer; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile slide-in menu */
.pg96-mobile-menu {
  position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
  background: var(--pg96-bg-alt); z-index: 9999; padding: 6rem 1.4rem 2rem;
  transition: right 0.3s ease; overflow-y: auto; box-shadow: -0.4rem 0 1.2rem rgba(0, 0, 0, 0.5);
}
.pg96-mobile-menu.pg96-active { right: 0; }
.pg96-mobile-menu a {
  display: flex; align-items: center; gap: 0.6rem; padding: 1.2rem 1rem;
  color: var(--pg96-text); border-bottom: 0.1rem solid var(--pg96-border);
  font-size: 1.4rem; font-weight: 600;
}
.pg96-mobile-menu a:active { background: rgba(46, 139, 87, 0.15); }
.pg96-menu-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 9998; display: none; }
.pg96-menu-backdrop.pg96-active { display: block; }

/* Main content */
.pg96-main { padding-top: 6rem; }
@media (max-width: 768px) {
  .pg96-main { padding-bottom: 8rem; }
}

/* Carousel */
.pg96-carousel { position: relative; width: 100%; border-radius: var(--pg96-radius); overflow: hidden; margin: 1.2rem 0; }
.pg96-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.pg96-carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--pg96-transition) ease; }
.pg96-carousel-slide.pg96-active { opacity: 1; }
.pg96-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg96-carousel-caption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(0, 0, 0, 0.6); padding: 0.5rem 0.9rem; border-radius: 0.8rem; font-weight: 700; font-size: 1.3rem; }
.pg96-carousel-dots { position: absolute; bottom: 1rem; right: 1rem; display: flex; gap: 0.5rem; }
.pg96-carousel-dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: rgba(255, 255, 255, 0.5); border: none; cursor: pointer; }
.pg96-carousel-dot.pg96-active { background: var(--pg96-accent); }

/* Headings and sections */
.pg96-section { padding: 1.4rem 0; }
.pg96-anchor { scroll-margin-top: 6rem; }
.pg96-h1 { font-size: 2rem; font-weight: 800; line-height: 1.3; margin: 1rem 0; }
.pg96-subtitle { color: var(--pg96-text-muted); margin-bottom: 1rem; font-size: 1.3rem; }
.pg96-section-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 1rem; color: var(--pg96-text); border-left: 0.4rem solid var(--pg96-accent); padding-left: 0.8rem; }

/* Game grid */
.pg96-cat-label { font-size: 1.5rem; font-weight: 800; color: var(--pg96-success); margin: 1.2rem 0 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.pg96-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.pg96-game-card { display: block; background: var(--pg96-bg-card); border-radius: 0.8rem; padding: 0.5rem; text-align: center; border: 0.1rem solid var(--pg96-border); transition: transform 0.15s, border-color 0.15s; cursor: pointer; }
.pg96-game-card:active { transform: scale(0.95); border-color: var(--pg96-accent); }
.pg96-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0.6rem; margin-bottom: 0.4rem; }
.pg96-game-card .pg96-game-name { font-size: 1.05rem; color: var(--pg96-text); line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Cards */
.pg96-card { background: var(--pg96-bg-card); border-radius: var(--pg96-radius); padding: 1.4rem; margin-bottom: 1rem; border: 0.1rem solid var(--pg96-border); }
.pg96-card-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.6rem; color: var(--pg96-success); }
.pg96-card p { margin-bottom: 0.6rem; color: var(--pg96-text-muted); }
.pg96-card ul { padding-left: 1.4rem; color: var(--pg96-text-muted); }
.pg96-card li { margin-bottom: 0.4rem; }

/* Promo link text and CTA buttons */
.pg96-link-text { color: var(--pg96-accent); font-weight: 700; cursor: pointer; }
.pg96-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--pg96-primary), var(--pg96-success));
  color: #fff; padding: 1.1rem 1.6rem; border-radius: 2rem; font-weight: 800; font-size: 1.5rem;
  width: 100%; border: none; cursor: pointer; margin: 1rem 0; box-shadow: 0 0.4rem 1rem rgba(46, 139, 87, 0.4);
}
.pg96-cta:active { transform: scale(0.97); }
.pg96-cta-secondary { background: linear-gradient(135deg, var(--pg96-accent), #e08a3a); }

/* RTP grid */
.pg96-rtp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.pg96-rtp-item { background: var(--pg96-bg-alt); border-radius: 0.6rem; padding: 0.8rem; text-align: center; }
.pg96-rtp-item .pg96-rtp-name { font-size: 1.1rem; color: var(--pg96-text-muted); }
.pg96-rtp-item .pg96-rtp-val { font-size: 1.5rem; font-weight: 800; color: var(--pg96-accent); }

/* Testimonials */
.pg96-testimonial { background: var(--pg96-bg-card); border-radius: 0.8rem; padding: 1rem; margin-bottom: 0.8rem; border-left: 0.3rem solid var(--pg96-secondary); }
.pg96-testimonial .pg96-author { font-weight: 700; color: var(--pg96-success); font-size: 1.3rem; }
.pg96-stars { color: var(--pg96-accent); font-size: 1.2rem; letter-spacing: 0.1rem; }

/* Winners list */
.pg96-winner { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 0.1rem solid var(--pg96-border); }
.pg96-winner:last-child { border-bottom: none; }
.pg96-winner-name { font-weight: 600; font-size: 1.2rem; }
.pg96-winner-amount { color: var(--pg96-accent); font-weight: 800; }

/* Payment methods */
.pg96-payment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.pg96-payment-item { background: #fff; border-radius: 0.6rem; padding: 0.6rem 0.3rem; text-align: center; font-size: 1rem; color: #1A1A1A; font-weight: 700; }

/* Feature rows */
.pg96-feature { display: flex; gap: 0.8rem; padding: 0.9rem 0; border-bottom: 0.1rem solid var(--pg96-border); }
.pg96-feature:last-child { border-bottom: none; }
.pg96-feature .pg96-feature-icon { font-size: 2rem; color: var(--pg96-accent); flex-shrink: 0; }
.pg96-feature .pg96-feature-title { font-weight: 700; font-size: 1.3rem; }
.pg96-feature .pg96-feature-desc { font-size: 1.2rem; color: var(--pg96-text-muted); }

/* Promo banner */
.pg96-promo-banner { background: linear-gradient(135deg, var(--pg96-primary), var(--pg96-secondary)); border-radius: var(--pg96-radius); padding: 1.4rem; margin-bottom: 1rem; color: #fff; }
.pg96-promo-banner .pg96-promo-tag { background: var(--pg96-accent); color: #1A1A1A; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: 0.5rem; font-size: 1rem; display: inline-block; margin-bottom: 0.5rem; }

/* App download CTA */
.pg96-app-cta { background: var(--pg96-bg-card); border-radius: var(--pg96-radius); padding: 1.4rem; text-align: center; border: 0.1rem solid var(--pg96-border); }
.pg96-app-cta img { width: 100%; border-radius: 0.8rem; margin-bottom: 1rem; }
.pg96-app-buttons { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.pg96-footer { background: var(--pg96-bg-alt); padding: 2rem 1.2rem 1rem; margin-top: 2rem; border-top: 0.2rem solid var(--pg96-primary); }
.pg96-footer-brand { color: var(--pg96-text-muted); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1rem; }
.pg96-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.pg96-footer-links a { background: var(--pg96-bg-card); padding: 0.5rem 0.8rem; border-radius: 0.6rem; font-size: 1.1rem; color: var(--pg96-text); }
.pg96-footer-links a:active { background: var(--pg96-primary); }
.pg96-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.pg96-footer-promo button { background: linear-gradient(135deg, var(--pg96-primary), var(--pg96-success)); color: #fff; padding: 0.6rem 1rem; border-radius: 1.4rem; border: none; font-weight: 700; font-size: 1.2rem; cursor: pointer; }
.pg96-footer-promo button:active { transform: scale(0.95); }
.pg96-copyright { text-align: center; color: var(--pg96-text-muted); font-size: 1.1rem; padding-top: 1rem; border-top: 0.1rem solid var(--pg96-border); }

/* Mobile bottom navigation */
.pg96-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #20351f 0%, #1A1A1A 100%);
  border-top: 0.2rem solid var(--pg96-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 6rem; max-width: 430px; margin: 0 auto;
}
.pg96-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px; background: transparent; border: none;
  color: var(--pg96-text-muted); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; transition: color 0.2s, transform 0.15s; text-decoration: none;
}
.pg96-bottomnav-btn .pg96-bn-icon { font-size: 2.2rem; line-height: 1; }
.pg96-bottomnav-btn .pg96-bn-text { font-size: 1rem; }
.pg96-bottomnav-btn:active { transform: scale(0.92); }
.pg96-bottomnav-btn.pg96-current { color: var(--pg96-accent); }
.pg96-bottomnav-btn.pg96-current .pg96-bn-icon { color: var(--pg96-accent); }
.pg96-bn-promo .pg96-bn-icon { color: var(--pg96-success); }

/* Desktop: hide bottom nav, show desktop nav */
@media (min-width: 769px) {
  .pg96-bottomnav { display: none; }
  .pg96-desktop-nav { display: flex; gap: 1.2rem; align-items: center; }
  .pg96-desktop-nav a { color: var(--pg96-text); font-weight: 600; font-size: 1.2rem; }
}
.pg96-desktop-nav { display: none; }

/* Utility classes */
.pg96-text-center { text-align: center; }
.pg96-mt-1 { margin-top: 1rem; }
.pg96-mb-1 { margin-bottom: 1rem; }
.pg96-hidden { display: none; }
