/* =========================================================
 * King Laro - style.css
 * Mobile-first casino style sheet (max-width: 430px)
 * Class prefix: pgd2-
 * Palette: #008000 | #32CD32 | #2E8B57 | #1E1E1E
 * =======================================================*/

:root {
  --pgd2-primary: #008000;
  --pgd2-accent: #32CD32;
  --pgd2-sea: #2E8B57;
  --pgd2-bg: #1E1E1E;
  --pgd2-bg-2: #14241a;
  --pgd2-bg-3: #0f1f15;
  --pgd2-text: #f4fff6;
  --pgd2-muted: #b9d3bf;
  --pgd2-gold: #ffd24a;
  --pgd2-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  --pgd2-radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--pgd2-bg);
  color: var(--pgd2-text);
  line-height: 1.5;
  font-size: 14px;
  overflow-x: hidden;
}

a { color: var(--pgd2-accent); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; font-weight: 700; }

/* Mobile-first wrapper - literal 430px max width */
.pgd2-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--pgd2-bg);
}

.pgd2-container {
  width: 100%;
  padding: 0 12px;
}

.pgd2-hidden { display: none !important; }
.pgd2-noscroll { overflow: hidden; }

/* ---------- Header ---------- */
.pgd2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--pgd2-bg-3), var(--pgd2-sea));
  border-bottom: 1px solid rgba(50, 205, 50, 0.25);
  box-shadow: var(--pgd2-shadow);
}

.pgd2-header-row {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

.pgd2-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.pgd2-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--pgd2-accent);
}

.pgd2-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--pgd2-accent);
  letter-spacing: .5px;
}

.pgd2-brand-name span { color: var(--pgd2-gold); }

.pgd2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
  color: #0c1f10;
}

.pgd2-btn:active { transform: scale(.96); }

.pgd2-btn-register {
  background: linear-gradient(135deg, var(--pgd2-gold), #ff9d2e);
  color: #1a1a1a;
  box-shadow: 0 4px 10px rgba(255, 210, 74, .35);
}

.pgd2-btn-login {
  background: transparent;
  color: var(--pgd2-accent);
  border: 1.5px solid var(--pgd2-accent);
}

.pgd2-menu-toggle {
  background: transparent;
  border: 0;
  color: var(--pgd2-text);
  font-size: 22px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

/* ---------- Mobile menu panel ---------- */
.pgd2-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 18, 12, .96);
  z-index: 9999;
  padding: 60px 18px 30px;
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
}

.pgd2-mobile-menu.pgd2-menu-open { transform: translateX(0); }

.pgd2-menu-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.pgd2-mobile-menu a {
  display: block;
  padding: 14px 12px;
  color: var(--pgd2-text);
  border-bottom: 1px solid rgba(50, 205, 50, .18);
  font-size: 15px;
}

.pgd2-mobile-menu a:hover, .pgd2-mobile-menu a:focus { background: rgba(50, 205, 50, .08); }

.pgd2-menu-cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.pgd2-menu-cta .pgd2-btn { flex: 1; }

/* ---------- Hero carousel ---------- */
.pgd2-hero {
  position: relative;
  margin: 10px 0 4px;
  border-radius: var(--pgd2-radius);
  overflow: hidden;
  background: var(--pgd2-bg-2);
  box-shadow: var(--pgd2-shadow);
}

.pgd2-hero-track { position: relative; height: 190px; }

.pgd2-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  cursor: pointer;
}

.pgd2-hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.pgd2-hero-slide.pgd2-slide-active { opacity: 1; }

.pgd2-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent);
  color: #fff;
  font-weight: 700;
}

.pgd2-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.pgd2-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}

.pgd2-hero-dot.pgd2-dot-active { background: var(--pgd2-accent); }

/* ---------- Section title ---------- */
.pgd2-section {
  padding: 16px 0 4px;
}

.pgd2-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 12px;
}

.pgd2-section-title h2 {
  font-size: 17px;
  color: var(--pgd2-text);
}

.pgd2-section-title h2 i { color: var(--pgd2-accent); margin-right: 6px; }

.pgd2-section-link { font-size: 12px; color: var(--pgd2-accent); font-weight: 600; }

/* ---------- Game grid ---------- */
.pgd2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 12px;
}

