/* =========================================================
   mm88b.cfd - Core stylesheet
   All custom classes use the pg10- prefix
   Palette: #DDA0DD (plum) | #0C0C0C (ink) | #D8BFD8 (thistle) | #B2DFDB (mint)
   Dark = background, light = text. Mobile-first, max-width 430px.
   ========================================================= */

:root {
  --pg10-primary: #DDA0DD;
  --pg10-bg: #0C0C0C;
  --pg10-surface: #161616;
  --pg10-surface-2: #1f1f1f;
  --pg10-text: #D8BFD8;
  --pg10-text-strong: #FFFFFF;
  --pg10-accent: #B2DFDB;
  --pg10-accent-2: #DDA0DD;
  --pg10-muted: #9a8aa0;
  --pg10-border: rgba(216, 191, 216, 0.18);
  --pg10-gold: #e8c07a;
  --pg10-danger: #ff6b6b;
  --pg10-radius: 14px;
  --pg10-radius-sm: 9px;
  --pg10-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --pg10-transition: 0.25s ease;
}

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

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

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  background: var(--pg10-bg);
  color: var(--pg10-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ===== Header ===== */
.pg10-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(12, 12, 12, 0.96);
  border-bottom: 1px solid var(--pg10-border);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
}

.pg10-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--pg10-text-strong);
  font-weight: 700;
  font-size: 1.6rem;
}
.pg10-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg10-logo .pg10-logo-badge {
  background: linear-gradient(135deg, var(--pg10-primary), var(--pg10-accent));
  color: #0C0C0C;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 1.3rem;
}

.pg10-header-actions { display: flex; align-items: center; gap: 0.5rem; }

.pg10-btn {
  border: none;
  border-radius: var(--pg10-radius-sm);
  padding: 0.7rem 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--pg10-transition), box-shadow var(--pg10-transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.pg10-btn:active { transform: scale(0.96); }
.pg10-btn-login {
  background: transparent;
  color: var(--pg10-text-strong);
  border: 1px solid var(--pg10-border);
}
.pg10-btn-register {
  background: linear-gradient(135deg, var(--pg10-primary), var(--pg10-accent));
  color: #0C0C0C;
  box-shadow: 0 4px 14px rgba(221, 160, 221, 0.35);
}
.pg10-menu-btn {
  background: transparent;
  border: 1px solid var(--pg10-border);
  color: var(--pg10-text-strong);
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Mobile menu ===== */
.pg10-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden;
  transition: opacity var(--pg10-transition);
  z-index: 9998;
}
.pg10-menu-overlay.pg10-overlay-active { opacity: 1; visibility: visible; }

.pg10-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 75%; max-width: 320px;
  height: 100vh;
  background: var(--pg10-surface);
  padding: 6rem 1.5rem 2rem;
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--pg10-border);
}
.pg10-mobile-menu.pg10-menu-open { right: 0; }
.pg10-mobile-menu h3 {
  color: var(--pg10-primary);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin: 1.5rem 0 0.8rem;
}
.pg10-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  color: var(--pg10-text-strong);
  border-bottom: 1px solid var(--pg10-border);
  font-size: 1.35rem;
}
.pg10-mobile-menu a:active { background: var(--pg10-surface-2); }
.pg10-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  background: transparent; border: none; color: var(--pg10-text-strong);
  font-size: 2rem; cursor: pointer;
}

/* ===== Layout ===== */
.pg10-main { padding-top: 6rem; }
.pg10-section { padding: 2rem 1.2rem; }
.pg10-section-alt { background: var(--pg10-surface); }
.pg10-container { width: 100%; }

