/* SHBEET theme stylesheet - prefix pg05- */
/* Color palette: #B03060 (primary) | #CD853F (accent) | #212F3D (bg) */

:root {
  --pg05-primary: #B03060;
  --pg05-primary-dark: #8a2350;
  --pg05-accent: #CD853F;
  --pg05-accent-light: #e0a458;
  --pg05-bg: #212F3D;
  --pg05-bg-dark: #18222d;
  --pg05-bg-light: #2a3a4a;
  --pg05-text: #f5f7fa;
  --pg05-text-muted: #b8c2cf;
  --pg05-border: #3a4a5a;
  --pg05-gold: #f5c542;
  --pg05-success: #2ecc71;
  --pg05-danger: #e74c3c;
  --pg05-radius: 10px;
  --pg05-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  --pg05-header-h: 56px;
  --pg05-bottomnav-h: 62px;
}

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

html { font-size: 62.5%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Roboto", "SF Pro Display", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--pg05-bg);
  color: var(--pg05-text);
  line-height: 1.5;
  font-size: 1.6rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--pg05-accent); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.pg05-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pg05-header-h);
  background: linear-gradient(180deg, var(--pg05-bg-dark), rgba(24, 34, 45, 0.95));
  border-bottom: 1px solid var(--pg05-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.pg05-logo {
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--pg05-text); font-weight: 700; font-size: 2rem;
}
.pg05-logo img { width: 30px; height: 30px; border-radius: 6px; }
.pg05-logo span {
  background: linear-gradient(90deg, var(--pg05-primary), var(--pg05-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pg05-header-actions { display: flex; align-items: center; gap: 0.8rem; }
.pg05-btn {
  border: none; cursor: pointer; border-radius: 20px;
  font-size: 1.4rem; font-weight: 700; padding: 0.7rem 1.6rem;
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 36px;
}
.pg05-btn:hover { transform: translateY(-1px); }
.pg05-btn:active { transform: scale(0.96); }
.pg05-btn-register {
  background: linear-gradient(135deg, var(--pg05-primary), var(--pg05-primary-dark));
  color: #fff; box-shadow: 0 3px 10px rgba(176, 48, 96, 0.35);
}
.pg05-btn-login {
  background: linear-gradient(135deg, var(--pg05-accent), var(--pg05-accent-light));
  color: #2a1a08;
}

.pg05-menu-toggle {
  background: transparent; border: none; color: var(--pg05-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px;
}

/* ===== Mobile menu ===== */
.pg05-mobile-menu {
  position: fixed;
  top: var(--pg05-header-h); left: 0; right: 0;
  background: var(--pg05-bg-dark);
  border-bottom: 1px solid var(--pg05-border);
  padding: 1rem 1.2rem;
  z-index: 9999;
  transform: translateY(-150%);
  transition: transform 0.32s ease;
  max-height: 70vh; overflow-y: auto;
}
.pg05-mobile-menu.pg05-open { transform: translateY(0); }
.pg05-mobile-menu a {
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--pg05-text); padding: 1.1rem 0.8rem;
  border-bottom: 1px solid var(--pg05-border); font-size: 1.6rem; font-weight: 500;
}
.pg05-mobile-menu a:last-child { border-bottom: none; }
.pg05-mobile-menu a:hover { color: var(--pg05-accent); background: rgba(205, 133, 63, 0.08); }

/* ===== Layout ===== */
.pg05-main { padding-top: var(--pg05-header-h); }
.pg05-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }

/* ===== Hero / Carousel ===== */
.pg05-hero { margin: 1.6rem 0 1rem; }
.pg05-carousel {
  position: relative; overflow: hidden; border-radius: var(--pg05-radius);
  box-shadow: var(--pg05-shadow); aspect-ratio: 16/8;
}
.pg05-slides { display: flex; transition: transform 0.6s ease; height: 100%; }
.pg05-slide {
  flex: 0 0 100%; height: 100%; position: relative; cursor: pointer;
}
.pg05-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg05-slide-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(33, 47, 61, 0.92));
  padding: 1.4rem 1.2rem 1.2rem;
}
.pg05-slide-overlay h2 { font-size: 2rem; color: #fff; margin-bottom: 0.4rem; }
.pg05-slide-overlay p { font-size: 1.3rem; color: var(--pg05-text-muted); }
.pg05-dots {
  display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.8rem;
}
.pg05-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #555; cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.pg05-dot.pg05-active { background: var(--pg05-accent); transform: scale(1.2); }

/* ===== Section ===== */
.pg05-section { margin: 2rem 0; }
.pg05-section-title {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.8rem; font-weight: 700; margin-bottom: 1.2rem;
  color: var(--pg05-text); padding-bottom: 0.6rem; border-bottom: 2px solid var(--pg05-primary);
}
.pg05-section-title .pg05-title-mark {
  width: 6px; height: 22px; background: var(--pg05-accent); border-radius: 3px;
}
.pg05-section-title .pg05-more {
  margin-left: auto; font-size: 1.3rem; color: var(--pg05-accent); font-weight: 500;
}
.pg05-section h1.pg05-section-title { font-size: 2.2rem; border-bottom: none; }
.pg05-intro {
  font-size: 1.5rem; color: var(--pg05-text-muted); margin-bottom: 1.6rem; line-height: 1.7;
}

/* ===== Game grid ===== */
.pg05-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.pg05-game-card {
  background: var(--pg05-bg-light); border: 1px solid var(--pg05-border);
  border-radius: var(--pg05-radius); overflow: hidden; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.pg05-game-card:hover {
  transform: translateY(-2px); border-color: var(--pg05-accent);
  box-shadow: 0 5px 14px rgba(205, 133, 63, 0.25);
}
.pg05-game-card .pg05-game-img {
  width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #0d1620;
}
.pg05-game-card .pg05-game-img img { width: 100%; height: 100%; object-fit: cover; }
.pg05-game-name {
  font-size: 1.2rem; color: var(--pg05-text); text-align: center;
  padding: 0.6rem 0.4rem; line-height: 1.3; min-height: 3.2rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ===== Cards / panels ===== */
.pg05-card {
  background: linear-gradient(160deg, var(--pg05-bg-light), var(--pg05-bg-dark));
  border: 1px solid var(--pg05-border);
  border-radius: var(--pg05-radius);
  padding: 1.4rem;
  box-shadow: var(--pg05-shadow);
  margin-bottom: 1.2rem;
}
.pg05-card h3 { font-size: 1.6rem; margin-bottom: 0.8rem; color: var(--pg05-accent); }
.pg05-card p { font-size: 1.4rem; color: var(--pg05-text-muted); line-height: 1.6; }

.pg05-feature-list { list-style: none; }
.pg05-feature-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.8rem 0; border-bottom: 1px dashed var(--pg05-border); font-size: 1.4rem;
}
.pg05-feature-list li:last-child { border-bottom: none; }
.pg05-feature-list .pg05-list-icon { color: var(--pg05-primary); font-size: 1.8rem; flex-shrink: 0; }

/* ===== Stat grid ===== */
.pg05-stat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem;
}
.pg05-stat-box {
  background: var(--pg05-bg-dark); border: 1px solid var(--pg05-border);
  border-radius: 8px; padding: 1rem; text-align: center;
}
.pg05-stat-num { font-size: 2rem; font-weight: 800; color: var(--pg05-gold); }
.pg05-stat-label { font-size: 1.2rem; color: var(--pg05-text-muted); margin-top: 0.2rem; }

/* ===== Testimonials ===== */
.pg05-testimonial {
  background: var(--pg05-bg-light); border-left: 4px solid var(--pg05-primary);
  padding: 1rem 1.2rem; border-radius: 6px; margin-bottom: 0.8rem;
}
.pg05-testimonial .pg05-quote { font-size: 1.4rem; color: var(--pg05-text); font-style: italic; }
.pg05-testimonial .pg05-author { font-size: 1.2rem; color: var(--pg05-text-muted); margin-top: 0.5rem; }

/* ===== Winners ===== */
.pg05-winner-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.pg05-winner {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--pg05-bg-dark); padding: 0.6rem 0.8rem; border-radius: 6px;
  border: 1px solid var(--pg05-border); font-size: 1.2rem;
}
.pg05-winner .pg05-amount { color: var(--pg05-gold); font-weight: 700; margin-left: auto; }