.pgd2-game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--pgd2-bg-2);
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  text-align: center;
  padding-bottom: 6px;
}

.pgd2-game-card:active { transform: scale(.96); }

.pgd2-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(135deg, #14351c, #1f4d2a);
}

.pgd2-game-name {
  font-size: 11px;
  color: var(--pgd2-text);
  padding: 4px 4px 6px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pgd2-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--pgd2-gold);
  color: #1a1a1a;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 700;
}

.pgd2-badge-hot { background: linear-gradient(135deg, #ff5e62, #ff9966); color: #fff; }

/* ---------- Cards / panels ---------- */
.pgd2-card {
  background: var(--pgd2-bg-2);
  border-radius: var(--pgd2-radius);
  padding: 14px;
  margin: 8px 12px;
  box-shadow: var(--pgd2-shadow);
  border: 1px solid rgba(50, 205, 50, .12);
}

.pgd2-card h3 { color: var(--pgd2-accent); font-size: 15px; }

.pgd2-card p { color: var(--pgd2-muted); font-size: 13px; margin: 0 0 8px; }

.pgd2-card ul { margin: 0; padding-left: 18px; color: var(--pgd2-muted); font-size: 13px; }
.pgd2-card li { margin-bottom: 6px; }

/* ---------- Buttons (CTA) ---------- */
.pgd2-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px;
}

.pgd2-cta-row {
  display: flex;
  gap: 10px;
  margin: 12px;
}

.pgd2-btn-block {
  flex: 1;
  min-height: 46px;
  border-radius: 26px;
  font-size: 15px;
}

.pgd2-btn-primary {
  background: linear-gradient(135deg, var(--pgd2-primary), var(--pgd2-accent));
  color: #06160a;
  box-shadow: 0 6px 14px rgba(50, 205, 50, .35);
}

.pgd2-btn-gold {
  background: linear-gradient(135deg, var(--pgd2-gold), #ff9d2e);
  color: #1a1a1a;
}

.pgd2-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--pgd2-accent);
  color: var(--pgd2-accent);
}

.pgd2-text-link {
  color: var(--pgd2-accent);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Hero text / paragraphs ---------- */
.pgd2-lead {
  padding: 8px 12px 4px;
  color: var(--pgd2-muted);
  font-size: 13.5px;
}

.pgd2-h1 {
  padding: 4px 12px;
  font-size: 20px;
  color: var(--pgd2-text);
}

.pgd2-h1 b { color: var(--pgd2-accent); }

/* ---------- Features list ---------- */
.pgd2-feature-list {
  display: grid;
  gap: 8px;
  padding: 0 12px;
}

.pgd2-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pgd2-bg-2);
  padding: 10px;
  border-radius: 12px;
  border-left: 4px solid var(--pgd2-accent);
}

.pgd2-feature .material-icons,
.pgd2-feature i { color: var(--pgd2-accent); font-size: 22px; }

.pgd2-feature-title { font-weight: 700; font-size: 14px; color: var(--pgd2-text); }
.pgd2-feature-desc { font-size: 12px; color: var(--pgd2-muted); }

/* ---------- FAQ ---------- */
.pgd2-faq { padding: 0 12px; }

.pgd2-faq-item {
  background: var(--pgd2-bg-2);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}

.pgd2-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  font-weight: 700;
  color: var(--pgd2-text);
  cursor: pointer;
  font-size: 14px;
}

.pgd2-faq-q i { color: var(--pgd2-accent); }

.pgd2-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  color: var(--pgd2-muted);
  font-size: 13px;
  transition: max-height .25s ease, padding .25s ease;
}

.pgd2-faq-item.pgd2-faq-open .pgd2-faq-a {
  max-height: 320px;
  padding: 0 12px 12px;
}

/* ---------- RTP table ---------- */
.pgd2-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin: 6px 0;
}

.pgd2-table th, .pgd2-table td {
  border: 1px solid rgba(50, 205, 50, .15);
  padding: 8px 6px;
  text-align: left;
}

.pgd2-table th { background: var(--pgd2-bg-3); color: var(--pgd2-accent); }
.pgd2-table td { color: var(--pgd2-muted); }
.pgd2-table td b { color: var(--pgd2-gold); }