/* ===== Hero slider ===== */
.pg10-hero {
  position: relative;
  margin: 1rem;
  border-radius: var(--pg10-radius);
  overflow: hidden;
  box-shadow: var(--pg10-shadow);
}
.pg10-slider { position: relative; height: 200px; }
.pg10-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
}
.pg10-slide.pg10-slide-active { opacity: 1; }
.pg10-slide img { width: 100%; height: 200px; object-fit: cover; }
.pg10-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(12,12,12,0.95), transparent);
  padding: 1.2rem;
}
.pg10-slide-overlay h2 { color: var(--pg10-text-strong); font-size: 1.6rem; margin-bottom: 0.4rem; }
.pg10-slide-overlay p { color: var(--pg10-text); font-size: 1.2rem; }
.pg10-dots {
  position: absolute; bottom: 0.8rem; right: 1rem;
  display: flex; gap: 0.4rem;
}
.pg10-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer;
}
.pg10-dot.pg10-dot-active { background: var(--pg10-accent); }

/* ===== H1 + intro ===== */
.pg10-h1 {
  color: var(--pg10-text-strong);
  font-size: 2.1rem;
  line-height: 2.6rem;
  text-align: center;
  margin: 1.5rem 1rem;
}
.pg10-h1 span { color: var(--pg10-primary); }
.pg10-intro {
  padding: 0 1.2rem;
  color: var(--pg10-text);
  font-size: 1.35rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ===== Promo link styles ===== */
.pg10-promo-link {
  color: var(--pg10-accent);
  font-weight: 700;
  cursor: pointer;
}
.pg10-promo-link:hover { text-decoration: underline; }
.pg10-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--pg10-primary), var(--pg10-accent));
  color: #0C0C0C;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.35rem;
  border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(221,160,221,0.4);
  transition: transform var(--pg10-transition);
}
.pg10-cta:active { transform: scale(0.96); }
.pg10-cta-row { display: flex; justify-content: center; gap: 0.8rem; margin: 1.5rem 0; flex-wrap: wrap; }

/* ===== Section headings ===== */
.pg10-section-title {
  color: var(--pg10-text-strong);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.pg10-section-title i { color: var(--pg10-primary); }
.pg10-section-sub {
  color: var(--pg10-muted);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

/* ===== Category chips ===== */
.pg10-chips {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding: 0.5rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.pg10-chip {
  background: var(--pg10-surface-2);
  color: var(--pg10-text);
  border: 1px solid var(--pg10-border);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.pg10-chip.pg10-chip-active {
  background: var(--pg10-primary);
  color: #0C0C0C;
  border-color: var(--pg10-primary);
}

/* ===== Game grid ===== */
.pg10-game-group { margin-bottom: 2rem; }
.pg10-game-group-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.8rem;
}
.pg10-game-group-title {
  color: var(--pg10-primary);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.pg10-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.pg10-game-card {
  background: var(--pg10-surface);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius-sm);
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: transform var(--pg10-transition), border-color var(--pg10-transition);
  overflow: hidden;
}
.pg10-game-card:active {
  transform: scale(0.95);
  border-color: var(--pg10-primary);
}
.pg10-game-card img {
  width: 100%; height: 70px; object-fit: cover;
  border-radius: 6px; margin-bottom: 0.4rem;
}
.pg10-game-card .pg10-game-name {
  color: var(--pg10-text-strong);
  font-size: 1.05rem;
  line-height: 1.3rem;
  height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== Cards / content blocks ===== */
.pg10-card {
  background: var(--pg10-surface);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.pg10-card h3 { color: var(--pg10-text-strong); font-size: 1.5rem; margin-bottom: 0.6rem; }
.pg10-card p { color: var(--pg10-text); font-size: 1.3rem; margin-bottom: 0.8rem; }
.pg10-card ul { list-style: none; }
.pg10-card ul li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  color: var(--pg10-text);
  font-size: 1.3rem;
  border-bottom: 1px dashed var(--pg10-border);
}
.pg10-card ul li:last-child { border-bottom: none; }
.pg10-card ul li::before {
  content: "▸";
  position: absolute; left: 0.5rem;
  color: var(--pg10-accent);
}

/* ===== Steps ===== */
.pg10-steps { display: flex; flex-direction: column; gap: 0.8rem; }
.pg10-step {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--pg10-surface);
  padding: 1rem; border-radius: var(--pg10-radius-sm);
  border-left: 3px solid var(--pg10-primary);
}
.pg10-step-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg10-primary), var(--pg10-accent));
  color: #0C0C0C;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.pg10-step-body h4 { color: var(--pg10-text-strong); font-size: 1.35rem; margin-bottom: 0.3rem; }
.pg10-step-body p { color: var(--pg10-text); font-size: 1.25rem; }

/* ===== Features grid ===== */
.pg10-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.pg10-feature {
  background: var(--pg10-surface);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius-sm);
  padding: 1rem;
  text-align: center;
}
.pg10-feature i {
  font-size: 2.4rem;
  color: var(--pg10-primary);
  margin-bottom: 0.5rem;
}
.pg10-feature h4 { color: var(--pg10-text-strong); font-size: 1.3rem; margin-bottom: 0.3rem; }
.pg10-feature p { color: var(--pg10-text); font-size: 1.15rem; line-height: 1.4rem; }

