/* =========================================================
   Slot machine (slot-machine.cfd) - Core Stylesheet
   Prefix: pg00-
   Palette: #AD1457 (pink) | #4169E1 (royal) | #1A1A1A (dark)
            #CD853F (peru/gold) | #87CEFA (lightsky)
   Mobile-first HTML5 casino layout (max-width: 430px)
   ========================================================= */

:root {
  --pg00-pink: #AD1457;
  --pg00-royal: #4169E1;
  --pg00-dark: #1A1A1A;
  --pg00-gold: #CD853F;
  --pg00-sky: #87CEFA;
  --pg00-bg: #0f0f14;
  --pg00-bg-2: #15161d;
  --pg00-card: #1c1d27;
  --pg00-card-2: #232534;
  --pg00-text: #f5f6fa;
  --pg00-muted: #a4a7b8;
  --pg00-line: rgba(255, 255, 255, 0.08);
  --pg00-glow: rgba(173, 20, 87, 0.45);
  --pg00-glow-2: rgba(65, 105, 225, 0.4);
  --pg00-radius: 14px;
  --pg00-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

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

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, "Noto Sans", sans-serif;
  background: radial-gradient(circle at 20% 0%, #1a1530 0%, var(--pg00-bg) 45%, var(--pg00-bg) 100%);
  color: var(--pg00-text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Header ---------- */
.pg00-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15, 15, 20, 0.96) 0%, rgba(15, 15, 20, 0.88) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pg00-line);
}
.pg00-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pg00-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.pg00-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--pg00-pink), var(--pg00-gold));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px var(--pg00-glow);
}
.pg00-logo-text { color: #fff; }
.pg00-logo-text span { color: var(--pg00-sky); }

.pg00-header-actions { display: flex; align-items: center; gap: 8px; }

.pg00-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  min-height: 36px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.pg00-btn:active { transform: scale(0.96); }
.pg00-btn-login {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}
.pg00-btn-login:hover { border-color: var(--pg00-sky); color: var(--pg00-sky); }
.pg00-btn-register {
  background: linear-gradient(135deg, var(--pg00-pink), #d81b60);
  color: #fff;
  box-shadow: 0 5px 14px var(--pg00-glow);
}
.pg00-btn-register:hover { filter: brightness(1.08); }

.pg00-menu-toggle {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 1.8rem;
}

/* ---------- Mobile Slide Menu ---------- */
.pg00-mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 80%;
  max-width: 320px;
  background: var(--pg00-bg-2);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 20px 18px;
  overflow-y: auto;
  border-left: 1px solid var(--pg00-line);
}
.pg00-mobile-menu.pg00-open { transform: translateX(0); }
.pg00-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.pg00-menu-backdrop.pg00-open { opacity: 1; visibility: visible; }
.pg00-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--pg00-line);
}
.pg00-menu-head h3 { font-size: 1.6rem; color: var(--pg00-sky); }
.pg00-menu-close { font-size: 2rem; color: #fff; }
.pg00-menu-section { margin-bottom: 18px; }
.pg00-menu-section h4 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pg00-muted);
  margin-bottom: 8px;
}
.pg00-menu-section a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--pg00-text);
  font-size: 1.4rem;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.18s ease, padding-left 0.18s ease;
}
.pg00-menu-section a:hover {
  background: rgba(173, 20, 87, 0.22);
  padding-left: 18px;
}
.pg00-menu-cta {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}
.pg00-menu-cta .pg00-btn { flex: 1; }

/* ---------- Layout Containers ---------- */
.pg00-main { max-width: 430px; margin: 0 auto; padding-bottom: 90px; }
.pg00-section { padding: 22px 14px; }
.pg00-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}
.pg00-section-title i { color: var(--pg00-gold); font-size: 1.9rem; }
.pg00-section-title .pg00-more {
  margin-left: auto;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pg00-sky);
}

