/* bet100 core stylesheet - base files */
/* All custom classes use the pg43- prefix. Root font 62.5% => 1rem = 10px. */

:root {
  --pg43-primary: #00CED1;
  --pg43-accent: #00FFFF;
  --pg43-gold: #BDB76B;
  --pg43-light: #FAFAD2;
  --pg43-bg: #2C2C2C;
  --pg43-bg-2: #1f1f1f;
  --pg43-text: #FAFAD2;
  --pg43-text-muted: #c9c7a8;
  --pg43-card: #353535;
  --pg43-border: rgba(250, 250, 210, 0.12);
  --pg43-radius: 1.2rem;
}

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

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--pg43-bg);
  color: var(--pg43-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.pg43-container { width: 100%; padding: 0 1.2rem; }

/* ===== Header ===== */
.pg43-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, #1f1f1f 0%, #2C2C2C 100%);
  border-bottom: 2px solid var(--pg43-gold);
  box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.4);
}
.pg43-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 5.6rem; padding: 0 1.2rem;
}
.pg43-logo { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; }
.pg43-logo-icon { width: 3rem; height: 3rem; border-radius: 0.6rem; object-fit: cover; }
.pg43-logo-text { font-size: 1.8rem; font-weight: 800; color: var(--pg43-gold); letter-spacing: 0.05rem; }
.pg43-logo-text span { color: var(--pg43-accent); }
.pg43-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pg43-menu-btn {
  background: none; border: 1px solid var(--pg43-gold); color: var(--pg43-gold);
  width: 3.6rem; height: 3.6rem; border-radius: 0.6rem; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.pg43-menu-btn-active { background: var(--pg43-gold); color: var(--pg43-bg); }
.pg43-btn {
  border: none; border-radius: 0.8rem; padding: 0.8rem 1.4rem;
  font-size: 1.3rem; font-weight: 700; cursor: pointer;
  min-height: 3.6rem; transition: transform 0.15s, opacity 0.15s;
}
.pg43-btn:active { transform: scale(0.96); }
.pg43-btn-register {
  background: linear-gradient(135deg, var(--pg43-primary), #009999);
  color: #062b2b;
}
.pg43-btn-login {
  background: transparent; color: var(--pg43-light);
  border: 1.5px solid var(--pg43-accent);
}

/* ===== Mobile menu ===== */
.pg43-mobile-menu {
  position: fixed; top: 5.6rem; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 9999;
  background: var(--pg43-bg-2); border-bottom: 2px solid var(--pg43-gold);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.pg43-menu-open { max-height: 60rem; }
.pg43-mobile-menu ul { list-style: none; padding: 1rem 1.2rem; }
.pg43-mobile-menu li { border-bottom: 1px solid var(--pg43-border); }
.pg43-mobile-menu li:last-child { border-bottom: none; }
.pg43-mobile-menu a {
  display: block; padding: 1.4rem 0.4rem; color: var(--pg43-light);
  font-size: 1.4rem; font-weight: 600;
}
.pg43-mobile-menu a i { color: var(--pg43-gold); margin-right: 0.8rem; width: 2rem; text-align: center; }

/* ===== Hero / Carousel ===== */
.pg43-hero { margin-top: 5.6rem; position: relative; overflow: hidden; }
.pg43-carousel { position: relative; width: 100%; height: 22rem; }
.pg43-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.pg43-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg43-slide-active { opacity: 1; }
.pg43-slide-overlay {
  position: absolute; left: 1.2rem; bottom: 1.4rem; right: 1.2rem;
  background: rgba(44,44,44,0.55); padding: 1rem 1.2rem; border-radius: 1rem;
  border-left: 3px solid var(--pg43-gold);
}
.pg43-slide-overlay h2 { color: var(--pg43-light); font-size: 1.8rem; font-weight: 800; }
.pg43-slide-overlay p { color: var(--pg43-text-muted); font-size: 1.2rem; margin-top: 0.2rem; }
.pg43-dots {
  position: absolute; bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.6rem; z-index: 5;
}
.pg43-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(250,250,210,0.4); cursor: pointer; border: none;
}
.pg43-dot-active { background: var(--pg43-gold); width: 2rem; border-radius: 0.4rem; }

/* ===== Section ===== */
.pg43-section { padding: 2rem 1.2rem; }
.pg43-section-title {
  font-size: 1.9rem; font-weight: 800; color: var(--pg43-light);
  margin-bottom: 1.2rem; padding-left: 1rem;
  border-left: 4px solid var(--pg43-primary);
}
.pg43-section-title .pg43-accent { color: var(--pg43-accent); }
.pg43-section-intro { color: var(--pg43-text-muted); font-size: 1.3rem; margin-bottom: 1.4rem; line-height: 1.6; }

/* ===== Game grid ===== */
.pg43-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.pg43-game-card {
  background: var(--pg43-card); border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--pg43-border); cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.pg43-game-card:active { transform: scale(0.97); border-color: var(--pg43-gold); }
.pg43-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pg43-game-name {
  padding: 0.6rem 0.4rem; font-size: 1.05rem; font-weight: 600;
  color: var(--pg43-light); text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.pg43-category-heading {
  font-size: 1.6rem; font-weight: 800; color: var(--pg43-gold);
  margin: 2rem 0 1rem; padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--pg43-border);
}
.pg43-category-heading i { margin-right: 0.6rem; color: var(--pg43-primary); }

/* ===== Promo / CTA banners ===== */
.pg43-promo-banner {
  background: linear-gradient(135deg, #1a3a3a, #2C2C2C);
  border: 1px solid var(--pg43-gold); border-radius: var(--pg43-radius);
  padding: 1.6rem; margin: 1.2rem 0; text-align: center;
}
.pg43-promo-banner h3 { color: var(--pg43-accent); font-size: 1.6rem; margin-bottom: 0.6rem; }
.pg43-promo-banner p { color: var(--pg43-text-muted); font-size: 1.2rem; margin-bottom: 1rem; }
.pg43-promo-link {
  color: var(--pg43-gold); font-weight: 700; font-size: 1.3rem;
  text-decoration: underline; cursor: pointer; display: inline-block; padding: 0.4rem;
}
.pg43-promo-btn {
  display: inline-block; background: linear-gradient(135deg, var(--pg43-gold), #9b944a);
  color: #2C2C2C; padding: 1rem 2rem; border-radius: 0.8rem;
  font-weight: 800; font-size: 1.4rem; cursor: pointer; border: none;
  margin-top: 0.6rem; transition: transform 0.15s;
}
.pg43-promo-btn:active { transform: scale(0.96); }

/* ===== Feature list ===== */
.pg43-feature-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.pg43-feature-card {
  background: var(--pg43-card); border-radius: var(--pg43-radius);
  padding: 1.4rem; border-left: 3px solid var(--pg43-primary);
}
.pg43-feature-card h4 { color: var(--pg43-light); font-size: 1.4rem; margin-bottom: 0.4rem; }
.pg43-feature-card p { color: var(--pg43-text-muted); font-size: 1.2rem; line-height: 1.5; }
.pg43-feature-card i { color: var(--pg43-gold); font-size: 1.6rem; margin-right: 0.4rem; }

/* ===== Testimonials ===== */
.pg43-testimonial {
  background: var(--pg43-card); border-radius: var(--pg43-radius);
  padding: 1.2rem; margin-bottom: 0.8rem; border-top: 2px solid var(--pg43-accent);
}
.pg43-testimonial .pg43-user { color: var(--pg43-gold); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.3rem; }
.pg43-testimonial p { color: var(--pg43-text-muted); font-size: 1.2rem; }
.pg43-stars { color: var(--pg43-gold); font-size: 1.1rem; margin-bottom: 0.3rem; }

/* ===== Payment methods ===== */
.pg43-payment-row { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.pg43-payment-chip {
  background: var(--pg43-card); border: 1px solid var(--pg43-border);
  border-radius: 0.8rem; padding: 0.8rem 1.2rem; color: var(--pg43-light);
  font-size: 1.2rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem;
}
.pg43-payment-chip i { color: var(--pg43-accent); }

/* ===== Winners ===== */
.pg43-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--pg43-card); padding: 0.8rem 1rem; border-radius: 0.8rem;
  margin-bottom: 0.6rem; border-left: 3px solid var(--pg43-gold);
}
.pg43-winner .pg43-winner-name { color: var(--pg43-light); font-size: 1.2rem; font-weight: 700; }
.pg43-winner .pg43-winner-amount { color: var(--pg43-accent); font-weight: 800; font-size: 1.3rem; }

/* ===== RTP compact ===== */
.pg43-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--pg43-card); padding: 0.8rem 1rem; border-radius: 0.6rem;
  margin-bottom: 0.5rem; font-size: 1.2rem;
}
.pg43-rtp-row .pg43-rtp-name { color: var(--pg43-light); }
.pg43-rtp-row .pg43-rtp-value { color: var(--pg43-gold); font-weight: 700; }

/* ===== SEO article ===== */
.pg43-article { color: var(--pg43-text-muted); font-size: 1.3rem; line-height: 1.6; }
.pg43-article h3 { color: var(--pg43-light); font-size: 1.5rem; margin: 1.4rem 0 0.6rem; }
.pg43-article p { margin-bottom: 0.8rem; }
.pg43-article a { color: var(--pg43-accent); text-decoration: underline; }
.pg43-article ul { padding-left: 1.6rem; margin-bottom: 0.8rem; }
.pg43-article li { margin-bottom: 0.4rem; }

/* ===== Footer ===== */
.pg43-footer {
  background: var(--pg43-bg-2); border-top: 2px solid var(--pg43-gold);
  padding: 2rem 1.2rem 8rem; margin-top: 2rem;
}
.pg43-footer-brand { color: var(--pg43-gold); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.6rem; }
.pg43-footer-desc { color: var(--pg43-text-muted); font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.2rem; }
.pg43-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.pg43-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin-bottom: 1.2rem; }
.pg43-footer-links a { color: var(--pg43-light); font-size: 1.2rem; padding: 0.3rem 0; }
.pg43-footer-copy { color: var(--pg43-text-muted); font-size: 1.1rem; border-top: 1px solid var(--pg43-border); padding-top: 1rem; }

