/*!
 * paldo panalo - style-34c8.css
 * Mobile-first casino styling with pg34- prefixed classes.
 * Palette: #F5F5F5 | #0D1117 | #BDB76B | #BA55D3 | #FFE135
 * Dark tones are backgrounds, light tones are text. Comments in English.
 */

:root {
  --pg34-bg: #0D1117;
  --pg34-bg-alt: #161b22;
  --pg34-bg-card: #1c2230;
  --pg34-text: #F5F5F5;
  --pg34-text-muted: #a9b1bd;
  --pg34-primary: #FFE135;
  --pg34-secondary: #BDB76B;
  --pg34-accent: #BA55D3;
  --pg34-accent-dark: #8e3fb0;
  --pg34-success: #2ecc71;
  --pg34-border: #2a3140;
  --pg34-radius: 1.2rem;
  --pg34-radius-sm: 0.8rem;
  --pg34-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.45);
  --pg34-header-h: 6rem;
  --pg34-bottom-h: 6.4rem;
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  background: var(--pg34-bg);
  color: var(--pg34-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--pg34-primary); text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.pg34-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.pg34-wrapper { padding: 1.6rem 0; }
.pg34-grid { display: grid; gap: 1rem; }

/* ---------- Header ---------- */
.pg34-header {
  position: fixed; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(1rem);
  border-bottom: 1px solid var(--pg34-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.pg34-header-scrolled { background: rgba(13, 17, 23, 0.98); box-shadow: var(--pg34-shadow); }
.pg34-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.2rem; gap: 0.8rem;
}
.pg34-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.pg34-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.pg34-brand-text {
  font-size: 1.5rem; font-weight: 800; color: var(--pg34-primary);
  letter-spacing: 0.02rem; white-space: nowrap;
}
.pg34-brand-text small { color: var(--pg34-secondary); font-size: 1rem; }
.pg34-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pg34-menu-btn {
  background: transparent; border: 1px solid var(--pg34-border);
  color: var(--pg34-text); width: 3.6rem; height: 3.6rem;
  border-radius: 0.8rem; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Buttons ---------- */
.pg34-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; min-height: 3.6rem; padding: 0 1.2rem;
  border-radius: 2rem; font-size: 1.3rem; font-weight: 700;
  border: none; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s;
}
.pg34-btn:active { transform: scale(0.96); }
.pg34-btn-primary {
  background: linear-gradient(135deg, var(--pg34-primary), #ffd000);
  color: #1a1500; box-shadow: 0 0.4rem 1rem rgba(255, 225, 53, 0.25);
}
.pg34-btn-secondary {
  background: linear-gradient(135deg, var(--pg34-accent), var(--pg34-accent-dark));
  color: #fff; box-shadow: 0 0.4rem 1rem rgba(186, 85, 211, 0.3);
}
.pg34-btn-ghost { background: transparent; color: var(--pg34-text); border: 1px solid var(--pg34-secondary); }
.pg34-btn-block { width: 100%; }
.pg34-btn-lg { min-height: 4.6rem; font-size: 1.5rem; }

/* ---------- Mobile menu ---------- */
.pg34-mobile-menu {
  position: fixed;
  top: var(--pg34-header-h); left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: var(--pg34-bg-alt);
  border-bottom: 1px solid var(--pg34-border);
  max-height: 0; overflow: hidden;
  transition: max-height 0.32s ease;
  z-index: 9999;
}
.pg34-mobile-menu.pg34-menu-open { max-height: 60rem; }
.pg34-mobile-menu ul { padding: 1rem 1.2rem 1.4rem; }
.pg34-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.6rem;
  color: var(--pg34-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.35rem;
}
.pg34-mobile-link i, .pg34-mobile-link span.material-icons-outlined { font-size: 2rem; color: var(--pg34-secondary); }
.pg34-mobile-link em { color: var(--pg34-accent); font-style: normal; }

/* ---------- Main ---------- */
.pg34-main { padding-top: var(--pg34-header-h); }

/* ---------- Hero carousel ---------- */
.pg34-hero { padding: 1rem 0 0.4rem; }
.pg34-carousel { position: relative; border-radius: var(--pg34-radius); overflow: hidden; box-shadow: var(--pg34-shadow); }
.pg34-slides { position: relative; }
.pg34-slide {
  display: none;
  cursor: pointer;
}
.pg34-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pg34-slide-active { display: block; animation: pg34fade 0.6s ease; }
@keyframes pg34fade { from { opacity: 0.4; } to { opacity: 1; } }
.pg34-carousel-ctrl {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.6rem;
}
.pg34-dots { display: flex; gap: 0.5rem; }
.pg34-dot {
  width: 0.9rem; height: 0.9rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none; cursor: pointer;
}
.pg34-dot-active { background: var(--pg34-primary); }
.pg34-arrow {
  background: var(--pg34-bg-card);
  border: 1px solid var(--pg34-border);
  color: var(--pg34-text);
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}

/* ---------- Sections ---------- */
.pg34-section { padding: 1.8rem 0; }
.pg34-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.6rem; font-weight: 800; color: var(--pg34-primary);
  margin-bottom: 1rem;
}
.pg34-section-title i, .pg34-section-title .material-icons-outlined { color: var(--pg34-secondary); font-size: 2rem; }
.pg34-section-title small { color: var(--pg34-text-muted); font-size: 1.1rem; font-weight: 500; }
.pg34-lead { color: var(--pg34-text-muted); font-size: 1.35rem; margin-bottom: 1rem; }
.pg34-h1 {
  font-size: 2rem; font-weight: 800; line-height: 2.6rem;
  color: var(--pg34-text); margin-bottom: 0.8rem;
}
.pg34-h1 span { color: var(--pg34-primary); }

/* ---------- Cards ---------- */
.pg34-card {
  background: var(--pg34-bg-card);
  border: 1px solid var(--pg34-border);
  border-radius: var(--pg34-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.pg34-card-title { font-size: 1.5rem; font-weight: 700; color: var(--pg34-secondary); margin-bottom: 0.6rem; }
.pg34-card p { color: var(--pg34-text-muted); margin-bottom: 0.6rem; }
.pg34-card p strong { color: var(--pg34-primary); font-weight: 700; }

/* ---------- Game grid ---------- */
.pg34-games-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.pg34-filter-bar {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.4rem;
  scrollbar-width: none;
}
.pg34-filter-bar::-webkit-scrollbar { display: none; }
.pg34-filter-btn {
  flex: 0 0 auto; padding: 0.5rem 1rem; border-radius: 2rem;
  border: 1px solid var(--pg34-border); background: var(--pg34-bg-card);
  color: var(--pg34-text-muted); font-size: 1.15rem; cursor: pointer; white-space: nowrap;
}
.pg34-filter-active { background: var(--pg34-primary); color: #1a1500; border-color: var(--pg34-primary); font-weight: 700; }
.pg34-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.pg34-game-card {
  background: var(--pg34-bg-card); border: 1px solid var(--pg34-border);
  border-radius: var(--pg34-radius-sm); padding: 0.5rem; text-align: center;
  cursor: pointer; overflow: hidden; transition: transform 0.15s ease, border-color 0.2s;
}
.pg34-game-card:active { transform: scale(0.95); }
.pg34-game-card:hover { border-color: var(--pg34-primary); }
.pg34-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0.6rem; margin-bottom: 0.4rem; }
.pg34-game-name {
  font-size: 1.05rem; color: var(--pg34-text); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pg34-game-tag { font-size: 0.9rem; color: var(--pg34-accent); margin-top: 0.2rem; }

/* ---------- Feature / step lists ---------- */
.pg34-feature-grid { display: grid; gap: 1rem; }
.pg34-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--pg34-bg-card); border-radius: var(--pg34-radius-sm);
  padding: 1rem; border: 1px solid var(--pg34-border);
}
.pg34-feature .pg34-feature-icon {
  flex: 0 0 auto; width: 4rem; height: 4rem; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pg34-accent), var(--pg34-accent-dark));
  color: #fff; font-size: 2rem;
}
.pg34-feature h3 { font-size: 1.35rem; color: var(--pg34-primary); margin-bottom: 0.3rem; }
.pg34-feature p { font-size: 1.2rem; color: var(--pg34-text-muted); }