/* ===== RTP table ===== */
.pg10-rtp-table {
  width: 100%;
  background: var(--pg10-surface);
  border-radius: var(--pg10-radius-sm);
  overflow: hidden;
  border: 1px solid var(--pg10-border);
}
.pg10-rtp-table th, .pg10-rtp-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 1.2rem;
  border-bottom: 1px solid var(--pg10-border);
}
.pg10-rtp-table th { background: var(--pg10-surface-2); color: var(--pg10-primary); }
.pg10-rtp-table td { color: var(--pg10-text); }
.pg10-rtp-table tr:last-child td { border-bottom: none; }
.pg10-rtp-bar {
  display: inline-block; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--pg10-primary), var(--pg10-accent));
  vertical-align: middle;
  margin-left: 0.5rem;
}

/* ===== Winners ===== */
.pg10-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.pg10-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--pg10-surface);
  padding: 0.8rem 1rem;
  border-radius: var(--pg10-radius-sm);
  border: 1px solid var(--pg10-border);
}
.pg10-winner .pg10-winner-name { color: var(--pg10-text-strong); font-size: 1.25rem; }
.pg10-winner .pg10-winner-game { color: var(--pg10-muted); font-size: 1.1rem; }
.pg10-winner .pg10-winner-amount { color: var(--pg10-gold); font-weight: 700; font-size: 1.3rem; }

/* ===== Testimonials ===== */
.pg10-testimonial {
  background: var(--pg10-surface);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}
.pg10-testimonial-stars { color: var(--pg10-gold); font-size: 1.3rem; margin-bottom: 0.4rem; }
.pg10-testimonial p { color: var(--pg10-text); font-size: 1.25rem; font-style: italic; margin-bottom: 0.6rem; }
.pg10-testimonial .pg10-testimonial-author {
  color: var(--pg10-text-strong);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== Payment methods ===== */
.pg10-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.pg10-pay-item {
  background: var(--pg10-surface);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius-sm);
  padding: 0.8rem 0.4rem;
  text-align: center;
}
.pg10-pay-item i { font-size: 2rem; color: var(--pg10-accent); }
.pg10-pay-item span { display: block; color: var(--pg10-text); font-size: 1rem; margin-top: 0.3rem; }

/* ===== App download ===== */
.pg10-app-box {
  background: linear-gradient(135deg, rgba(221,160,221,0.15), rgba(178,223,219,0.12));
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius);
  padding: 1.5rem;
  text-align: center;
}
.pg10-app-box h3 { color: var(--pg10-text-strong); font-size: 1.6rem; margin-bottom: 0.5rem; }
.pg10-app-box p { color: var(--pg10-text); font-size: 1.25rem; margin-bottom: 1rem; }
.pg10-app-buttons { display: flex; flex-direction: column; gap: 0.6rem; }

