/**
 * ll77.click - Main Stylesheet
 * All classes use pg6b- prefix for namespace isolation
 * Color palette: #FFB347 | #FF7F50 | #FF9500 | #0D1117 | #EEE8AA
 * Dark background with warm accent colors
 */

:root {
  --pg6b-primary: #FF9500;
  --pg6b-secondary: #FFB347;
  --pg6b-accent: #FF7F50;
  --pg6b-bg: #0D1117;
  --pg6b-bg-card: #161B22;
  --pg6b-bg-dark: #010409;
  --pg6b-text: #EEE8AA;
  --pg6b-text-light: #F5F5DC;
  --pg6b-text-muted: #8B949E;
  --pg6b-border: #30363D;
  --pg6b-gold: #FFD700;
  --pg6b-gradient: linear-gradient(135deg, #FF9500, #FF7F50);
  --pg6b-radius: 8px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--pg6b-bg);
  color: var(--pg6b-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pg6b-primary); text-decoration: none; }
a:hover { color: var(--pg6b-secondary); }

/* ===== HEADER ===== */
.pg6b-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--pg6b-bg-dark);
  border-bottom: 1px solid var(--pg6b-border);
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pg6b-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pg6b-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.pg6b-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg6b-gold);
  letter-spacing: 0.5px;
}
.pg6b-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pg6b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: var(--pg6b-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 36px;
}
.pg6b-btn-register {
  background: var(--pg6b-gradient);
  color: #000;
}
.pg6b-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 12px rgba(255, 149, 0, 0.4);
}
.pg6b-btn-login {
  background: transparent;
  color: var(--pg6b-primary);
  border: 1px solid var(--pg6b-primary);
}
.pg6b-btn-login:hover {
  background: rgba(255, 149, 0, 0.1);
}
.pg6b-menu-toggle {
  background: none;
  border: none;
  color: var(--pg6b-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* ===== MOBILE MENU ===== */
.pg6b-mobile-menu {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--pg6b-bg-dark);
  border-bottom: 2px solid var(--pg6b-primary);
  max-width: 430px;
  margin: 0 auto;
  padding: 1rem 0;
}
.pg6b-mobile-menu a {
  display: block;
  padding: 1rem 1.6rem;
  color: var(--pg6b-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--pg6b-border);
  transition: background 0.2s;
}
.pg6b-mobile-menu a:hover {
  background: rgba(255, 149, 0, 0.1);
  color: var(--pg6b-primary);
}

/* ===== MAIN CONTENT ===== */
.pg6b-main {
  padding-top: 58px;
  padding-bottom: 1rem;
}
@media (max-width: 768px) {
  .pg6b-main { padding-bottom: 80px; }
}

/* ===== CAROUSEL ===== */
.pg6b-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--pg6b-radius) var(--pg6b-radius);
}
.pg6b-slide {
  display: none;
  cursor: pointer;
}
.pg6b-slide img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
}
.pg6b-slide-active { display: block; }

/* ===== SECTION COMMON ===== */
.pg6b-section {
  padding: 2rem 1.2rem;
}
.pg6b-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg6b-gold);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pg6b-primary);
}
.pg6b-section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pg6b-secondary);
  margin: 1.6rem 0 0.8rem;
}

/* ===== GAME GRID ===== */
.pg6b-game-cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pg6b-accent);
  margin: 1.6rem 0 1rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--pg6b-primary);
}
.pg6b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.pg6b-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--pg6b-radius);
  padding: 0.5rem;
  background: var(--pg6b-bg-card);
  border: 1px solid var(--pg6b-border);
}
.pg6b-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--pg6b-primary);
}
.pg6b-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  margin-bottom: 0.3rem;
}
.pg6b-game-item span {
  font-size: 1.1rem;
  color: var(--pg6b-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CARDS ===== */
.pg6b-card {
  background: var(--pg6b-bg-card);
  border: 1px solid var(--pg6b-border);
  border-radius: var(--pg6b-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
}
.pg6b-card h3 {
  font-size: 1.5rem;
  color: var(--pg6b-gold);
  margin-bottom: 0.6rem;
}
.pg6b-card p {
  font-size: 1.3rem;
  color: var(--pg6b-text-muted);
  line-height: 1.8rem;
}

/* ===== PROMO BUTTONS ===== */
.pg6b-promo-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--pg6b-gradient);
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--pg6b-radius);
  border: none;
  cursor: pointer;
  margin: 1rem 0;
  transition: all 0.2s;
}
.pg6b-promo-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(255, 149, 0, 0.5);
}
.pg6b-promo-link {
  color: var(--pg6b-primary);
  font-weight: 600;
  cursor: pointer;
}
.pg6b-promo-link:hover {
  color: var(--pg6b-gold);
  text-decoration: underline;
}