/* ---------- RTP / data bars ---------- */
.pg34-rtp-row { margin-bottom: 0.9rem; }
.pg34-rtp-label { display: flex; justify-content: space-between; font-size: 1.15rem; margin-bottom: 0.3rem; }
.pg34-rtp-label strong { color: var(--pg34-primary); }
.pg34-rtp-bar { height: 0.9rem; background: rgba(255,255,255,0.08); border-radius: 1rem; overflow: hidden; }
.pg34-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--pg34-accent), var(--pg34-primary)); border-radius: 1rem; }

/* ---------- Steps ---------- */
.pg34-steps { counter-reset: step; }
.pg34-step { display: flex; gap: 1rem; margin-bottom: 1rem; }
.pg34-step-num {
  flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--pg34-primary); color: #1a1500; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.pg34-step h3 { font-size: 1.3rem; color: var(--pg34-secondary); margin-bottom: 0.2rem; }
.pg34-step p { color: var(--pg34-text-muted); font-size: 1.2rem; }

/* ---------- Testimonials ---------- */
.pg34-testimonial {
  background: var(--pg34-bg-card); border-radius: var(--pg34-radius-sm);
  padding: 1rem; border-left: 0.3rem solid var(--pg34-primary); margin-bottom: 0.8rem;
}
.pg34-testimonial p { color: var(--pg34-text); font-size: 1.2rem; margin-bottom: 0.4rem; }
.pg34-testimonial cite { color: var(--pg34-secondary); font-style: normal; font-size: 1.1rem; }

