/* phttt.homes - design.css
   All custom classes use the pg69- prefix.
   Palette: #333333 / #6A5ACD / #808080 / #DDA0DD / #A0522D / #A9A9A9
   Mobile-first, max-width 430px. Comments in English only. */

:root {
  --pg69-bg: #333333;
  --pg69-bg-soft: #3f3f3f;
  --pg69-primary: #6A5ACD;
  --pg69-primary-dark: #5749b0;
  --pg69-accent: #DDA0DD;
  --pg69-warm: #A0522D;
  --pg69-text: #f2f2f2;
  --pg69-text-muted: #A9A9A9;
  --pg69-gray: #808080;
  --pg69-card: #2a2a2a;
  --pg69-border: #4a4a4a;
  --pg69-radius: 12px;
  --pg69-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

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

html { font-size: 62.5%; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--pg69-bg);
  color: var(--pg69-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--pg69-accent); text-decoration: none; }
a:hover { color: #fff; }

.pg69-wrapper {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--pg69-bg);
}

/* ===== Header ===== */
.pg69-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 56px;
  background: linear-gradient(90deg, #2a2a2a, #1f1f1f);
  border-bottom: 2px solid var(--pg69-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  box-shadow: var(--pg69-shadow);
}

.pg69-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pg69-brand img { width: 28px; height: 28px; border-radius: 6px; }
.pg69-brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--pg69-accent);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pg69-header-actions { display: flex; align-items: center; gap: 6px; }

.pg69-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
  text-decoration: none;
}
.pg69-btn:hover { transform: translateY(-1px); }
.pg69-btn:active { transform: scale(.96); }

.pg69-btn-register {
  background: linear-gradient(90deg, var(--pg69-primary), var(--pg69-primary-dark));
  color: #fff;
}
.pg69-btn-login {
  background: transparent;
  color: var(--pg69-text);
  border: 1px solid var(--pg69-gray);
}

.pg69-menu-toggle {
  background: transparent;
  border: none;
  color: var(--pg69-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px 6px;
}

/* ===== Mobile menu ===== */
.pg69-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: #262626;
  border-bottom: 1px solid var(--pg69-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  z-index: 9999;
}
.pg69-mobile-menu.pg69-menu-open { max-height: 480px; }
.pg69-mobile-menu ul { list-style: none; }
.pg69-mobile-menu li { border-bottom: 1px solid #3a3a3a; }
.pg69-mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--pg69-text);
  font-size: 1.3rem;
}
.pg69-mobile-menu a:hover { background: #333; color: var(--pg69-accent); }

/* ===== Main ===== */
.pg69-main {
  padding-top: 56px;
  padding-bottom: 16px;
}

/* ===== Carousel ===== */
.pg69-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 0 0 var(--pg69-radius) var(--pg69-radius);
}
.pg69-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.pg69-slide.pg69-slide-active { opacity: 1; }
.pg69-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg69-slide-overlay {
  position: absolute;
  left: 12px; bottom: 12px;
  background: rgba(0,0,0,0.55);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.pg69-dots {
  position: absolute;
  bottom: 8px; right: 12px;
  display: flex; gap: 6px;
}
.pg69-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.pg69-dot.pg69-dot-active { background: var(--pg69-accent); }

/* ===== Sections ===== */
.pg69-section {
  padding: 18px 14px 6px;
}
.pg69-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--pg69-accent);
  margin-bottom: 10px;
  border-left: 4px solid var(--pg69-primary);
  padding-left: 8px;
}
.pg69-section-title h1,
.pg69-section-title h2 { font-size: inherit; color: inherit; }
.pg69-lead {
  font-size: 1.35rem;
  color: var(--pg69-text-muted);
  margin-bottom: 10px;
}
.pg69-text { font-size: 1.3rem; color: #dcdcdc; margin-bottom: 8px; }
.pg69-text strong { color: var(--pg69-accent); }

/* ===== Game grid ===== */
.pg69-game-block { margin-bottom: 14px; }
.pg69-game-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg69-primary);
  margin: 10px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pg69-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.pg69-game-card {
  background: var(--pg69-card);
  border: 1px solid var(--pg69-border);
  border-radius: 10px;
  padding: 8px 6px;
  text-align: center;
  cursor: pointer;
  transition: transform .15s, border-color .2s;
}
.pg69-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--pg69-primary);
}
.pg69-game-card img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 4px;
}
.pg69-game-name {
  font-size: 1.05rem;
  color: var(--pg69-text);
  line-height: 1.3rem;
  height: 2.6rem;
  overflow: hidden;
}

