/* Online casino - Core stylesheet
   All custom class names use the pgdc- prefix for namespace isolation.
   Color palette: #DA70D6 | #8470FF | #E91E63 | #0F0F23 | #4B0082
   Dark colors for backgrounds, light colors for text. Mobile-first. */

:root {
  --pgdc-primary: #DA70D6;
  --pgdc-secondary: #8470FF;
  --pgdc-accent: #E91E63;
  --pgdc-bg: #0F0F23;
  --pgdc-bg-deep: #07071a;
  --pgdc-panel: #4B0082;
  --pgdc-text: #FFFFFF;
  --pgdc-text-muted: #c9c3e6;
  --pgdc-gold: #FFD56b;
  --pgdc-radius: 14px;
  --pgdc-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --pgdc-header-h: 58px;
  --pgdc-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: "Be Vietnam Pro", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 0%, rgba(75, 0, 130, 0.55), transparent 55%),
              radial-gradient(circle at 80% 10%, rgba(132, 112, 255, 0.35), transparent 50%),
              var(--pgdc-bg);
  color: var(--pgdc-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.pgdc-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pgdc-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ============ Header ============ */
.pgdc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pgdc-header-h);
  background: linear-gradient(90deg, rgba(15,15,35,0.96), rgba(75,0,130,0.96));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(218, 170, 214, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.pgdc-header .pgdc-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  max-width: 430px;
}
.pgdc-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--pgdc-text);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.3px;
}
.pgdc-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pgdc-logo span.pgdc-logo-grad {
  background: linear-gradient(90deg, var(--pgdc-primary), var(--pgdc-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pgdc-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pgdc-menu-btn {
  background: transparent;
  border: 1px solid rgba(218, 170, 214, 0.35);
  color: var(--pgdc-text);
  width: 40px; height: 40px;
  border-radius: 10px;
  font-size: 2rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.pgdc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 22px;
  padding: 0.7rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pgdc-btn:active { transform: scale(0.96); }
.pgdc-btn-login {
  background: rgba(255,255,255,0.08);
  color: var(--pgdc-text);
  border: 1px solid rgba(218, 170, 214, 0.5);
}
.pgdc-btn-register {
  background: linear-gradient(90deg, var(--pgdc-accent), var(--pgdc-primary));
  color: #fff;
  box-shadow: 0 4px 14px rgba(233, 30, 99, 0.4);
}

/* ============ Mobile dropdown menu ============ */
.pgdc-mobile-menu {
  position: fixed;
  top: var(--pgdc-header-h);
  left: 0; right: 0;
  background: rgba(7, 7, 26, 0.98);
  border-bottom: 1px solid rgba(218, 170, 214, 0.25);
  padding: 1rem 1.2rem 1.4rem;
  transform: translateY(-130%);
  transition: transform 0.28s ease;
  z-index: 9999;
  max-height: 70vh;
  overflow-y: auto;
}
.pgdc-mobile-menu.pgdc-menu-visible { transform: translateY(0); }
.pgdc-mobile-menu h4 {
  margin: 1rem 0 0.5rem;
  color: var(--pgdc-primary);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pgdc-mobile-menu a {
  display: block;
  padding: 0.8rem 0.6rem;
  color: var(--pgdc-text);
  border-bottom: 1px dashed rgba(218, 170, 214, 0.18);
  font-size: 1.35rem;
}
.pgdc-mobile-menu a:active { background: rgba(132, 112, 255, 0.18); }

/* ============ Main ============ */
.pgdc-main { padding-top: calc(var(--pgdc-header-h) + 0.8rem); }
@media (max-width: 768px) {
  .pgdc-main { padding-bottom: calc(var(--pgdc-bottomnav-h) + 1.2rem); }
}

/* ============ Carousel ============ */
.pgdc-carousel {
  position: relative;
  border-radius: var(--pgdc-radius);
  overflow: hidden;
  margin: 1rem 0 1.4rem;
  box-shadow: var(--pgdc-shadow);
}
.pgdc-carousel-track { position: relative; height: 180px; }
.pgdc-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.pgdc-carousel-slide.pgdc-slide-active { opacity: 1; }
.pgdc-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pgdc-carousel-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(7,7,26,0.85), transparent);
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem;
}
.pgdc-carousel-overlay h2 {
  margin: 0;
  font-size: 1.6rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.pgdc-carousel-overlay .pgdc-btn { font-size: 1.2rem; padding: 0.5rem 1rem; }
.pgdc-carousel-dots {
  position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.4rem;
}
.pgdc-carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; padding: 0; cursor: pointer;
}
.pgdc-carousel-dot.pgdc-dot-active { background: var(--pgdc-gold); width: 18px; border-radius: 4px; }

/* ============ Section headings ============ */
.pgdc-section { margin: 1.8rem 0; }
.pgdc-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.7rem; font-weight: 800;
  margin: 0 0 1rem;
  color: #fff;
}
.pgdc-section-title i { color: var(--pgdc-primary); font-size: 2rem; }
.pgdc-section-title .pgdc-more {
  margin-left: auto;
  font-size: 1.2rem; font-weight: 600;
  color: var(--pgdc-gold);
}

/* ============ Filter chips ============ */
.pgdc-filter-bar {
  display: flex; gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 0.8rem;
  -webkit-overflow-scrolling: touch;
}
.pgdc-filter-bar::-webkit-scrollbar { display: none; }
.pgdc-filter-chip {
  flex: 0 0 auto;
  padding: 0.55rem 1.1rem;
  border-radius: 20px;
  background: rgba(132, 112, 255, 0.15);
  color: var(--pgdc-text-muted);
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px solid rgba(132, 112, 255, 0.35);
  cursor: pointer;
  white-space: nowrap;
}
.pgdc-filter-chip.pgdc-chip-active {
  background: linear-gradient(90deg, var(--pgdc-accent), var(--pgdc-primary));
  color: #fff; border-color: transparent;
}

/* ============ Game grid ============ */
.pgdc-game-section { margin: 1.4rem 0; }
.pgdc-game-section h3 {
  font-size: 1.4rem; color: var(--pgdc-primary);
  margin: 0 0 0.7rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.pgdc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.pgdc-card {
  background: linear-gradient(160deg, rgba(75,0,130,0.55), rgba(15,15,35,0.65));
  border: 1px solid rgba(218, 170, 214, 0.18);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.pgdc-card:active { transform: scale(0.95); border-color: var(--pgdc-gold); }
.pgdc-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pgdc-card .pgdc-card-name {
  padding: 0.4rem 0.5rem 0.6rem;
  font-size: 1.1rem;
  color: #fff;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(7,7,26,0.6);
}
.pgdc-card-badge {
  position: absolute; top: 4px; left: 4px;
  background: var(--pgdc-accent);
  color: #fff; font-size: 0.9rem; font-weight: 700;
  padding: 0.1rem 0.4rem; border-radius: 6px;
}

/* ============ Info blocks ============ */
.pgdc-panel {
  background: linear-gradient(160deg, rgba(75,0,130,0.35), rgba(15,15,35,0.6));
  border: 1px solid rgba(218, 170, 214, 0.2);
  border-radius: var(--pgdc-radius);
  padding: 1.4rem;
  margin: 1rem 0;
}
.pgdc-panel h2 { font-size: 1.7rem; margin: 0 0 0.6rem; color: #fff; }
.pgdc-panel h3 { font-size: 1.4rem; margin: 1rem 0 0.4rem; color: var(--pgdc-primary); }
.pgdc-panel p { color: var(--pgdc-text-muted); margin: 0 0 0.7rem; font-size: 1.35rem; line-height: 1.6; }
.pgdc-panel ul { padding-left: 1.2rem; color: var(--pgdc-text-muted); font-size: 1.3rem; line-height: 1.7; }
.pgdc-panel ul li { margin-bottom: 0.3rem; }
.pgdc-panel strong { color: var(--pgdc-gold); }

.pgdc-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}
.pgdc-feature {
  background: rgba(132, 112, 255, 0.12);
  border: 1px solid rgba(132, 112, 255, 0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.pgdc-feature i { font-size: 2.6rem; color: var(--pgdc-primary); margin-bottom: 0.4rem; }
.pgdc-feature h4 { margin: 0 0 0.3rem; font-size: 1.3rem; color: #fff; }
.pgdc-feature p { margin: 0; font-size: 1.15rem; color: var(--pgdc-text-muted); line-height: 1.4; }

/* ============ Testimonials ============ */
.pgdc-testimonial {
  background: rgba(7,7,26,0.5);
  border-left: 3px solid var(--pgdc-gold);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 0.7rem 0;
}
.pgdc-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; color: #fff; font-style: italic; }
.pgdc-testimonial .pgdc-author { font-size: 1.15rem; color: var(--pgdc-primary); font-weight: 700; }

/* ============ Winners ============ */
.pgdc-winner-row {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  background: rgba(132, 112, 255, 0.1);
  border-radius: 10px;
  margin: 0.5rem 0;
}
.pgdc-winner-row img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.pgdc-winner-row .pgdc-winner-name { font-size: 1.25rem; color: #fff; font-weight: 700; }
.pgdc-winner-row .pgdc-winner-game { font-size: 1.1rem; color: var(--pgdc-text-muted); }
.pgdc-winner-row .pgdc-winner-amount { margin-left: auto; color: var(--pgdc-gold); font-weight: 800; font-size: 1.3rem; }

/* ============ Payment methods ============ */
.pgdc-pay-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.pgdc-pay-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(218,170,214,0.25);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem; font-weight: 600;
  color: var(--pgdc-text);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ============ App CTA ============ */
.pgdc-app-cta {
  background: linear-gradient(120deg, rgba(233,30,99,0.3), rgba(132,112,255,0.3));
  border: 1px solid rgba(218,170,214,0.3);
  border-radius: var(--pgdc-radius);
  padding: 1.4rem;
  text-align: center;
  margin: 1rem 0;
}
.pgdc-app-cta h3 { margin: 0 0 0.4rem; color: #fff; font-size: 1.6rem; }
.pgdc-app-cta p { margin: 0 0 1rem; color: var(--pgdc-text-muted); font-size: 1.3rem; }
.pgdc-app-cta .pgdc-btn { padding: 0.8rem 1.8rem; font-size: 1.35rem; }

/* ============ FAQ ============ */
.pgdc-faq-item {
  background: rgba(7,7,26,0.55);
  border: 1px solid rgba(218,170,214,0.2);
  border-radius: 10px;
  margin: 0.6rem 0;
  overflow: hidden;
}
.pgdc-faq-toggle {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 1rem 1.1rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.pgdc-faq-toggle .pgdc-faq-icon { color: var(--pgdc-primary); transition: transform 0.2s ease; }
.pgdc-faq-item .pgdc-faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.1rem;
  color: var(--pgdc-text-muted);
  font-size: 1.25rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.pgdc-faq-item.pgdc-faq-open .pgdc-faq-answer { max-height: 320px; padding: 0 1.1rem 1rem; }
.pgdc-faq-item.pgdc-faq-open .pgdc-faq-icon { transform: rotate(45deg); }

/* ============ Promo link text ============ */
.pgdc-promo-link {
  color: var(--pgdc-gold);
  font-weight: 700;
  cursor: pointer;
}
.pgdc-promo-link:hover { color: var(--pgdc-primary); text-decoration: underline; }

/* ============ Footer ============ */
.pgdc-footer {
  background: linear-gradient(180deg, rgba(15,15,35,0.9), rgba(7,7,26,0.98));
  border-top: 1px solid rgba(218,170,214,0.25);
  padding: 1.6rem 0 1.4rem;
  margin-top: 2rem;
}
.pgdc-footer .pgdc-footer-brand {
  font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 0.6rem;
}
.pgdc-footer p.pgdc-footer-desc {
  color: var(--pgdc-text-muted); font-size: 1.2rem; line-height: 1.6; margin: 0 0 1rem;
}
.pgdc-footer-nav {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem; margin: 0.8rem 0 1rem;
}
.pgdc-footer-nav a {
  color: var(--pgdc-text-muted);
  font-size: 1.2rem;
  padding: 0.4rem 0;
}
.pgdc-footer-nav a:hover { color: var(--pgdc-gold); }
.pgdc-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0;
}
.pgdc-footer-promos .pgdc-btn { font-size: 1.15rem; padding: 0.55rem 0.9rem; }
.pgdc-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--pgdc-text-muted);
  border-top: 1px dashed rgba(218,170,214,0.18);
  padding-top: 1rem; margin-top: 1rem;
}

/* ============ Bottom navigation ============ */
.pgdc-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--pgdc-bottomnav-h);
  background: linear-gradient(90deg, rgba(7,7,26,0.98), rgba(75,0,130,0.98));
  border-top: 1px solid rgba(218,170,214,0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.45);
}
.pgdc-bottomnav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pgdc-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
}
.pgdc-bottomnav-item i, .pgdc-bottomnav-item .material-icons-outlined,
.pgdc-bottomnav-item .ion { font-size: 22px; line-height: 1; }
.pgdc-bottomnav-item:active { transform: scale(0.9); }
.pgdc-bottomnav-item.pgdc-nav-active { color: var(--pgdc-gold); }
.pgdc-bottomnav-item.pgdc-nav-active::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; border-radius: 0 0 4px 4px;
  background: var(--pgdc-gold);
}
.pgdc-bottomnav-item .pgdc-nav-badge {
  position: absolute; top: 6px; right: 14px;
  background: var(--pgdc-accent);
  color: #fff; font-size: 0.85rem; font-weight: 700;
  padding: 0 0.3rem; border-radius: 8px; min-width: 16px; text-align: center;
}
.pgdc-bottomnav-item:hover { color: var(--pgdc-primary); }

@media (min-width: 769px) {
  .pgdc-bottomnav { display: none; }
  .pgdc-container, .pgdc-header .pgdc-container, .pgdc-wrapper { max-width: 960px; }
  .pgdc-grid { grid-template-columns: repeat(6, 1fr); }
  .pgdc-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .pgdc-footer-nav { grid-template-columns: repeat(4, 1fr); }
  .pgdc-carousel-track { height: 320px; }
}