/* ---------- Winners ---------- */
.pg34-winner {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--pg34-bg-card); padding: 0.7rem 1rem; border-radius: var(--pg34-radius-sm);
  margin-bottom: 0.5rem; border: 1px solid var(--pg34-border);
}
.pg34-winner-avatar {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--pg34-accent), var(--pg34-secondary));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800;
}
.pg34-winner-info { flex: 1; min-width: 0; }
.pg34-winner-info strong { color: var(--pg34-text); display: block; font-size: 1.15rem; }
.pg34-winner-info span { color: var(--pg34-text-muted); font-size: 1rem; }
.pg34-winner-amount { color: var(--pg34-primary); font-weight: 800; font-size: 1.2rem; }

/* ---------- Payment methods ---------- */
.pg34-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.pg34-pay {
  background: var(--pg34-bg-card); border-radius: 0.8rem; padding: 0.8rem 0.4rem;
  border: 1px solid var(--pg34-border); text-align: center;
}
.pg34-pay i, .pg34-pay .material-icons-outlined { font-size: 2rem; color: var(--pg34-secondary); }
.pg34-pay span { display: block; font-size: 0.95rem; color: var(--pg34-text-muted); margin-top: 0.3rem; }

/* ---------- FAQ ---------- */
.pg34-faq details {
  background: var(--pg34-bg-card); border: 1px solid var(--pg34-border);
  border-radius: var(--pg34-radius-sm); padding: 1rem; margin-bottom: 0.7rem;
}
.pg34-faq summary { font-size: 1.25rem; font-weight: 700; color: var(--pg34-secondary); cursor: pointer; list-style: none; }
.pg34-faq summary::-webkit-details-marker { display: none; }
.pg34-faq summary::before { content: "+ "; color: var(--pg34-primary); }
.pg34-faq details[open] summary::before { content: "- "; }
.pg34-faq p { margin-top: 0.6rem; color: var(--pg34-text-muted); font-size: 1.2rem; }