/* ===== Cards / features ===== */
.pg69-card {
  background: var(--pg69-card);
  border: 1px solid var(--pg69-border);
  border-radius: var(--pg69-radius);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--pg69-shadow);
}
.pg69-card h3 {
  font-size: 1.4rem;
  color: var(--pg69-accent);
  margin-bottom: 6px;
}
.pg69-card p { font-size: 1.25rem; color: #d0d0d0; }

.pg69-feature-list { list-style: none; }
.pg69-feature-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #444;
  font-size: 1.25rem;
}
.pg69-feature-list li:last-child { border-bottom: none; }

/* ===== CTA ===== */
.pg69-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(135deg, #3a2d5a, #2a2a2a);
  border-radius: var(--pg69-radius);
  margin: 12px 0;
}
.pg69-cta-btn {
  background: linear-gradient(90deg, var(--pg69-warm), #c4673a);
  color: #fff;
  padding: 12px 28px;
  font-size: 1.5rem;
  font-weight: 800;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

/* ===== RTP compact ===== */
.pg69-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #3a3a3a;
  font-size: 1.2rem;
}
.pg69-rtp-row span:last-child { color: var(--pg69-accent); font-weight: 700; }

/* ===== Testimonials ===== */
.pg69-testimonial {
  background: #262626;
  border-left: 3px solid var(--pg69-primary);
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.pg69-testimonial .pg69-author {
  display: block;
  margin-top: 4px;
  color: var(--pg69-text-muted);
  font-size: 1.1rem;
}

/* ===== Payment icons ===== */
.pg69-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.pg69-pay-chip {
  background: #2a2a2a;
  border: 1px solid var(--pg69-border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 1.15rem;
  color: var(--pg69-text-muted);
}

/* ===== Winners ===== */
.pg69-winner {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 1.2rem;
  border-bottom: 1px dotted #444;
}
.pg69-winner .pg69-amount { color: #ffd700; font-weight: 700; }

/* ===== Footer ===== */
.pg69-footer {
  background: #1f1f1f;
  border-top: 2px solid var(--pg69-primary);
  padding: 16px 14px 20px;
  margin-top: 16px;
}
.pg69-footer-brand { font-size: 1.25rem; color: var(--pg69-text-muted); margin-bottom: 10px; }
.pg69-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 10px;
}
.pg69-footer-links a {
  font-size: 1.15rem;
  color: var(--pg69-text-muted);
}
.pg69-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.pg69-footer-promo button {
  background: var(--pg69-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 1.15rem;
  cursor: pointer;
}
.pg69-footer-copy {
  font-size: 1.1rem;
  color: #707070;
  border-top: 1px solid #333;
  padding-top: 8px;
}

/* ===== Bottom nav ===== */
.pg69-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  background: #1c1c1c;
  border-top: 2px solid var(--pg69-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.pg69-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--pg69-text-muted);
  cursor: pointer;
  transition: color .2s, transform .15s;
  text-decoration: none;
}
.pg69-bottomnav-btn .pg69-nav-icon { font-size: 22px; }
.pg69-bottomnav-btn .material-icons,
.pg69-bottomnav-btn .ion { font-size: 22px; }
.pg69-bottomnav-btn .pg69-nav-label { font-size: 11px; }
.pg69-bottomnav-btn:hover { color: var(--pg69-text); }
.pg69-bottomnav-btn:active { transform: scale(.92); }
.pg69-bottomnav-active { color: var(--pg69-accent) !important; }

/* Desktop: hide bottom nav, add desktop top nav links */
@media (min-width: 769px) {
  .pg69-bottomnav { display: none; }
  .pg69-desktop-nav { display: flex !important; }
}
.pg69-desktop-nav { display: none; }

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

/* Utility */
.pg69-center { text-align: center; }
.pg69-mt10 { margin-top: 10px; }
.pg69-mb10 { margin-bottom: 10px; }