/* ---------- Hero / Carousel ---------- */
.pg00-hero { padding: 14px; }
.pg00-carousel {
  position: relative;
  border-radius: var(--pg00-radius);
  overflow: hidden;
  box-shadow: var(--pg00-shadow);
}
.pg00-slides { display: flex; transition: transform 0.45s ease; }
.pg00-slide {
  min-width: 100%;
  position: relative;
  padding: 26px 20px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pg00-slide-1 {
  background: linear-gradient(135deg, #2b0a1e 0%, var(--pg00-pink) 60%, var(--pg00-gold) 120%);
}
.pg00-slide-2 {
  background: linear-gradient(135deg, #0b1640 0%, var(--pg00-royal) 60%, var(--pg00-sky) 130%);
}
.pg00-slide-3 {
  background: linear-gradient(135deg, #2a1c08 0%, var(--pg00-gold) 55%, var(--pg00-pink) 120%);
}
.pg00-slide h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.pg00-slide p {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 14px;
  max-width: 90%;
}
.pg00-slide .pg00-btn {
  align-self: flex-start;
  background: #fff;
  color: var(--pg00-dark);
  padding: 10px 22px;
}
.pg00-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.pg00-carousel-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.2s ease;
}
.pg00-carousel-dots span.pg00-active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* ---------- Stats Strip ---------- */
.pg00-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 14px 18px;
}
.pg00-stat {
  background: var(--pg00-card);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  border: 1px solid var(--pg00-line);
}
.pg00-stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--pg00-gold);
  display: block;
}
.pg00-stat-label {
  font-size: 1.05rem;
  color: var(--pg00-muted);
  margin-top: 2px;
}

/* ---------- Category Chips ---------- */
.pg00-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 14px;
  scrollbar-width: none;
}
.pg00-chips::-webkit-scrollbar { display: none; }
.pg00-chip {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pg00-card);
  color: var(--pg00-text);
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px solid var(--pg00-line);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pg00-chip.pg00-active {
  background: linear-gradient(135deg, var(--pg00-pink), var(--pg00-royal));
  border-color: transparent;
  color: #fff;
}

/* ---------- Game Grid & Cards ---------- */
.pg00-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pg00-game-card {
  background: var(--pg00-card);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--pg00-line);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.pg00-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  border-color: rgba(173, 20, 87, 0.5);
}
.pg00-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0a0a0f;
}
.pg00-game-name {
  padding: 7px 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg00-game-play {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.pg00-game-card:hover .pg00-game-play { opacity: 1; }
.pg00-game-play span {
  background: linear-gradient(135deg, var(--pg00-pink), var(--pg00-gold));
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pg00-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--pg00-pink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  z-index: 2;
}
.pg00-badge.pg00-hot { background: linear-gradient(135deg, #ff512f, #dd2476); }
.pg00-badge.pg00-new { background: linear-gradient(135deg, var(--pg00-royal), var(--pg00-sky)); }

/* ---------- Featured Banner ---------- */
.pg00-feature {
  margin: 14px;
  border-radius: var(--pg00-radius);
  background: linear-gradient(135deg, #1b2540, #2b0a1e);
  padding: 18px;
  border: 1px solid var(--pg00-line);
  position: relative;
  overflow: hidden;
}
.pg00-feature::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--pg00-glow-2), transparent 70%);
}
.pg00-feature-tag {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pg00-gold);
  background: rgba(205, 133, 63, 0.15);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  position: relative;
}
.pg00-feature h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 6px;
  position: relative;
}
.pg00-feature p {
  font-size: 1.3rem;
  color: var(--pg00-muted);
  margin-bottom: 14px;
  position: relative;
}
.pg00-feature .pg00-btn { position: relative; }