/* ---------- CTA banner ---------- */
.pg34-cta {
  background: linear-gradient(135deg, var(--pg34-accent-dark), var(--pg34-accent));
  border-radius: var(--pg34-radius); padding: 1.6rem; text-align: center; margin: 1rem 0;
}
.pg34-cta h2 { color: var(--pg34-primary); font-size: 1.6rem; margin-bottom: 0.4rem; }
.pg34-cta p { color: #fff; font-size: 1.2rem; margin-bottom: 1rem; }

/* ---------- Promo anchor ---------- */
.pg34-promo-link { color: var(--pg34-primary); font-weight: 800; border-bottom: 0.15rem dashed var(--pg34-secondary); cursor: pointer; }

/* ---------- Footer ---------- */
.pg34-footer { background: var(--pg34-bg-alt); border-top: 1px solid var(--pg34-border); padding: 2rem 1.2rem 9rem; margin-top: 1.6rem; }
.pg34-footer-brand { color: var(--pg34-text-muted); font-size: 1.2rem; margin-bottom: 1rem; }
.pg34-footer-brand strong { color: var(--pg34-primary); }
.pg34-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.pg34-footer-promos .pg34-btn { flex: 1 1 calc(50% - 0.6rem); min-height: 3.2rem; font-size: 1.2rem; }
.pg34-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.pg34-footer-links a { color: var(--pg34-text-muted); font-size: 1.1rem; }
.pg34-footer-links a:hover { color: var(--pg34-primary); }
.pg34-footer-copy { color: var(--pg34-text-muted); font-size: 1rem; border-top: 1px solid var(--pg34-border); padding-top: 1rem; }

/* ---------- Bottom navigation ---------- */
.pg34-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--pg34-bottom-h);
  background: rgba(22, 27, 34, 0.98); border-top: 1px solid var(--pg34-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -0.4rem 1rem rgba(0, 0, 0, 0.35);
}
.pg34-bottom-btn {
  flex: 1; min-width: 6rem; min-height: 6rem;
  background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; color: var(--pg34-text-muted); cursor: pointer;
  transition: transform 0.15s ease, color 0.2s ease; position: relative;
}
.pg34-bottom-btn:active { transform: scale(0.9); }
.pg34-bottom-btn i, .pg34-bottom-btn .material-icons-outlined, .pg34-bottom-btn ion-icon { font-size: 2.4rem; }
.pg34-bottom-btn ion-icon { font-size: 2.6rem; }
.pg34-bottom-btn .pg34-bottom-label { font-size: 1rem; font-weight: 600; }
.pg34-bottom-btn.pg34-bottom-active { color: var(--pg34-primary); }
.pg34-bottom-btn.pg34-bottom-promo { color: var(--pg34-accent); }
.pg34-bottom-btn.pg34-bottom-promo .pg34-bottom-label { color: var(--pg34-secondary); }
.pg34-bottom-badge {
  position: absolute; top: 0.6rem; right: 1.4rem;
  background: var(--pg34-primary); color: #1a1500;
  font-size: 0.85rem; font-weight: 800;
  border-radius: 1rem; padding: 0.05rem 0.4rem;
}

/* ---------- Responsive: desktop widens, mobile clears bottom nav ---------- */
@media (min-width: 769px) {
  body { max-width: 100%; }
  .pg34-header, .pg34-mobile-menu, .pg34-bottom-nav { max-width: 100%; }
  .pg34-container { max-width: 760px; }
  .pg34-game-grid { grid-template-columns: repeat(6, 1fr); }
  .pg34-pay-grid { grid-template-columns: repeat(8, 1fr); }
  .pg34-footer { padding-bottom: 2rem; }
  .pg34-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .pg34-main { padding-bottom: calc(var(--pg34-bottom-h) + 1.6rem); }
}

/* ---------- Utilities ---------- */
.pg34-text-center { text-align: center; }
.pg34-mt-1 { margin-top: 1rem; }
.pg34-mt-2 { margin-top: 2rem; }
.pg34-mb-1 { margin-bottom: 1rem; }
.pg34-hidden { display: none !important; }
