/* cwin777 - all classes prefixed with pg86- */
:root {
  --pg86-primary: #A0522D;
  --pg86-secondary: #6F4E37;
  --pg86-dark: #34495E;
  --pg86-light: #DEB887;
  --pg86-silver: #C0C0C0;
  --pg86-bg: #2A2018;
  --pg86-bg2: #34495E;
  --pg86-text: #F5E6D3;
  --pg86-muted: #DEB887;
  --pg86-card: #3A2E24;
  --pg86-border: #6F4E37;
  --pg86-accent: #DEB887;
  --pg86-danger: #A0522D;
  --pg86-success: #C0C0C0;
}

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

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

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

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

a { color: var(--pg86-light); text-decoration: none; }
a:hover { color: var(--pg86-silver); }

/* ============ Header ============ */
.pg86-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 56px;
  background: linear-gradient(90deg, #34495E, #6F4E37);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  border-bottom: 2px solid var(--pg86-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.pg86-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--pg86-light);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}
.pg86-logo img { width: 28px; height: 28px; border-radius: 6px; }
.pg86-logo span { color: var(--pg86-light); }

.pg86-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pg86-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 0 1.2rem;
  border-radius: 20px; font-size: 1.3rem; font-weight: 700;
  cursor: pointer; border: none; transition: transform .15s, background .2s;
}
.pg86-btn-register {
  background: linear-gradient(90deg, #A0522D, #DEB887);
  color: #fff;
}
.pg86-btn-register:hover { transform: scale(1.04); background: linear-gradient(90deg, #DEB887, #A0522D); }
.pg86-btn-login {
  background: transparent; color: var(--pg86-light);
  border: 1.5px solid var(--pg86-light);
}
.pg86-btn-login:hover { background: var(--pg86-light); color: #34495E; }

.pg86-menu-btn {
  background: transparent; border: none; color: var(--pg86-light);
  font-size: 2rem; cursor: pointer; padding: 0 0.4rem;
  display: flex; align-items: center;
}

/* ============ Mobile Menu Drawer ============ */
.pg86-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: #2A2018;
  z-index: 9999;
  padding: 7rem 1.6rem 2rem;
  transition: right .28s ease;
  border-left: 2px solid var(--pg86-primary);
  overflow-y: auto;
}
.pg86-menu-open { right: 0; }
.pg86-mobile-menu a {
  display: block; padding: 1.1rem 0.8rem;
  border-bottom: 1px solid var(--pg86-border);
  color: var(--pg86-text); font-size: 1.4rem; font-weight: 600;
}
.pg86-mobile-menu a:hover { background: var(--pg86-card); color: var(--pg86-light); }
.pg86-menu-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: transparent; border: none; color: var(--pg86-light);
  font-size: 2.4rem; cursor: pointer;
}
.pg86-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 9998; display: none;
}
.pg86-menu-open + .pg86-menu-overlay { display: block; }

/* ============ Layout ============ */
.pg86-main {
  padding-top: 56px;
  padding-bottom: 80px;
}
.pg86-section { padding: 1.8rem 1.2rem; }
.pg86-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--pg86-light);
  margin-bottom: 1rem; border-left: 4px solid var(--pg86-primary);
  padding-left: 0.8rem;
}
.pg86-section-title small { display: block; font-size: 1.2rem; color: var(--pg86-silver); font-weight: 500; }

/* ============ Carousel ============ */
.pg86-carousel {
  position: relative; width: 100%; height: 180px;
  border-radius: 14px; overflow: hidden; margin-bottom: 1.4rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.pg86-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s;
  cursor: pointer;
}
.pg86-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg86-slide-active { opacity: 1; }
.pg86-slide-caption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(52,73,94,0.85); color: var(--pg86-light);
  padding: 0.6rem 1rem; border-radius: 8px; font-size: 1.3rem; font-weight: 700;
}
.pg86-dots {
  position: absolute; bottom: 0.8rem; right: 1rem; display: flex; gap: 0.4rem;
}
.pg86-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
}
.pg86-dot-active { background: var(--pg86-light); }

