/* ============================================================
   m 33win68 com vip - theme.css
   All custom classes use the dynamic prefix "pg32-".
   Palette: #FF5722 | #FF6347 | #FF4500 | #808080 | #2C2C2C
   ============================================================ */

:root {
  --pg32-primary: #FF5722;
  --pg32-accent: #FF6347;
  --pg32-flame: #FF4500;
  --pg32-muted: #808080;
  --pg32-bg: #2C2C2C;
  --pg32-bg-deep: #1c1c1c;
  --pg32-bg-card: #3a3a3a;
  --pg32-text: #ffffff;
  --pg32-text-soft: #e6e6e6;
  --pg32-border: rgba(255, 87, 34, 0.35);
  --pg32-radius: 12px;
}

/* Root font sizing (rem based, 62.5% root) */
html { font-size: 62.5%; }
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--pg32-bg);
  color: var(--pg32-text);
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Layout ---------- */
.pg32-wrapper { max-width: 430px; margin: 0 auto; position: relative; }
.pg32-container { padding: 0 1.2rem; }

/* ---------- Header ---------- */
.pg32-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1c1c1c 0%, #2C2C2C 100%);
  border-bottom: 2px solid var(--pg32-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.pg32-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem;
  gap: 0.8rem;
}
.pg32-brand { display: flex; align-items: center; gap: 0.7rem; flex: 1; min-width: 0; }
.pg32-logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--pg32-primary), var(--pg32-flame));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.4rem;
  flex-shrink: 0;
}
.pg32-brand-name {
  font-size: 1.5rem; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pg32-brand-name span { color: var(--pg32-accent); }

.pg32-header-actions { display: flex; gap: 0.5rem; align-items: center; }
.pg32-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  font-size: 1.3rem; font-weight: 600;
  border-radius: 8px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px; text-decoration: none;
}
.pg32-btn:hover { transform: translateY(-1px); }
.pg32-btn-primary {
  background: linear-gradient(135deg, var(--pg32-primary), var(--pg32-flame));
  color: #fff; box-shadow: 0 3px 8px rgba(255, 69, 0, 0.4);
}
.pg32-btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid var(--pg32-border);
}
.pg32-menu-toggle {
  background: transparent; border: none; color: #fff;
  font-size: 2rem; cursor: pointer; padding: 0.2rem 0.6rem;
  min-width: 40px; min-height: 40px;
}

/* ---------- Mobile expandable menu ---------- */
.pg32-mobile-menu {
  position: fixed; top: 0; right: -100%;
  width: 80%; max-width: 320px; height: 100vh;
  background: var(--pg32-bg-deep);
  z-index: 9999;
  padding: 6rem 1.5rem 2rem;
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--pg32-border);
}
.pg32-mobile-menu.pg32-menu-open { right: 0; }
.pg32-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.pg32-mobile-menu.pg32-menu-open ~ .pg32-menu-overlay { opacity: 1; pointer-events: auto; }
.pg32-mobile-menu h3 {
  font-size: 1.4rem; color: var(--pg32-accent);
  margin: 1.5rem 0 0.6rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.pg32-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  color: var(--pg32-text-soft);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1.4rem;
}
.pg32-mobile-menu a:hover { color: var(--pg32-accent); background: rgba(255, 87, 34, 0.08); }

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

/* ---------- Hero / Carousel ---------- */
.pg32-carousel {
  position: relative;
  border-radius: var(--pg32-radius);
  overflow: hidden;
  margin: 1.2rem 0;
}
.pg32-carousel-track { position: relative; }
.pg32-carousel-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.pg32-carousel-slide.pg32-slide-active { display: block; }
.pg32-carousel-slide img {
  width: 100%; height: 200px; object-fit: cover;
}
.pg32-carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
}
.pg32-carousel-caption strong { color: var(--pg32-accent); font-size: 1.6rem; display: block; }
.pg32-carousel-caption span { font-size: 1.25rem; color: var(--pg32-text-soft); }
.pg32-carousel-dot-row {
  position: absolute; bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem; z-index: 2;
}
.pg32-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.pg32-carousel-dot.pg32-dot-active { background: var(--pg32-primary); }

/* ---------- Sections ---------- */
.pg32-section { margin: 2rem 0; }
.pg32-section-title {
  font-size: 1.8rem; font-weight: 700; color: #fff;
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--pg32-primary);
}
.pg32-section-sub {
  font-size: 1.5rem; color: var(--pg32-accent);
  margin: 1.5rem 0 0.6rem; font-weight: 600;
}
.pg32-section p {
  font-size: 1.35rem; line-height: 2.2rem; color: var(--pg32-text-soft);
  margin: 0 0 1rem;
}
.pg32-section strong { color: var(--pg32-accent); }
.pg32-link-text {
  color: var(--pg32-accent); font-weight: 700;
  text-decoration: underline; cursor: pointer;
}

