/* ============================================================
 * vn69.homes - design-d7a4.css
 * All custom classes use the "pgd7-" prefix.
 * Mobile-first. Max width 430px. Colors: #1B263B / #F5DEB3.
 * ============================================================ */

:root {
  --pgd7-primary: #F5DEB3;      /* wheat - light text */
  --pgd7-bg: #1B263B;           /* dark navy - background */
  --pgd7-bg-2: #243349;
  --pgd7-bg-3: #0f1828;
  --pgd7-accent: #E0B67A;       /* warm gold accent */
  --pgd7-accent-2: #F4C77B;
  --pgd7-text: #F5DEB3;
  --pgd7-text-dim: #c9b896;
  --pgd7-text-muted: #93a3bd;
  --pgd7-border: rgba(245, 222, 179, 0.16);
  --pgd7-success: #6dc590;
  --pgd7-danger: #e07a7a;
  --pgd7-radius: 14px;
  --pgd7-radius-sm: 10px;
  --pgd7-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* Root font size 62.5% -> 1rem = 10px */
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: var(--pgd7-bg);
  color: var(--pgd7-text);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--pgd7-accent-2);
  text-decoration: none;
}

a:hover {
  color: var(--pgd7-primary);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--pgd7-primary);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.55rem; }

p { margin: 0 0 1.2rem; line-height: 1.55; }

/* ============================================================
   Layout - mobile first wrapper, strict max-width: 430px
   ============================================================ */
.pgd7-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.pgd7-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

main {
  padding-top: 6.4rem;
  padding-bottom: 2rem;
}

/* ============================================================
   Header
   ============================================================ */
.pgd7-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15, 24, 40, 0.96), rgba(27, 38, 59, 0.92));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pgd7-border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.pgd7-header-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.pgd7-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
}

.pgd7-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.pgd7-brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--pgd7-border);
}

.pgd7-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--pgd7-primary);
  white-space: nowrap;
}

.pgd7-brand-name span {
  color: var(--pgd7-accent-2);
}

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

.pgd7-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--pgd7-bg-2);
  border: 1px solid var(--pgd7-border);
  color: var(--pgd7-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
  transition: transform 0.18s ease, background 0.18s ease;
}

.pgd7-menu-btn:hover {
  transform: scale(1.06);
  background: var(--pgd7-bg-3);
}

/* ============================================================
   Buttons
   ============================================================ */
.pgd7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  touch-action: manipulation;
}

.pgd7-btn:active {
  transform: scale(0.96);
}

.pgd7-btn-primary {
  background: linear-gradient(135deg, var(--pgd7-accent-2), var(--pgd7-accent));
  color: #2a1d08;
  box-shadow: 0 4px 12px rgba(224, 182, 122, 0.35);
}

.pgd7-btn-primary:hover {
  text-decoration: none;
  color: #2a1d08;
  filter: brightness(1.05);
}

.pgd7-btn-ghost {
  background: transparent;
  color: var(--pgd7-text);
  border: 1px solid var(--pgd7-border);
}

.pgd7-btn-ghost:hover {
  background: rgba(245, 222, 179, 0.08);
  color: var(--pgd7-primary);
  text-decoration: none;
}

.pgd7-btn-sm {
  min-height: 34px;
  padding: 0 0.9rem;
  font-size: 1.3rem;
}

.pgd7-btn-block {
  display: flex;
  width: 100%;
}

/* ============================================================
   Expandable Nav Menu
   ============================================================ */
.pgd7-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
}

#pgd7NavMenu {
  position: absolute;
  top: 100%;
  right: 0.6rem;
  min-width: 230px;
  background: var(--pgd7-bg-3);
  border: 1px solid var(--pgd7-border);
  border-radius: 14px;
  box-shadow: var(--pgd7-shadow);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

#pgd7NavMenu.pgd7-nav-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#pgd7NavMenu a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 1.4rem;
  color: var(--pgd7-text);
  border-bottom: 1px solid rgba(245, 222, 179, 0.06);
}

#pgd7NavMenu a:last-child { border-bottom: none; }