/* ============ Game Grid ============ */
.pg86-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.pg86-game-card {
  background: var(--pg86-card);
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--pg86-border);
  cursor: pointer; transition: transform .15s, box-shadow .2s;
  text-align: center;
}
.pg86-game-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(160,82,45,0.4); }
.pg86-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pg86-game-card .pg86-game-name {
  font-size: 1.1rem; color: var(--pg86-text);
  padding: 0.5rem 0.3rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.pg86-cat-label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.5rem; font-weight: 700; color: var(--pg86-light);
  margin: 1.6rem 0 1rem;
  text-transform: capitalize;
}
.pg86-cat-label i { color: var(--pg86-primary); }

/* ============ Promo Banner ============ */
.pg86-promo-banner {
  background: linear-gradient(120deg, #6F4E37, #A0522D);
  border-radius: 12px; padding: 1.4rem;
  text-align: center; margin: 1.2rem 0;
  border: 1px solid var(--pg86-light);
}
.pg86-promo-banner h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.5rem; }
.pg86-promo-banner p { color: var(--pg86-light); font-size: 1.2rem; margin-bottom: 1rem; }
.pg86-promo-btn {
  display: inline-block; padding: 0.9rem 2rem; border-radius: 24px;
  background: var(--pg86-light); color: #34495E;
  font-weight: 800; font-size: 1.4rem; cursor: pointer; border: none;
}
.pg86-promo-btn:hover { background: #fff; }

/* ============ Content Cards ============ */
.pg86-card {
  background: var(--pg86-card);
  border: 1px solid var(--pg86-border);
  border-radius: 12px; padding: 1.4rem; margin-bottom: 1.2rem;
}
.pg86-card h2 { color: var(--pg86-light); font-size: 1.6rem; margin-bottom: 0.8rem; }
.pg86-card h3 { color: var(--pg86-light); font-size: 1.4rem; margin: 1rem 0 0.5rem; }
.pg86-card p { color: var(--pg86-text); font-size: 1.3rem; margin-bottom: 0.8rem; line-height: 1.6rem; }
.pg86-card a { color: var(--pg86-light); text-decoration: underline; font-weight: 600; }
.pg86-card ul { padding-left: 1.6rem; color: var(--pg86-text); font-size: 1.3rem; }
.pg86-card li { margin-bottom: 0.5rem; line-height: 1.6rem; }

/* ============ FAQ ============ */
.pg86-faq-item {
  background: var(--pg86-card); border: 1px solid var(--pg86-border);
  border-radius: 10px; margin-bottom: 0.8rem; overflow: hidden;
}
.pg86-faq-q {
  width: 100%; text-align: left; background: transparent; border: none;
  color: var(--pg86-light); font-size: 1.4rem; font-weight: 700;
  padding: 1.1rem 1.2rem; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.pg86-faq-q span.pg86-plus { color: var(--pg86-primary); font-size: 1.6rem; }
.pg86-faq-a { display: none; padding: 0 1.2rem 1.2rem; color: var(--pg86-text); font-size: 1.3rem; line-height: 1.6rem; }
.pg86-faq-open .pg86-faq-a { display: block; }

/* ============ Testimonials ============ */
.pg86-testimonial {
  background: var(--pg86-card); border-left: 4px solid var(--pg86-primary);
  border-radius: 8px; padding: 1.1rem; margin-bottom: 0.8rem;
}
.pg86-testimonial p { color: var(--pg86-text); font-size: 1.3rem; font-style: italic; }
.pg86-testimonial .pg86-author { color: var(--pg86-silver); font-size: 1.1rem; margin-top: 0.5rem; }

/* ============ Payment / Winners ============ */
.pg86-badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pg86-badge {
  background: var(--pg86-card); border: 1px solid var(--pg86-border);
  border-radius: 8px; padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--pg86-light);
}
.pg86-winner {
  display: flex; justify-content: space-between;
  background: var(--pg86-card); border-radius: 8px;
  padding: 0.7rem 1rem; margin-bottom: 0.5rem; font-size: 1.2rem;
}
.pg86-winner .pg86-amount { color: var(--pg86-light); font-weight: 700; }

/* ============ Footer ============ */
.pg86-footer {
  background: #1E1611; padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--pg86-primary);
}
.pg86-footer h4 { color: var(--pg86-light); font-size: 1.4rem; margin-bottom: 0.8rem; }
.pg86-footer p { color: var(--pg86-text); font-size: 1.2rem; line-height: 1.6rem; margin-bottom: 1rem; }
.pg86-footer-links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin-bottom: 1.2rem; }
.pg86-footer-links a { color: var(--pg86-silver); font-size: 1.2rem; }
.pg86-footer-links a:hover { color: var(--pg86-light); }
.pg86-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.pg86-footer-promo button, .pg86-footer-promo a.pg86-promo-btn {
  background: var(--pg86-primary); color: #fff; border: none;
  padding: 0.6rem 1.2rem; border-radius: 20px; font-size: 1.2rem; font-weight: 700; cursor: pointer;
}
.pg86-copyright { color: var(--pg86-muted); font-size: 1.1rem; border-top: 1px solid var(--pg86-border); padding-top: 1rem; text-align: center; }

