/* ============================================================
 * nustat.click - nustat.css
 * Mobile-first (max 430px) layout for nustat gaming site.
 * All custom classes use the "pg00-" prefix.
 * Palette: #FF8A80 | #273746 | #BAFFC9 | #FF1493 | #B22222
 * ============================================================ */

:root {
  --pg00-primary: #FF1493;
  --pg00-secondary: #B22222;
  --pg00-accent: #FF8A80;
  --pg00-mint: #BAFFC9;
  --pg00-bg: #273746;
  --pg00-bg-deep: #1c2733;
  --pg00-bg-soft: #324556;
  --pg00-text: #ffffff;
  --pg00-text-muted: #c4d0db;
  --pg00-gold: #ffd479;
  --pg00-radius: 14px;
  --pg00-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, var(--pg00-bg-deep) 0%, var(--pg00-bg) 60%);
  color: var(--pg00-text);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--pg00-mint); text-decoration: none; }

/* ---------- Layout helpers ---------- */
.pg00-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.pg00-container {
  padding: 1.6rem 0;
}

main { padding-bottom: 88px; }

/* ---------- Header ---------- */
.pg00-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--pg00-bg-deep) 0%, var(--pg00-bg-soft) 100%);
  border-bottom: 2px solid var(--pg00-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.pg00-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
}

.pg00-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pg00-brand img { width: 30px; height: 30px; border-radius: 8px; }

.pg00-brand-text {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--pg00-text);
}
.pg00-brand-text span { color: var(--pg00-primary); }

.pg00-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pg00-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 30px;
  padding: 0.65rem 1.3rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
  color: #fff;
  min-height: 36px;
}
.pg00-btn:active { transform: scale(0.96); }

.pg00-btn-register {
  background: linear-gradient(90deg, var(--pg00-primary) 0%, var(--pg00-secondary) 100%);
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.45);
}

.pg00-btn-login {
  background: linear-gradient(90deg, var(--pg00-mint) 0%, #6ee7a8 100%);
  color: #16301f;
}

.pg00-hamburger {
  background: transparent;
  border: none;
  color: var(--pg00-text);
  font-size: 2.1rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Mobile slide menu ---------- */
.pg00-mobile-menu {
  position: fixed;
  top: 0; right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--pg00-bg-deep);
  z-index: 9999;
  padding: 2rem 1.5rem;
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 2px solid var(--pg00-primary);
}
.pg00-mobile-menu.pg00-menu-open { right: 0; }

.pg00-menu-close {
  background: transparent;
  border: none;
  color: var(--pg00-text);
  font-size: 2rem;
  float: right;
  cursor: pointer;
}

.pg00-menu-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0;
  color: var(--pg00-mint);
}

.pg00-mobile-menu a {
  display: block;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--pg00-text);
  font-size: 1.3rem;
  transition: color .15s, padding .15s;
}
.pg00-mobile-menu a:hover, .pg00-mobile-menu a:active { color: var(--pg00-primary); padding-left: 1rem; }

.pg00-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s;
}
.pg00-overlay.pg00-overlay-show { opacity: 1; visibility: visible; }

/* ---------- Hero carousel ---------- */
.pg00-hero {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}
.pg00-hero-track { position: relative; height: 200px; }
.pg00-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.pg00-hero-slide img { width: 100%; height: 200px; object-fit: cover; }
.pg00-hero-slide.pg00-slide-active { opacity: 1; }
.pg00-hero-caption {
  position: absolute;
  left: 1.2rem; bottom: 1.4rem;
  background: rgba(40, 25, 50, 0.78);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pg00-mint);
}

.pg00-hero-prev, .pg00-hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pg00-hero-prev { left: 8px; }
.pg00-hero-next { right: 8px; }

.pg00-hero-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.pg00-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer; border: none;
}
.pg00-hero-dot.pg00-dot-active { background: var(--pg00-primary); }

/* ---------- Section / titles ---------- */
.pg00-section { padding: 1.6rem 0; }

.pg00-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.pg00-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--pg00-text);
  display: flex; align-items: center; gap: 0.5rem;
}
.pg00-section-title i, .pg00-section-title .material-icons { color: var(--pg00-primary); font-size: 1.7rem; }
.pg00-section-more { color: var(--pg00-mint); font-size: 1.15rem; }