#pgd7NavMenu a:hover {
  background: rgba(245, 222, 179, 0.07);
  color: var(--pgd7-accent-2);
  text-decoration: none;
}

.pgd7-nav-title {
  padding: 0.4rem 1rem 0.6rem;
  font-size: 1.2rem;
  color: var(--pgd7-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ============================================================
   Banner / Carousel
   ============================================================ */
.pgd7-banner {
  position: relative;
  width: 100%;
  border-radius: var(--pgd7-radius);
  overflow: hidden;
  box-shadow: var(--pgd7-shadow);
  margin-bottom: 1.6rem;
}

.pgd7-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.pgd7-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

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

.pgd7-slide-active {
  opacity: 1;
}

.pgd7-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(15, 24, 40, 0.85), rgba(15, 24, 40, 0));
  color: var(--pgd7-primary);
  font-size: 1.35rem;
  font-weight: 600;
}

.pgd7-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.pgd7-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 222, 179, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pgd7-dot-active {
  background: var(--pgd7-accent-2);
  transform: scale(1.2);
}

/* ============================================================
   Sections & Cards
   ============================================================ */
.pgd7-section {
  margin-bottom: 2rem;
}

.pgd7-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pgd7-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pgd7-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pgd7-section-title .material-icons {
  color: var(--pgd7-accent-2);
  font-size: 2rem;
}

.pgd7-card {
  background: var(--pgd7-bg-2);
  border: 1px solid var(--pgd7-border);
  border-radius: var(--pgd7-radius);
  padding: 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.pgd7-card p:last-child { margin-bottom: 0; }

/* ============================================================
   Game grid - compact icons
   ============================================================ */
.pgd7-cat-label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--pgd7-bg);
  background: var(--pgd7-accent-2);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  margin: 1.4rem 0 0.8rem;
}

.pgd7-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.pgd7-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--pgd7-bg-2);
  border: 1px solid var(--pgd7-border);
  border-radius: var(--pgd7-radius-sm);
  padding: 0.55rem 0.4rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pgd7-game:hover {
  transform: translateY(-2px);
  border-color: var(--pgd7-accent);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.pgd7-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.pgd7-game-name {
  font-size: 1.15rem;
  color: var(--pgd7-text);
  line-height: 1.25;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   Features / Lists / RTP
   ============================================================ */
.pgd7-features {
  display: grid;
  gap: 0.8rem;
}

.pgd7-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--pgd7-bg-2);
  border: 1px solid var(--pgd7-border);
  border-radius: var(--pgd7-radius-sm);
  padding: 0.9rem 1rem;
}

.pgd7-feature .material-icons,
.pgd7-feature i {
  color: var(--pgd7-accent-2);
  font-size: 2.2rem;
  flex-shrink: 0;
}

.pgd7-feature h4 { margin-bottom: 0.3rem; font-size: 1.4rem; }
.pgd7-feature p { margin: 0; font-size: 1.3rem; color: var(--pgd7-text-dim); }

.pgd7-rtp-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(245, 222, 179, 0.08);
  font-size: 1.25rem;
}

.pgd7-rtp-row:last-child { border-bottom: none; }

.pgd7-rtp-head {
  color: var(--pgd7-text-muted);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pgd7-rtp-val { color: var(--pgd7-success); font-weight: 700; }

.pgd7-list {
  margin: 0;
  padding-left: 1.6rem;
}

.pgd7-list li { margin-bottom: 0.6rem; line-height: 1.5; }

.pgd7-step {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.pgd7-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pgd7-accent-2);
  color: var(--pgd7-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
}

/* Testimonials */
.pgd7-testimonial {
  background: var(--pgd7-bg-2);
  border: 1px solid var(--pgd7-border);
  border-radius: var(--pgd7-radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
}

.pgd7-testimonial-stars { color: var(--pgd7-accent-2); font-size: 1.2rem; margin-bottom: 0.3rem; }
.pgd7-testimonial p { margin: 0 0 0.4rem; font-size: 1.3rem; }
.pgd7-testimonial-author { font-size: 1.15rem; color: var(--pgd7-text-muted); }

/* Winners */
.pgd7-winner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(245, 222, 179, 0.06);
  font-size: 1.25rem;
}
.pgd7-winner:last-child { border-bottom: none; }
.pgd7-winner-amount { color: var(--pgd7-success); font-weight: 700; }

/* Payment */
.pgd7-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.pgd7-pay {
  background: var(--pgd7-bg-2);
  border: 1px solid var(--pgd7-border);
  border-radius: 8px;
  padding: 0.6rem 0.3rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--pgd7-text-dim);
}

