/* ============================================================
 * nustargame - style.css
 * All custom classes use the pg3c- prefix.
 * Palette: #FF69B4 (hot pink) / #FFCCCB (light pink) /
 *          #E9967A (dark salmon) / #CD853F (peru) / #2D2D2D (dark)
 * Mobile-first, max-width 430px.
 * ============================================================ */

:root {
  --pg3c-primary: #FF69B4;
  --pg3c-secondary: #E9967A;
  --pg3c-accent: #CD853F;
  --pg3c-light: #FFCCCB;
  --pg3c-bg: #2D2D2D;
  --pg3c-bg-soft: #3a2d33;
  --pg3c-card: #fff5f8;
  --pg3c-text: #2D2D2D;
  --pg3c-text-light: #ffeef5;
  --pg3c-border: rgba(255, 105, 180, 0.25);
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, #2D2D2D 0%, #3a2230 60%, #4a2342 100%);
  color: var(--pg3c-text-light);
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* clearance for fixed bottom nav */
  min-height: 100vh;
}

a { color: var(--pg3c-primary); text-decoration: none; }
a:hover { color: #ffb6d5; }
img { max-width: 100%; display: block; }

/* ============ Layout containers ============ */
.pg3c-wrapper { width: 100%; max-width: 430px; margin: 0 auto; position: relative; }
.pg3c-container { width: 100%; padding: 0 1.2rem; }
.pg3c-section { padding: 2.2rem 0; }
.pg3c-section--alt { background: rgba(255, 255, 255, 0.04); }

/* ============ Header ============ */
.pg3c-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #2D2D2D 0%, #4a2342 100%);
  border-bottom: 2px solid var(--pg3c-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.pg3c-header-inner {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; gap: 0.6rem;
}
.pg3c-logo { display: flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 700; }
.pg3c-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg3c-logo-text { font-size: 1.7rem; background: linear-gradient(90deg, #FF69B4, #FFCCCB); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg3c-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg3c-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: 1.35rem; cursor: pointer;
  border: none; transition: transform .15s ease, box-shadow .15s ease;
  min-height: 36px;
}
.pg3c-btn:active { transform: scale(0.96); }
.pg3c-btn--register {
  background: linear-gradient(90deg, #FF69B4, #E9967A);
  color: #fff; box-shadow: 0 3px 10px rgba(255,105,180,0.4);
}
.pg3c-btn--login {
  background: transparent; color: #fff;
  border: 2px solid #FF69B4;
}
.pg3c-menu-btn {
  background: transparent; border: none; color: #fff;
  font-size: 2rem; cursor: pointer; padding: 0.4rem 0.6rem;
}

/* Slide-down mobile menu */
.pg3c-mobile-menu {
  position: fixed; top: 56px; left: 0; right: 0;
  background: #2D2D2D; border-bottom: 2px solid var(--pg3c-primary);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
  z-index: 9999;
}
.pg3c-mobile-menu.pg3c-menu-open { max-height: 480px; }
.pg3c-mobile-menu a {
  display: block; padding: 1.1rem 1.4rem; color: #fff;
  border-bottom: 1px solid rgba(255,105,180,0.18);
  font-size: 1.4rem;
}
.pg3c-mobile-menu a:hover { background: rgba(255,105,180,0.15); }

/* ============ Hero / Carousel ============ */
.pg3c-hero { margin-top: 56px; }
.pg3c-carousel { position: relative; width: 100%; overflow: hidden; border-radius: 0 0 16px 16px; }
.pg3c-carousel-slide { display: none; width: 100%; }
.pg3c-carousel-slide img { width: 100%; height: auto; cursor: pointer; }
.pg3c-carousel-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.pg3c-carousel-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer; border: none;
}
.pg3c-carousel-dot.pg3c-dot-active { background: #FF69B4; transform: scale(1.25); }

/* ============ Section titles ============ */
.pg3c-section-title {
  font-size: 2rem; font-weight: 800; margin-bottom: 1.2rem;
  color: #fff; display: flex; align-items: center; gap: 0.6rem;
}
.pg3c-section-title::before {
  content: ""; display: inline-block; width: 6px; height: 22px;
  background: linear-gradient(180deg, #FF69B4, #CD853F); border-radius: 3px;
}
.pg3c-lead { color: #ffe; margin-bottom: 1rem; }

/* ============ Game grid ============ */
.pg3c-grid {
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(3, 1fr);
}
.pg3c-card {
  background: var(--pg3c-card); border-radius: 12px; overflow: hidden;
  text-align: center; padding: 0.6rem 0.4rem; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: block; color: var(--pg3c-text);
}
.pg3c-card:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(255,105,180,0.35); }
.pg3c-card img { width: 100%; height: auto; border-radius: 8px; }
.pg3c-card-name { font-size: 1.15rem; font-weight: 600; margin-top: 0.4rem; color: #2D2D2D; }

/* ============ Info / features blocks ============ */
.pg3c-info-card {
  background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 1.4rem; margin-bottom: 1.2rem;
  border: 1px solid var(--pg3c-border);
}
.pg3c-info-card h3 { color: #FFCCCB; margin-bottom: 0.5rem; font-size: 1.5rem; }
.pg3c-info-card p { color: #f3e7ec; }
.pg3c-feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.pg3c-feature-row .pg3c-info-card { margin-bottom: 0; }

/* ============ RTP table ============ */
.pg3c-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; }
.pg3c-table th, .pg3c-table td { padding: 0.75rem 0.6rem; text-align: left; border-bottom: 1px solid rgba(255,105,180,0.18); }
.pg3c-table th { background: rgba(255,105,180,0.2); color: #fff; }
.pg3c-table td { color: #ffe; }

/* ============ Promo CTA banner ============ */
.pg3c-cta {
  background: linear-gradient(90deg, #FF69B4, #CD853F);
  border-radius: 14px; padding: 1.6rem; text-align: center;
  color: #fff; margin: 1.4rem 0;
}
.pg3c-cta h3 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.pg3c-cta p { margin-bottom: 1rem; }
.pg3c-link-text {
  color: #FFCCCB; font-weight: 700; text-decoration: underline;
  cursor: pointer;
}
.pg3c-link-text:hover { color: #fff; }

/* ============ Testimonials ============ */
.pg3c-testimonial {
  background: rgba(255,255,255,0.06); border-left: 4px solid #FF69B4;
  padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 0.8rem;
}
.pg3c-testimonial .pg3c-stars { color: #FFCCCB; margin-bottom: 0.3rem; }
.pg3c-testimonial p { color: #f5e8ee; font-style: italic; }
.pg3c-testimonial span { display: block; margin-top: 0.4rem; color: #FF69B4; font-weight: 600; font-size: 1.2rem; }

/* ============ Payment / winners lists ============ */
.pg3c-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pg3c-chip {
  background: rgba(255,105,180,0.18); color: #fff;
  padding: 0.6rem 1rem; border-radius: 999px; font-size: 1.25rem;
  border: 1px solid var(--pg3c-border);
}
.pg3c-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem 0.4rem; border-bottom: 1px dashed rgba(255,105,180,0.2);
  font-size: 1.3rem;
}
.pg3c-winner-row .pg3c-amt { color: #FFCCCB; font-weight: 700; }

/* ============ Footer ============ */
.pg3c-footer {
  background: #1f1f1f; border-top: 2px solid var(--pg3c-primary);
  padding: 2rem 1.2rem 3rem; color: #f0e0e8; font-size: 1.3rem;
}
.pg3c-footer h4 { color: #FF69B4; margin-bottom: 0.6rem; font-size: 1.4rem; }
.pg3c-footer p { margin-bottom: 1rem; }
.pg3c-footer-links { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.pg3c-footer-links a { color: #FFCCCB; }
.pg3c-footer-copy { margin-top: 1rem; font-size: 1.15rem; color: #c4a8b5; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem; }

/* ============ Mobile bottom nav ============ */
.pg3c-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px; z-index: 1000;
  background: #1f1f1f;
  border-top: 2px solid #FF69B4;
  display: flex; justify-content: space-around; align-items: center;
}
.pg3c-bottom-nav-item {
  flex: 1; min-width: 60px; min-height: 60px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; gap: 2px;
  background: none; border: none; cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}
.pg3c-bottom-nav-item i,
.pg3c-bottom-nav-item .material-icons,
.pg3c-bottom-nav-item ion-icon {
  font-size: 22px;
}
.pg3c-bottom-nav-item:hover { color: #FF69B4; transform: translateY(-2px); }
.pg3c-bottom-nav-item.pg3c-active { color: #FF69B4; }
.pg3c-bottom-nav-badge {
  position: absolute; top: 6px; right: 22%;
  background: #E9967A; color: #fff; border-radius: 999px;
  font-size: 0.9rem; padding: 0 5px; min-width: 16px; text-align: center;
}

/* ============ Reveal animation ============ */
.pg3c-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.pg3c-reveal.pg3c-revealed { opacity: 1; transform: translateY(0); }

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .pg3c-bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .pg3c-wrapper { max-width: 760px; }
  .pg3c-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Back-to-top */
.pg3c-totop {
  position: fixed; right: 14px; bottom: 76px; z-index: 900;
  width: 40px; height: 40px; border-radius: 50%;
  background: #FF69B4; color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}