.pg00-h1 {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 1rem 0 0.6rem;
  background: linear-gradient(90deg, var(--pg00-primary), var(--pg00-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pg00-lead { color: var(--pg00-text-muted); font-size: 1.25rem; margin-bottom: 1.2rem; }

/* ---------- Game grid ---------- */
.pg00-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.pg00-game-card {
  background: var(--pg00-bg-soft);
  border-radius: var(--pg00-radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  text-align: center;
}
.pg00-game-card:active { transform: scale(0.96); border-color: var(--pg00-primary); }
.pg00-game-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #000;
}
.pg00-game-name {
  font-size: 1.05rem;
  color: var(--pg00-text);
  padding: 0.4rem 0.3rem 0.55rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg00-cat-label {
  display: inline-block;
  margin: 1.4rem 0 0.6rem;
  padding: 0.3rem 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 20px;
  background: rgba(255, 20, 147, 0.18);
  color: var(--pg00-accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ---------- Card / promo blocks ---------- */
.pg00-card {
  background: var(--pg00-bg-soft);
  border-radius: var(--pg00-radius);
  padding: 1.3rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--pg00-shadow);
  border: 1px solid rgba(255,255,255,0.05);
}
.pg00-card h2, .pg00-card h3 { margin: 0 0 0.6rem; color: var(--pg00-text); }
.pg00-card h2 { font-size: 1.5rem; }
.pg00-card h3 { font-size: 1.3rem; }
.pg00-card p { margin: 0.4rem 0; color: var(--pg00-text-muted); font-size: 1.2rem; }

.pg00-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 0.6rem;
}
.pg00-feature {
  background: rgba(0,0,0,0.18);
  padding: 0.9rem;
  border-radius: 10px;
  text-align: center;
}
.pg00-feature i, .pg00-feature .material-icons { font-size: 1.8rem; color: var(--pg00-mint); }
.pg00-feature b { display: block; margin-top: 0.3rem; font-size: 1.15rem; }
.pg00-feature span { font-size: 1.05rem; color: var(--pg00-text-muted); }

.pg00-cta-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.pg00-cta-link {
  color: var(--pg00-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Testimonials ---------- */
.pg00-testimonial {
  background: var(--pg00-bg-soft);
  border-left: 4px solid var(--pg00-primary);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
}
.pg00-testimonial b { color: var(--pg00-mint); }
.pg00-testimonial p { margin: 0.3rem 0 0; font-size: 1.18rem; color: var(--pg00-text-muted); }

/* ---------- Payment pills ---------- */
.pg00-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pg00-pill {
  background: rgba(186, 255, 201, 0.14);
  border: 1px solid var(--pg00-mint);
  color: var(--pg00-text);
  padding: 0.45rem 0.9rem;
  border-radius: 20px;
  font-size: 1.1rem;
}

/* ---------- Winners list ---------- */
.pg00-winner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.8rem;
  background: rgba(0,0,0,0.18);
  border-radius: 10px;
  margin-bottom: 0.5rem;
}
.pg00-winner b { color: var(--pg00-gold); }

/* ---------- FAQ ---------- */
.pg00-faq dt {
  font-weight: 700;
  margin-top: 0.8rem;
  color: var(--pg00-mint);
  font-size: 1.2rem;
}
.pg00-faq dd { margin: 0.2rem 0 0; color: var(--pg00-text-muted); font-size: 1.18rem; }

/* ---------- Footer ---------- */
.pg00-footer {
  background: var(--pg00-bg-deep);
  border-top: 2px solid var(--pg00-primary);
  padding: 1.6rem 1.2rem 2rem;
  color: var(--pg00-text-muted);
  font-size: 1.1rem;
}
.pg00-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
  margin: 0.8rem 0;
}
.pg00-footer-links a { color: var(--pg00-text); font-size: 1.1rem; }
.pg00-footer-promos { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0; }
.pg00-footer-copy { margin-top: 0.8rem; color: #7a8794; font-size: 1rem; }

/* ---------- Mobile bottom nav ---------- */
.pg00-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, var(--pg00-bg-soft) 0%, var(--pg00-bg-deep) 100%);
  border-top: 2px solid var(--pg00-primary);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -3px 14px rgba(0,0,0,.35);
}
.pg00-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--pg00-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  padding: 4px 2px;
  transition: color .15s, transform .15s;
  position: relative;
}
.pg00-nav-btn:active { transform: scale(0.92); }
.pg00-nav-btn i, .pg00-nav-btn .material-icons, .pg00-nav-btn ion-icon {
  font-size: 22px;
}
.pg00-nav-btn span { font-size: 1.05rem; font-weight: 600; }
.pg00-nav-btn.is-active { color: var(--pg00-primary); }
.pg00-nav-btn.is-active::before {
  content: "";
  position: absolute;
  top: 0; left: 30%; right: 30%;
  height: 3px;
  background: var(--pg00-primary);
  border-radius: 0 0 4px 4px;
}
.pg00-nav-btn .pg00-badge {
  position: absolute;
  top: 6px; right: 18px;
  background: var(--pg00-secondary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ---------- Back to top ---------- */
.pg00-top-btn {
  position: fixed;
  right: 14px; bottom: 76px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--pg00-primary);
  color: #fff;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s, transform .15s;
  z-index: 900;
  box-shadow: var(--pg00-shadow);
}
.pg00-top-btn.pg00-top-show { opacity: 1; visibility: visible; }
.pg00-top-btn:active { transform: scale(0.9); }

/* ---------- Desktop: hide bottom nav, widen layout ---------- */
@media (min-width: 769px) {
  .pg00-bottom-nav { display: none; }
  .pg00-wrapper { max-width: 760px; }
  main { padding-bottom: 32px; }
  .pg00-hero-track { height: 280px; }
  .pg00-hero-slide img { height: 280px; }
}