/* ---------- Game grid ---------- */
.pg32-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.pg32-game-tile {
  background: var(--pg32-bg-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .15s ease, border-color .15s ease;
}
.pg32-game-tile:hover { transform: translateY(-2px); border-color: var(--pg32-border); }
.pg32-game-tile img { width: 100%; height: 90px; object-fit: cover; }
.pg32-game-tile-name {
  padding: 0.5rem 0.4rem;
  font-size: 1.15rem; color: var(--pg32-text-soft);
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Cards ---------- */
.pg32-card {
  background: var(--pg32-bg-card);
  border-radius: var(--pg32-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.pg32-card-title {
  font-size: 1.5rem; font-weight: 600; color: #fff;
  margin: 0 0 0.6rem;
}
.pg32-card p { font-size: 1.3rem; color: var(--pg32-text-soft); margin: 0 0 0.6rem; line-height: 2rem; }
.pg32-card-list { padding-left: 1.6rem; margin: 0.5rem 0; }
.pg32-card-list li { font-size: 1.3rem; color: var(--pg32-text-soft); margin-bottom: 0.4rem; line-height: 2rem; }

/* ---------- CTA blocks ---------- */
.pg32-cta {
  background: linear-gradient(135deg, var(--pg32-primary), var(--pg32-flame));
  border-radius: var(--pg32-radius);
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  margin: 1.5rem 0;
}
.pg32-cta h3 { font-size: 1.8rem; margin: 0 0 0.5rem; }
.pg32-cta p { font-size: 1.3rem; margin: 0 0 1rem; line-height: 2rem; }
.pg32-cta .pg32-btn { background: #fff; color: var(--pg32-flame); font-weight: 700; }

/* ---------- Testimonial / winner ---------- */
.pg32-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.pg32-mini-card {
  background: var(--pg32-bg-card);
  border-radius: 8px;
  padding: 0.9rem;
  font-size: 1.2rem;
  color: var(--pg32-text-soft);
  border-left: 3px solid var(--pg32-accent);
}
.pg32-mini-card strong { color: var(--pg32-accent); display: block; margin-bottom: 0.3rem; font-size: 1.3rem; }

/* ---------- Payment chips ---------- */
.pg32-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pg32-chip {
  background: var(--pg32-bg-card);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  color: var(--pg32-text-soft);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ---------- Footer ---------- */
.pg32-footer {
  background: var(--pg32-bg-deep);
  padding: 2rem 1.2rem 6rem;
  margin-top: 2rem;
  border-top: 2px solid var(--pg32-primary);
}
.pg32-footer p { font-size: 1.25rem; color: var(--pg32-muted); line-height: 2rem; margin: 0 0 1rem; }
.pg32-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
  margin-bottom: 1.2rem;
}
.pg32-footer-links a {
  font-size: 1.2rem; color: var(--pg32-text-soft);
  text-decoration: underline;
}
.pg32-footer-links a:hover { color: var(--pg32-accent); }
.pg32-footer-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.pg32-copyright {
  font-size: 1.15rem; color: var(--pg32-muted);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}

/* ---------- Mobile bottom navigation ---------- */
.pg32-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, #2C2C2C, #1c1c1c);
  border-top: 2px solid var(--pg32-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.5);
}
.pg32-bottom-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pg32-text-soft);
  font-size: 1.05rem;
  cursor: pointer;
  gap: 0.2rem;
  transition: color .15s ease, transform .15s ease;
  text-decoration: none;
  padding: 0.3rem 0;
}
.pg32-bottom-btn .material-icons,
.pg32-bottom-btn i { font-size: 24px; }
.pg32-bottom-btn ion-icon { font-size: 24px; }
.pg32-bottom-btn bi { font-size: 24px; }
.pg32-bottom-btn:hover { color: var(--pg32-accent); transform: translateY(-1px); }
.pg32-bottom-btn.is-active { color: var(--pg32-primary); }
.pg32-bottom-btn .pg32-nav-badge {
  position: absolute; top: 6px; right: 22%;
  background: var(--pg32-flame); color: #fff;
  font-size: 0.9rem; padding: 0 4px; border-radius: 999px;
  min-width: 14px; height: 14px; line-height: 14px; text-align: center;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .pg32-bottom-nav { display: none; }
  .pg32-footer { padding-bottom: 2rem; }
  .pg32-wrapper { max-width: 768px; }
}

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