/* ===== TESTIMONIALS ===== */
.pg6b-testimonial {
  background: var(--pg6b-bg-card);
  border-left: 3px solid var(--pg6b-primary);
  border-radius: 0 var(--pg6b-radius) var(--pg6b-radius) 0;
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.pg6b-testimonial-name {
  font-weight: 700;
  color: var(--pg6b-gold);
  font-size: 1.3rem;
}
.pg6b-testimonial-text {
  font-size: 1.2rem;
  color: var(--pg6b-text-muted);
  margin-top: 0.4rem;
  line-height: 1.7rem;
}

/* ===== WINNERS ===== */
.pg6b-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--pg6b-border);
}
.pg6b-winner-name {
  font-size: 1.2rem;
  color: var(--pg6b-text);
}
.pg6b-winner-game {
  font-size: 1.1rem;
  color: var(--pg6b-text-muted);
}
.pg6b-winner-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pg6b-gold);
}

/* ===== PAYMENT ICONS ===== */
.pg6b-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}
.pg6b-payment-item {
  background: var(--pg6b-bg-card);
  border: 1px solid var(--pg6b-border);
  border-radius: var(--pg6b-radius);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--pg6b-text-muted);
}

/* ===== FOOTER ===== */
.pg6b-footer {
  background: var(--pg6b-bg-dark);
  border-top: 1px solid var(--pg6b-border);
  padding: 2rem 1.2rem 8rem;
  text-align: center;
}
.pg6b-footer-desc {
  font-size: 1.2rem;
  color: var(--pg6b-text-muted);
  line-height: 1.8rem;
  margin-bottom: 1.2rem;
}
.pg6b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.pg6b-footer-links a {
  font-size: 1.2rem;
  color: var(--pg6b-text-muted);
  padding: 0.3rem 0.6rem;
  transition: color 0.2s;
}
.pg6b-footer-links a:hover {
  color: var(--pg6b-primary);
}
.pg6b-footer-copy {
  font-size: 1.1rem;
  color: var(--pg6b-text-muted);
  border-top: 1px solid var(--pg6b-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ===== BOTTOM NAV ===== */
.pg6b-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--pg6b-bg-dark);
  border-top: 2px solid var(--pg6b-primary);
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
}
@media (min-width: 769px) {
  .pg6b-bnav { display: none; }
}
.pg6b-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--pg6b-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  gap: 0.2rem;
}
.pg6b-bnav-btn i,
.pg6b-bnav-btn .material-icons-outlined,
.pg6b-bnav-btn ion-icon {
  font-size: 24px;
}
.pg6b-bnav-btn span {
  font-size: 1rem;
}
.pg6b-bnav-btn:hover,
.pg6b-bnav-active {
  color: var(--pg6b-primary);
}
.pg6b-bnav-active i,
.pg6b-bnav-active .material-icons-outlined,
.pg6b-bnav-active ion-icon {
  color: var(--pg6b-gold);
}

/* ===== FAQ ===== */
.pg6b-faq-item {
  background: var(--pg6b-bg-card);
  border: 1px solid var(--pg6b-border);
  border-radius: var(--pg6b-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
}
.pg6b-faq-q {
  font-weight: 700;
  color: var(--pg6b-gold);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.pg6b-faq-a {
  font-size: 1.2rem;
  color: var(--pg6b-text-muted);
  line-height: 1.7rem;
}

/* ===== HELPER ===== */
.pg6b-text-center { text-align: center; }
.pg6b-mt-1 { margin-top: 1rem; }
.pg6b-mb-1 { margin-bottom: 1rem; }
.pg6b-hidden { display: none; }