/* ===== Payment ===== */
.pg05-payment-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.pg05-payment {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--pg05-bg-dark); border: 1px solid var(--pg05-border);
  padding: 0.7rem 1rem; border-radius: 8px; font-size: 1.3rem; color: var(--pg05-text);
}

/* ===== CTA banner ===== */
.pg05-cta {
  background: linear-gradient(135deg, var(--pg05-primary), var(--pg05-accent));
  border-radius: var(--pg05-radius); padding: 2rem 1.4rem; text-align: center;
  margin: 2rem 0; box-shadow: var(--pg05-shadow);
}
.pg05-cta h3 { color: #fff; font-size: 2rem; margin-bottom: 0.5rem; }
.pg05-cta p { color: rgba(255, 255, 255, 0.92); font-size: 1.4rem; margin-bottom: 1.2rem; }
.pg05-cta .pg05-btn { background: #fff; color: var(--pg05-primary); font-size: 1.5rem; padding: 1rem 2.4rem; }

/* ===== App download ===== */
.pg05-app-box {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--pg05-bg-light); border: 1px solid var(--pg05-border);
  border-radius: var(--pg05-radius); padding: 1.4rem;
}
.pg05-app-box .pg05-app-icon {
  width: 64px; height: 64px; border-radius: 14px; background: var(--pg05-primary);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 3rem; flex-shrink: 0;
}
.pg05-app-box h4 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.pg05-app-box p { font-size: 1.3rem; color: var(--pg05-text-muted); margin-bottom: 0.6rem; }
.pg05-app-buttons { display: flex; gap: 0.6rem; }
.pg05-app-buttons .pg05-btn { font-size: 1.2rem; padding: 0.5rem 1rem; }

/* ===== Tricks ===== */
.pg05-trick {
  display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--pg05-border);
}
.pg05-trick-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--pg05-accent); color: #2a1a08;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem;
}
.pg05-trick h4 { font-size: 1.5rem; margin-bottom: 0.3rem; color: var(--pg05-text); }
.pg05-trick p { font-size: 1.3rem; color: var(--pg05-text-muted); line-height: 1.6; }

