/*!
 * mv88 plus - style-4200.css
 * Mobile-first responsive stylesheet. Root font-size 62.5% (1rem = 10px).
 * All custom classes use the pg42- prefix.
 * Palette: #3A3A3A | #FFE135 | #8A2BE2 | #9966CC | #F5F5F5 | #7B68EE
 */
:root {
  --pg42-bg: #3A3A3A;
  --pg42-bg-dark: #262626;
  --pg42-bg-soft: #4a4a4a;
  --pg42-primary: #FFE135;
  --pg42-accent: #8A2BE2;
  --pg42-accent-2: #9966CC;
  --pg42-slate: #7B68EE;
  --pg42-light: #F5F5F5;
  --pg42-text: #f3f3f3;
  --pg42-text-muted: #c9c9c9;
  --pg42-border: rgba(255, 225, 53, 0.25);
  --pg42-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --pg42-radius: 14px;
  --pg42-radius-sm: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

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

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(160deg, var(--pg42-bg-dark) 0%, var(--pg42-bg) 60%, #1f1f1f 100%);
  color: var(--pg42-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--pg42-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--pg42-slate); }

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

h1, h2, h3, h4 { line-height: 1.8rem; font-weight: 700; color: var(--pg42-light); }

/* ---------- Layout helpers ---------- */
.pg42-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg42-wrapper { padding: 2rem 1.2rem; }
.pg42-section { padding: 2.4rem 0; }
.pg42-section-alt { background: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255, 255, 255, 0.05); }
.pg42-center { text-align: center; }
.pg42-hidden { display: none !important; }