/* ---------- Testimonials ---------- */
.pgd2-testi-grid {
  display: grid;
  gap: 8px;
  padding: 0 12px;
}

.pgd2-testi {
  background: var(--pgd2-bg-2);
  border-radius: 12px;
  padding: 10px 12px;
  border-left: 4px solid var(--pgd2-gold);
}

.pgd2-testi-name { font-weight: 700; color: var(--pgd2-accent); font-size: 13px; }
.pgd2-testi-stars { color: var(--pgd2-gold); font-size: 12px; margin: 2px 0; }
.pgd2-testi-text { color: var(--pgd2-muted); font-size: 12.5px; }

/* ---------- Payment icons ---------- */
.pgd2-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px;
}

.pgd2-pay {
  flex: 1 1 28%;
  background: var(--pgd2-bg-2);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--pgd2-text);
  border: 1px solid rgba(50, 205, 50, .12);
}

.pgd2-pay i { font-size: 22px; color: var(--pgd2-accent); }

/* ---------- Winners strip ---------- */
.pgd2-winner-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 12px 8px;
  scroll-snap-type: x mandatory;
}

.pgd2-winner {
  flex: 0 0 140px;
  background: var(--pgd2-bg-2);
  padding: 8px 10px;
  border-radius: 10px;
  scroll-snap-align: start;
  border-left: 3px solid var(--pgd2-accent);
}

.pgd2-winner-name { font-weight: 700; color: var(--pgd2-accent); font-size: 13px; }
.pgd2-winner-game { color: var(--pgd2-muted); font-size: 11.5px; }
.pgd2-winner-amount { color: var(--pgd2-gold); font-weight: 800; font-size: 14px; }

/* ---------- Footer ---------- */
.pgd2-footer {
  background: var(--pgd2-bg-3);
  border-top: 1px solid rgba(50, 205, 50, .18);
  padding: 18px 12px 24px;
  margin-top: 14px;
}

.pgd2-footer-brand { color: var(--pgd2-text); font-weight: 700; margin-bottom: 6px; }

.pgd2-footer p {
  color: var(--pgd2-muted);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.pgd2-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  margin: 10px 0 14px;
}

.pgd2-footer-links a {
  color: var(--pgd2-muted);
  font-size: 12px;
}

.pgd2-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

.pgd2-footer-copy {
  text-align: center;
  font-size: 11.5px;
  color: var(--pgd2-muted);
  border-top: 1px solid rgba(50, 205, 50, .12);
  padding-top: 10px;
}

/* ---------- Bottom navigation ---------- */
.pgd2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, var(--pgd2-sea), var(--pgd2-bg-3));
  border-top: 1px solid rgba(50, 205, 50, .35);
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .45);
}

.pgd2-bottom-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--pgd2-text);
  cursor: pointer;
  gap: 2px;
  position: relative;
  transition: color .15s, transform .15s;
}

.pgd2-bottom-nav-btn i,
.pgd2-bottom-nav-btn .material-icons { font-size: 24px; }

.pgd2-bottom-nav-btn span { font-size: 11px; color: var(--pgd2-muted); }

.pgd2-bottom-nav-btn:active { transform: scale(.9); }

.pgd2-bottom-nav-btn.pgd2-nav-current i,
.pgd2-bottom-nav-btn.pgd2-nav-current span { color: var(--pgd2-gold); }

.pgd2-bottom-nav-btn.pgd2-nav-center i {
  background: linear-gradient(135deg, var(--pgd2-gold), #ff9d2e);
  color: #1a1a1a;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 210, 74, .4);
  margin-top: -16px;
}

/* Mobile main padding for bottom nav clearance */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Desktop: hide bottom nav, widen wrapper */
@media (min-width: 769px) {
  .pgd2-bottom-nav { display: none; }
  .pgd2-wrapper { max-width: 430px; }
  .pgd2-desktop-hide { display: none; }
}

/* Misc utilities */
.pgd2-tag {
  display: inline-block;
  background: rgba(50, 205, 50, .15);
  color: var(--pgd2-accent);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 4px;
}

.pgd2-mb-8 { margin-bottom: 8px; }
.pgd2-center { text-align: center; }
.pgd2-divider {
  height: 1px;
  background: rgba(50, 205, 50, .18);
  margin: 14px 12px;
}