/* ---------- Promo CTA Strip ---------- */
.pg00-cta-strip {
  margin: 14px;
  padding: 18px;
  border-radius: var(--pg00-radius);
  background: linear-gradient(135deg, var(--pg00-pink), var(--pg00-royal));
  text-align: center;
  box-shadow: 0 8px 22px rgba(65, 105, 225, 0.35);
}
.pg00-cta-strip h3 { font-size: 1.9rem; color: #fff; margin-bottom: 6px; }
.pg00-cta-strip p { font-size: 1.25rem; color: rgba(255, 255, 255, 0.92); margin-bottom: 14px; }
.pg00-cta-strip .pg00-btn {
  background: #fff;
  color: var(--pg00-dark);
  padding: 12px 28px;
  font-size: 1.4rem;
}

/* ---------- SEO Content ---------- */
.pg00-seo {
  padding: 22px 14px;
  background: var(--pg00-bg-2);
  margin-top: 14px;
  border-top: 1px solid var(--pg00-line);
}
.pg00-seo h2 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 4px solid var(--pg00-gold);
}
.pg00-seo h3 {
  font-size: 1.5rem;
  color: var(--pg00-sky);
  margin: 14px 0 6px;
}
.pg00-seo p {
  font-size: 1.3rem;
  color: var(--pg00-muted);
  margin-bottom: 10px;
}
.pg00-seo ul { padding-left: 18px; margin-bottom: 10px; }
.pg00-seo li { font-size: 1.3rem; color: var(--pg00-muted); margin-bottom: 5px; }
.pg00-seo a { color: var(--pg00-sky); text-decoration: underline; }
.pg00-seo a:hover { color: var(--pg00-gold); }

/* ---------- FAQ ---------- */
.pg00-faq-item {
  background: var(--pg00-card);
  border: 1px solid var(--pg00-line);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.pg00-faq-q {
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pg00-faq-q .pg00-icon { color: var(--pg00-gold); transition: transform 0.2s ease; }
.pg00-faq-item.pg00-open .pg00-faq-q .pg00-icon { transform: rotate(45deg); }
.pg00-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 14px;
  color: var(--pg00-muted);
  font-size: 1.25rem;
}
.pg00-faq-item.pg00-open .pg00-faq-a {
  max-height: 500px;
  padding: 0 14px 14px;
}

/* ---------- Footer ---------- */
.pg00-footer {
  background: #08080c;
  border-top: 1px solid var(--pg00-line);
  padding: 26px 14px 20px;
}
.pg00-footer-inner { max-width: 430px; margin: 0 auto; }
.pg00-footer h4 {
  font-size: 1.35rem;
  color: var(--pg00-sky);
  margin-bottom: 10px;
  margin-top: 14px;
}
.pg00-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.pg00-footer-links a {
  font-size: 1.2rem;
  color: var(--pg00-muted);
  padding: 4px 0;
}
.pg00-footer-links a:hover { color: var(--pg00-gold); }
.pg00-footer p {
  font-size: 1.15rem;
  color: var(--pg00-muted);
  margin-bottom: 8px;
}
.pg00-footer-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.pg00-footer-pay span {
  background: var(--pg00-card);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 1.1rem;
  color: var(--pg00-text);
  border: 1px solid var(--pg00-line);
}
.pg00-footer-bottom {
  text-align: center;
  font-size: 1.1rem;
  color: var(--pg00-muted);
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid var(--pg00-line);
}

/* ---------- Bottom Nav ---------- */
.pg00-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.96), rgba(8, 8, 12, 0.98));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--pg00-line);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 64px;
  padding: 0 4px;
}
.pg00-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--pg00-muted);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}
.pg00-nav-btn i { font-size: 22px; }
.pg00-nav-btn .material-icons-outlined,
.pg00-nav-btn .material-icons { font-size: 22px; }
.pg00-nav-btn:hover { color: var(--pg00-sky); transform: translateY(-2px); }
.pg00-nav-btn.pg00-active { color: var(--pg00-gold); }
.pg00-nav-btn-promo {
  position: relative;
}
.pg00-nav-btn-promo::before {
  content: "";
  position: absolute;
  top: -14px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg00-pink), var(--pg00-gold));
  box-shadow: 0 4px 12px var(--pg00-glow);
}
.pg00-nav-btn-promo i,
.pg00-nav-btn-promo .material-icons-outlined {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--pg00-pink), var(--pg00-gold));
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: -14px;
  border: 3px solid var(--pg00-bg);
}
.pg00-nav-btn-promo span { position: relative; margin-top: 2px; color: var(--pg00-gold); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .pg00-bottom-nav { display: none; }
  .pg00-main { max-width: 960px; padding-bottom: 30px; }
  .pg00-header-inner { max-width: 960px; }
  .pg00-game-grid { grid-template-columns: repeat(6, 1fr); }
  .pg00-footer-inner { max-width: 960px; }
}

/* Mobile padding clearance */
@media (max-width: 768px) {
  .pg00-main { padding-bottom: 90px; }
}