/* ============ Bottom Nav ============ */
.pg86-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  max-width: 430px; margin: 0 auto;
  height: 60px; z-index: 1000;
  background: linear-gradient(90deg, #34495E, #6F4E37);
  display: flex; justify-content: space-around; align-items: center;
  border-top: 2px solid var(--pg86-primary);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.35);
}
.pg86-bottomnav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 60px;
  color: var(--pg86-silver); font-size: 1rem; gap: 0.2rem;
  transition: color .2s, transform .15s; text-decoration: none;
}
.pg86-bottomnav a i, .pg86-bottomnav a .material-icons-outlined,
.pg86-bottomnav a .ion-icon { font-size: 22px; }
.pg86-bottomnav a:hover { color: var(--pg86-light); transform: scale(1.08); }
.pg86-bottomnav a.pg86-nav-active { color: var(--pg86-light); }
.pg86-bottomnav a.pg86-nav-active::after {
  content: ""; position: absolute; bottom: 2px;
  width: 26px; height: 3px; border-radius: 3px; background: var(--pg86-light);
}
.pg86-bottomnav a { position: relative; }

.pg86-hero-panel {
  background: linear-gradient(145deg, rgba(160,82,45,0.35), rgba(52,73,94,0.92)), url('../images/86cccbef_2.jpg') center/cover;
  border: 1px solid var(--pg86-light);
  border-radius: 16px;
  padding: 2rem 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.38);
}
.pg86-hero-panel h1 { color: #fff; font-size: 2rem; line-height: 2.4rem; margin-bottom: 0.8rem; }
.pg86-hero-panel p { color: var(--pg86-text); font-size: 1.3rem; line-height: 1.7rem; margin-bottom: 1rem; }
.pg86-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1rem 0; }
.pg86-stat {
  background: rgba(42,32,24,0.86);
  border: 1px solid var(--pg86-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.pg86-stat strong { display: block; color: var(--pg86-light); font-size: 1.8rem; margin-bottom: 0.3rem; }
.pg86-stat span { color: var(--pg86-silver); font-size: 1.1rem; }
.pg86-step-list { counter-reset: pg86-step; list-style: none; padding-left: 0; }
.pg86-step-list li {
  counter-increment: pg86-step;
  position: relative;
  padding: 0.9rem 0.8rem 0.9rem 4rem;
  margin-bottom: 0.8rem;
  background: var(--pg86-card);
  border: 1px solid var(--pg86-border);
  border-radius: 10px;
  color: var(--pg86-text);
  font-size: 1.3rem;
  line-height: 1.7rem;
}
.pg86-step-list li::before {
  content: counter(pg86-step);
  position: absolute; left: 1rem; top: 0.9rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--pg86-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.pg86-link-strong { color: var(--pg86-light); font-weight: 800; text-decoration: underline; }
.pg86-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.pg86-mini-card { background: var(--pg86-card); border: 1px solid var(--pg86-border); border-radius: 10px; padding: 1rem; }
.pg86-mini-card h3 { color: var(--pg86-light); font-size: 1.35rem; margin-bottom: 0.5rem; }
.pg86-mini-card p { color: var(--pg86-text); font-size: 1.2rem; line-height: 1.6rem; }

/* ============ Desktop ============ */
@media (min-width: 769px) {
  .pg86-bottomnav { display: none; }
  .pg86-main { padding-bottom: 2rem; }
}

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