/* ===== Footer ===== */
.pg05-footer {
  background: var(--pg05-bg-dark); border-top: 1px solid var(--pg05-border);
  padding: 2rem 1.2rem 1.5rem; margin-top: 2rem;
}
.pg05-footer p { font-size: 1.3rem; color: var(--pg05-text-muted); line-height: 1.7; }
.pg05-footer-links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1.4rem 0;
}
.pg05-footer-links a {
  display: block; padding: 1rem 1.2rem; text-align: center;
  background: linear-gradient(135deg, var(--pg05-primary), var(--pg05-primary-dark));
  color: #fff; border-radius: 8px; font-size: 1.4rem; font-weight: 600;
}
.pg05-footer-links a.pg05-gallery {
  background: linear-gradient(135deg, var(--pg05-bg-light), var(--pg05-bg-dark));
  border: 1px solid var(--pg05-border); color: var(--pg05-text);
}
.pg05-copy { text-align: center; font-size: 1.2rem; color: var(--pg05-text-muted); padding-top: 1.2rem; border-top: 1px dashed var(--pg05-border); }

/* ===== Bottom nav ===== */
.pg05-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--pg05-bottomnav-h);
  background: linear-gradient(180deg, var(--pg05-bg-light), var(--pg05-bg-dark));
  border-top: 1px solid var(--pg05-border);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.4);
}
.pg05-bottomnav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--pg05-text-muted); font-size: 1.1rem; font-weight: 500;
  transition: color 0.2s, transform 0.2s;
  position: relative;
}
.pg05-bottomnav-btn .pg05-nav-icon { font-size: 24px; line-height: 1; }
.pg05-bottomnav-btn:hover { color: var(--pg05-accent); }
.pg05-bottomnav-btn:active { transform: scale(0.92); }
.pg05-bottomnav-btn.pg05-active { color: var(--pg05-accent); }
.pg05-bottomnav-btn.pg05-active .pg05-nav-icon { color: var(--pg05-primary); }
.pg05-bottomnav-btn.pg05-promo .pg05-nav-icon { color: var(--pg05-gold); }
.pg05-badge {
  position: absolute; top: 6px; right: 18px;
  background: var(--pg05-danger); color: #fff;
  font-size: 1rem; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Desktop hide bottom nav */
@media (min-width: 769px) {
  .pg05-bottomnav { display: none; }
}

/* Mobile main padding */
@media (max-width: 768px) {
  .pg05-main { padding-bottom: calc(var(--pg05-bottomnav-h) + 16px); }
  .pg05-container { max-width: 100%; }
}

/* Desktop layout tweaks */
@media (min-width: 769px) {
  .pg05-container { max-width: 760px; }
  .pg05-game-grid { grid-template-columns: repeat(5, 1fr); }
  .pg05-stat-grid { grid-template-columns: repeat(4, 1fr); }
  .pg05-winner-list { grid-template-columns: repeat(3, 1fr); }
}