/* ===== Bottom navigation ===== */
.pg43-bottomnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  height: 6.2rem; background: linear-gradient(180deg, #2C2C2C, #1a1a1a);
  border-top: 2px solid var(--pg43-gold);
  display: flex; justify-content: space-around; align-items: stretch;
}
.pg43-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: none; border: none; color: var(--pg43-text-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; padding: 0.4rem; transition: color 0.2s, transform 0.15s;
  position: relative;
}
.pg43-bottomnav-btn i { font-size: 2.2rem; }
.pg43-bottomnav-btn .pg43-nav-label { font-size: 1rem; font-weight: 600; }
.pg43-bottomnav-btn:active { transform: scale(0.92); }
.pg43-bottomnav-active { color: var(--pg43-gold); }
.pg43-bottomnav-active::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2.4rem; height: 0.3rem; background: var(--pg43-gold); border-radius: 0 0 0.4rem 0.4rem;
}
.pg43-nav-promo { color: var(--pg43-accent); }

/* Desktop: hide bottom nav, show desktop nav, remove bottom padding */
@media (min-width: 769px) {
  .pg43-bottomnav { display: none; }
  body { max-width: 768px; }
  .pg43-footer { padding-bottom: 2rem; }
  .pg43-game-grid { grid-template-columns: repeat(5, 1fr); }
  main { padding-bottom: 0 !important; }
}

/* Mobile: bottom padding so content is not hidden behind nav */
@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