.pgd7-pay i, .pgd7-pay .material-icons { font-size: 1.8rem; color: var(--pgd7-accent-2); }

/* CTA Block */
.pgd7-cta {
  background: linear-gradient(135deg, var(--pgd7-bg-3), var(--pgd7-bg-2));
  border: 1px solid var(--pgd7-accent);
  border-radius: var(--pgd7-radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  margin-bottom: 1.6rem;
}

.pgd7-cta h2 { color: var(--pgd7-accent-2); margin-bottom: 0.6rem; }
.pgd7-cta p { color: var(--pgd7-text-dim); margin-bottom: 1.2rem; }

/* Inline promo link styling */
.pgd7-promo-link {
  color: var(--pgd7-accent-2);
  font-weight: 700;
  cursor: pointer;
}
.pgd7-promo-link:hover { text-decoration: underline; color: var(--pgd7-primary); }

/* ============================================================
   Footer
   ============================================================ */
.pgd7-footer {
  background: var(--pgd7-bg-3);
  border-top: 1px solid var(--pgd7-border);
  padding: 2rem 1.4rem 7rem;
  margin-top: 2rem;
}

.pgd7-footer-inner {
  max-width: 430px;
  margin: 0 auto;
}

.pgd7-footer-about {
  font-size: 1.3rem;
  color: var(--pgd7-text-dim);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.pgd7-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.pgd7-footer-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--pgd7-bg-2);
  border: 1px solid var(--pgd7-border);
  border-radius: 999px;
  font-size: 1.2rem;
  color: var(--pgd7-text);
  cursor: pointer;
}
.pgd7-footer-link:hover { background: rgba(245, 222, 179, 0.08); color: var(--pgd7-accent-2); text-decoration: none; }

.pgd7-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.pgd7-footer-col h4 {
  font-size: 1.25rem;
  color: var(--pgd7-accent-2);
  margin-bottom: 0.6rem;
}

.pgd7-footer-col a {
  display: block;
  font-size: 1.2rem;
  color: var(--pgd7-text-dim);
  padding: 0.25rem 0;
}
.pgd7-footer-col a:hover { color: var(--pgd7-primary); }

.pgd7-footer-copy {
  text-align: center;
  font-size: 1.15rem;
  color: var(--pgd7-text-muted);
  border-top: 1px solid var(--pgd7-border);
  padding-top: 1rem;
}

/* ============================================================
   Mobile bottom navigation (fixed)
   ============================================================ */
.pgd7-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--pgd7-bg-2), var(--pgd7-bg-3));
  border-top: 1px solid var(--pgd7-border);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
}

.pgd7-bottombtn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--pgd7-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.3rem;
  cursor: pointer;
  transition: color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
}

.pgd7-bottombtn i,
.pgd7-bottombtn .material-icons {
  font-size: 22px;
}

.pgd7-bottombtn span {
  font-size: 1.05rem;
  line-height: 1;
}

.pgd7-bottombtn:hover {
  color: var(--pgd7-primary);
  text-decoration: none;
  transform: translateY(-1px);
}

.pgd7-bottombtn:active { transform: scale(0.92); }

.pgd7-bottombtn-active {
  color: var(--pgd7-accent-2);
}

.pgd7-bottombtn-promo {
  color: var(--pgd7-accent-2);
}

/* ============================================================
   Responsive - desktop hides bottom nav
   ============================================================ */
@media (min-width: 769px) {
  .pgd7-bottomnav { display: none; }
  body { background: var(--pgd7-bg-3); }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

@media (max-width: 360px) {
  .pgd7-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 1.9rem; }
}