/* ---------- Header ---------- */
.pg42-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(38, 38, 38, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--pg42-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.pg42-header-inner {
  max-width: 430px; margin: 0 auto;
  height: 6rem; padding: 0 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.pg42-logo { display: flex; align-items: center; gap: .8rem; color: var(--pg42-light); font-weight: 800; font-size: 1.7rem; }
.pg42-logo img { width: 3rem; height: 3rem; border-radius: 8px; }
.pg42-logo span { background: linear-gradient(90deg, var(--pg42-primary), var(--pg42-slate)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pg42-header-actions { display: flex; align-items: center; gap: .7rem; }
.pg42-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1.3rem;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 4rem;
}
.pg42-btn:active { transform: scale(0.96); }
.pg42-btn-primary { background: linear-gradient(135deg, var(--pg42-primary), #ffcc00); color: #1a1a1a; box-shadow: 0 4px 14px rgba(255, 225, 53, 0.35); }
.pg42-btn-secondary { background: linear-gradient(135deg, var(--pg42-accent), var(--pg42-slate)); color: #fff; box-shadow: 0 4px 14px rgba(123, 104, 238, 0.4); }
.pg42-btn-ghost { background: transparent; border: 2px solid var(--pg42-primary); color: var(--pg42-primary); }

.pg42-menu-toggle {
  background: transparent; border: none; color: var(--pg42-light); font-size: 2rem; cursor: pointer;
  width: 4rem; height: 4rem; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Mobile slide menu ---------- */
.pg42-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 9998;
  opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.pg42-overlay.pg42-show { opacity: 1; visibility: visible; }
.pg42-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--pg42-bg-dark); z-index: 9999; padding: 2rem 1.6rem;
  transform: translateX(0); transition: right .3s ease; overflow-y: auto;
  border-left: 2px solid var(--pg42-primary);
}
.pg42-mobile-menu.pg42-menu-open { right: 0; }
.pg42-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.pg42-menu-head h3 { color: var(--pg42-primary); font-size: 1.8rem; }
.pg42-menu-close { background: transparent; border: none; color: var(--pg42-light); font-size: 2.2rem; cursor: pointer; }
.pg42-menu-list { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.pg42-menu-list a {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.04); border-radius: var(--pg42-radius-sm);
  color: var(--pg42-light); font-weight: 600;
}
.pg42-menu-list a:hover { background: rgba(255, 225, 53, 0.12); color: var(--pg42-primary); }
.pg42-menu-list .material-icons, .pg42-menu-list .bi { color: var(--pg42-primary); font-size: 1.8rem; }
.pg42-menu-cta { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }

body.pg42-lock { overflow: hidden; }

/* ---------- Page spacer for fixed header ---------- */
.pg42-page { padding-top: 6rem; }
main.pg42-main { padding-bottom: 8rem; }

/* ---------- Hero / Carousel ---------- */
.pg42-carousel { position: relative; overflow: hidden; border-radius: var(--pg42-radius); box-shadow: var(--pg42-shadow); margin: 1.6rem 0; }
.pg42-carousel-track { display: flex; transition: transform .5s ease; }
.pg42-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.pg42-carousel-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pg42-carousel-cap { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; background: rgba(0, 0, 0, 0.55); padding: 1rem 1.2rem; border-radius: var(--pg42-radius-sm); }
.pg42-carousel-cap h3 { color: var(--pg42-primary); font-size: 1.6rem; margin-bottom: .3rem; }
.pg42-carousel-cap p { color: var(--pg42-light); font-size: 1.2rem; }
.pg42-carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; pointer-events: none; }
.pg42-carousel-nav button { pointer-events: auto; background: rgba(0, 0, 0, 0.45); border: none; color: #fff; width: 3.4rem; height: 3.4rem; border-radius: 50%; font-size: 1.8rem; cursor: pointer; margin: 0 .6rem; }
.pg42-carousel-dots { position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%); display: flex; gap: .6rem; }
.pg42-carousel-dot { width: 1rem; height: 1rem; border-radius: 50%; background: rgba(255, 255, 255, 0.45); border: none; cursor: pointer; }
.pg42-carousel-dot.pg42-dot-active { background: var(--pg42-primary); width: 2.4rem; border-radius: 999px; }

/* ---------- Section headings ---------- */
.pg42-section-title { font-size: 2rem; margin-bottom: .6rem; }
.pg42-section-title .pg42-accent { color: var(--pg42-primary); }
.pg42-section-sub { color: var(--pg42-text-muted); font-size: 1.3rem; margin-bottom: 1.8rem; }
.pg42-title-bar { width: 6rem; height: .4rem; background: linear-gradient(90deg, var(--pg42-primary), var(--pg42-slate)); border-radius: 999px; margin-bottom: 1.4rem; }

/* ---------- Filter tabs ---------- */
.pg42-filter-row { display: flex; gap: .8rem; overflow-x: auto; padding: .5rem 0 1.2rem; scrollbar-width: none; }
.pg42-filter-row::-webkit-scrollbar { display: none; }
.pg42-filter-tab {
  flex: 0 0 auto; padding: .9rem 1.6rem; border-radius: 999px; font-size: 1.25rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.06); color: var(--pg42-text-muted); border: 1px solid transparent; cursor: pointer;
}
.pg42-filter-tab.pg42-tab-active { background: linear-gradient(135deg, var(--pg42-accent), var(--pg42-slate)); color: #fff; border-color: var(--pg42-primary); }

/* ---------- Game grid ---------- */
.pg42-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1rem 0; }
.pg42-card {
  background: linear-gradient(160deg, var(--pg42-bg-soft), var(--pg42-bg-dark));
  border: 1px solid var(--pg42-border); border-radius: var(--pg42-radius-sm);
  padding: .8rem; text-align: center; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.pg42-card:hover { transform: translateY(-3px); border-color: var(--pg42-primary); box-shadow: 0 6px 18px rgba(255, 225, 53, 0.18); }
.pg42-card:active { transform: scale(0.97); }
.pg42-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; background: #000; }
.pg42-card-name { font-size: 1.1rem; color: var(--pg42-light); font-weight: 600; line-height: 1.3rem; min-height: 2.6rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pg42-card-badge { position: relative; }
.pg42-card-badge::before {
  content: "HOT"; position: absolute; top: -6px; left: -6px; z-index: 2;
  background: var(--pg42-primary); color: #1a1a1a; font-size: .9rem; font-weight: 800;
  padding: .15rem .5rem; border-radius: 6px;
}
.pg42-game-group-title { color: var(--pg42-primary); font-size: 1.6rem; margin: 1.8rem 0 .8rem; display: flex; align-items: center; gap: .6rem; }

/* ---------- Generic card / panel ---------- */
.pg42-panel { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--pg42-border); border-radius: var(--pg42-radius); padding: 1.6rem; margin: 1.2rem 0; }
.pg42-panel h3 { color: var(--pg42-primary); margin-bottom: .8rem; }
.pg42-panel p { color: var(--pg42-text-muted); margin-bottom: .8rem; }
.pg42-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.pg42-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--pg42-text); }
.pg42-list .material-icons, .pg42-list .bi, .pg42-list .fas, .pg42-list .far { color: var(--pg42-primary); margin-top: .2rem; }

/* ---------- RTP / stats ---------- */
.pg42-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0; }
.pg42-stat { background: linear-gradient(160deg, var(--pg42-bg-soft), var(--pg42-bg-dark)); border-radius: var(--pg42-radius-sm); padding: 1.2rem; text-align: center; border: 1px solid var(--pg42-border); }
.pg42-stat-num { font-size: 2.2rem; font-weight: 800; color: var(--pg42-primary); }
.pg42-stat-label { color: var(--pg42-text-muted); font-size: 1.15rem; }
.pg42-bar { height: .8rem; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; margin: .6rem 0; }
.pg42-bar-fill { height: 100%; background: linear-gradient(90deg, var(--pg42-primary), var(--pg42-slate)); }

/* ---------- Testimonials ---------- */
.pg42-testi { display: flex; flex-direction: column; gap: 1rem; }
.pg42-testi-item { background: rgba(255, 255, 255, 0.04); border-left: 3px solid var(--pg42-primary); padding: 1.2rem; border-radius: 8px; }
.pg42-testi-name { color: var(--pg42-primary); font-weight: 700; margin-bottom: .3rem; }
.pg42-testi-stars { color: #ffcc00; margin-bottom: .3rem; }

/* ---------- Payment / app ---------- */
.pg42-pay-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.pg42-pay-chip { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--pg42-border); color: var(--pg42-light); padding: .8rem 1.2rem; border-radius: 999px; font-size: 1.2rem; font-weight: 600; }
.pg42-app-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.pg42-app-img { flex: 1 1 60%; border-radius: var(--pg42-radius-sm); }
.pg42-steps { counter-reset: step; list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.pg42-steps li { counter-increment: step; position: relative; padding-left: 3.4rem; color: var(--pg42-text); }
.pg42-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; background: linear-gradient(135deg, var(--pg42-accent), var(--pg42-slate)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ---------- Winners ticker ---------- */
.pg42-winner-wrap { overflow: hidden; background: rgba(0, 0, 0, 0.35); border-radius: var(--pg42-radius-sm); padding: .8rem 1rem; margin: 1rem 0; }
.pg42-winner-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.pg42-winner-list li { font-size: 1.2rem; color: var(--pg42-text-muted); }
.pg42-winner-list b { color: var(--pg42-primary); }

/* ---------- FAQ ---------- */
.pg42-faq-item { background: rgba(255, 255, 255, 0.04); border-radius: var(--pg42-radius-sm); padding: 1.2rem 1.4rem; margin-bottom: 1rem; border: 1px solid var(--pg42-border); }
.pg42-faq-item h4 { color: var(--pg42-primary); font-size: 1.4rem; margin-bottom: .5rem; }
.pg42-faq-item p { color: var(--pg42-text-muted); }

/* ---------- Promo links inline ---------- */
.pg42-link-bold { color: var(--pg42-primary); font-weight: 700; text-decoration: underline; cursor: pointer; }
.pg42-cta-band { background: linear-gradient(135deg, var(--pg42-accent), var(--pg42-slate)); border-radius: var(--pg42-radius); padding: 2rem 1.6rem; text-align: center; margin: 1.6rem 0; box-shadow: var(--pg42-shadow); }
.pg42-cta-band h3 { color: #fff; margin-bottom: .6rem; }
.pg42-cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.2rem; }

/* ---------- Footer ---------- */
.pg42-footer { background: var(--pg42-bg-dark); border-top: 2px solid var(--pg42-primary); padding: 2.4rem 1.2rem 9rem; margin-top: 2.4rem; }
.pg42-footer-inner { max-width: 430px; margin: 0 auto; }
.pg42-footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.pg42-footer-brand img { width: 3.2rem; height: 3.2rem; border-radius: 8px; }
.pg42-footer-desc { color: var(--pg42-text-muted); font-size: 1.25rem; margin-bottom: 1.4rem; }
.pg42-footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; margin-bottom: 1.4rem; }
.pg42-footer-links a { color: var(--pg42-text); font-size: 1.2rem; }
.pg42-footer-promos { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1rem 0 1.6rem; }
.pg42-footer-copy { color: var(--pg42-text-muted); font-size: 1.15rem; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1.2rem; }

/* ---------- Bottom nav ---------- */
.pg42-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.98), rgba(20, 20, 20, 0.98));
  border-top: 2px solid var(--pg42-primary);
  display: flex; justify-content: space-around; align-items: stretch;
  height: 6.4rem; padding: .4rem 0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}