/* ===== FAQ ===== */
.pg10-faq-item {
  background: var(--pg10-surface);
  border: 1px solid var(--pg10-border);
  border-radius: var(--pg10-radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.pg10-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.2rem;
  background: transparent; border: none;
  width: 100%; text-align: left;
  color: var(--pg10-text-strong);
  font-size: 1.3rem; font-weight: 600;
  cursor: pointer;
}
.pg10-faq-icon { color: var(--pg10-primary); font-size: 1.6rem; }
.pg10-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.2rem;
  color: var(--pg10-text);
  font-size: 1.25rem;
}
.pg10-faq-item.pg10-faq-open .pg10-faq-a { max-height: 300px; padding: 0 1.2rem 1rem; }

/* ===== Footer ===== */
.pg10-footer {
  background: var(--pg10-surface);
  border-top: 1px solid var(--pg10-border);
  padding: 2rem 1.2rem 7rem;
  margin-top: 2rem;
}
.pg10-footer-brand {
  color: var(--pg10-text);
  font-size: 1.25rem;
  line-height: 1.7rem;
  margin-bottom: 1.2rem;
}
.pg10-footer-brand strong { color: var(--pg10-primary); }
.pg10-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem;
  margin-bottom: 1.2rem;
}
.pg10-footer-links a {
  color: var(--pg10-text);
  font-size: 1.2rem;
  text-decoration: underline;
}
.pg10-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.pg10-footer-promos button {
  background: var(--pg10-surface-2);
  border: 1px solid var(--pg10-primary);
  color: var(--pg10-text-strong);
  padding: 0.6rem 1rem;
  border-radius: var(--pg10-radius-sm);
  font-size: 1.15rem; font-weight: 600;
  cursor: pointer;
}
.pg10-footer-copy {
  color: var(--pg10-muted);
  font-size: 1.1rem;
  border-top: 1px dashed var(--pg10-border);
  padding-top: 1rem;
}

/* ===== Bottom navigation ===== */
.pg10-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: rgba(12, 12, 12, 0.98);
  border-top: 1px solid var(--pg10-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
.pg10-bottom-nav button {
  background: transparent; border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex: 1; min-width: 60px; min-height: 60px;
  color: var(--pg10-text);
  cursor: pointer;
  transition: color var(--pg10-transition), transform var(--pg10-transition);
  gap: 0.2rem;
}
.pg10-bottom-nav button:active { transform: scale(0.92); }
.pg10-bottom-nav button i, .pg10-bottom-nav button .material-icons-outlined,
.pg10-bottom-nav button .ion-icon { font-size: 22px; }
.pg10-bottom-nav button span { font-size: 1rem; }
.pg10-bottom-nav .pg10-nav-active { color: var(--pg10-primary); }
.pg10-bottom-nav .pg10-nav-active i, .pg10-bottom-nav .pg10-nav-active .material-icons-outlined { color: var(--pg10-accent); }

/* ===== Back to top ===== */
.pg10-back-top {
  position: fixed;
  bottom: 75px; right: 1rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--pg10-primary);
  color: #0C0C0C;
  border: none; cursor: pointer;
  font-size: 1.6rem; font-weight: 800;
  opacity: 0; visibility: hidden;
  transition: opacity var(--pg10-transition), visibility var(--pg10-transition);
  z-index: 999;
}
.pg10-back-top.pg10-back-show { opacity: 1; visibility: visible; }

/* ===== Desktop: hide bottom nav, widen layout ===== */
@media (min-width: 769px) {
  body { max-width: 768px; }
  .pg10-bottom-nav { display: none; }
  .pg10-footer { padding-bottom: 2rem; }
  .pg10-game-grid { grid-template-columns: repeat(4, 1fr); }
  .pg10-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .pg10-slider, .pg10-slide img { height: 280px; }
}

/* ===== Small phone safety ===== */
@media (max-width: 360px) {
  .pg10-game-grid { grid-template-columns: repeat(2, 1fr); }
  .pg10-pay-grid { grid-template-columns: repeat(3, 1fr); }
  .pg10-h1 { font-size: 1.8rem; }
}

/* ===== Mobile bottom padding so content isn't hidden by bottom nav ===== */
@media (max-width: 768px) {
  .pg10-main { padding-bottom: 80px; }
}