.pg42-bottom-nav button, .pg42-bottom-nav a {
  flex: 1; background: transparent; border: none; color: var(--pg42-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 1.05rem; gap: .2rem; cursor: pointer; min-width: 6rem; min-height: 5.6rem;
  transition: color .2s ease, transform .15s ease; text-decoration: none;
}
.pg42-bottom-nav button:active, .pg42-bottom-nav a:active { transform: scale(0.92); }
.pg42-bottom-nav .material-icons, .pg42-bottom-nav .bi, .pg42-bottom-nav .fas, .pg42-bottom-nav .far, .pg42-bottom-nav .ionicon { font-size: 2.2rem; }
.pg42-bottom-nav .pg42-nav-current { color: var(--pg42-primary); }
.pg42-bottom-nav .pg42-nav-promo { color: var(--pg42-primary); position: relative; }
.pg42-bottom-nav .pg42-nav-promo::after { content: ""; position: absolute; top: 4px; right: 22%; width: .8rem; height: .8rem; background: #ff3b3b; border-radius: 50%; }

/* ---------- Back to top ---------- */
.pg42-back-top {
  position: fixed; right: 1.2rem; bottom: 7.6rem; z-index: 999;
  width: 4.4rem; height: 4.4rem; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--pg42-primary), var(--pg42-slate)); color: #1a1a1a;
  font-size: 2rem; box-shadow: var(--pg42-shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
}
.pg42-back-top.pg42-show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Desktop: hide bottom nav, widen layout ---------- */
@media (min-width: 769px) {
  .pg42-container, .pg42-footer-inner, .pg42-header-inner { max-width: 960px; }
  .pg42-grid { grid-template-columns: repeat(6, 1fr); }
  .pg42-stats { grid-template-columns: repeat(4, 1fr); }
  .pg42-bottom-nav { display: none; }
  main.pg42-main { padding-bottom: 2rem; }
  .pg42-footer { padding-bottom: 2.4rem; }
}
