/*
 * bluestacks.cfd - Main Stylesheet
 * All classes use pg46- prefix for namespace isolation
 * Color palette: #FFB3BA | #6495ED | #141414 | #DEB887 | #FFB3FF
 */

:root {
  --pg46-primary: #6495ED;
  --pg46-secondary: #FFB3BA;
  --pg46-accent: #DEB887;
  --pg46-highlight: #FFB3FF;
  --pg46-bg: #141414;
  --pg46-bg-light: #1e1e2e;
  --pg46-bg-card: #222236;
  --pg46-text: #f0f0f0;
  --pg46-text-muted: #a0a0b8;
  --pg46-border: #333355;
  --pg46-radius: 8px;
  --pg46-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
  background: var(--pg46-bg);
  color: var(--pg46-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.pg46-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, #1a1a2e 0%, #141414 100%);
  border-bottom: 1px solid var(--pg46-border);
  padding: 0 1.2rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pg46-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.pg46-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.pg46-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg46-primary);
  letter-spacing: 0.5px;
}
.pg46-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pg46-btn-register {
  background: linear-gradient(135deg, var(--pg46-primary), #4a7bd4);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pg46-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 8px rgba(100,149,237,0.4); }
.pg46-btn-login {
  background: transparent;
  color: var(--pg46-accent);
  border: 1.5px solid var(--pg46-accent);
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pg46-btn-login:hover { background: var(--pg46-accent); color: var(--pg46-bg); }
.pg46-menu-toggle {
  background: none;
  border: none;
  color: var(--pg46-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
}

/* ========== MOBILE MENU ========== */
.pg46-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.pg46-overlay-active { opacity: 1; visibility: visible; }
.pg46-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 260px;
  height: 100%;
  background: var(--pg46-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.pg46-menu-active { right: 0; }
.pg46-menu-close {
  background: none;
  border: none;
  color: var(--pg46-text);
  font-size: 2.2rem;
  position: absolute;
  top: 1rem; right: 1rem;
  cursor: pointer;
}
.pg46-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg46-primary);
  margin-bottom: 1.5rem;
}
.pg46-menu-link {
  display: block;
  color: var(--pg46-text);
  text-decoration: none;
  padding: 1rem 0;
  font-size: 1.3rem;
  border-bottom: 1px solid var(--pg46-border);
  transition: color 0.2s;
}
.pg46-menu-link:hover { color: var(--pg46-primary); }

/* ========== MAIN CONTENT ========== */
main {
  padding-top: 56px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* ========== CAROUSEL ========== */
.pg46-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 0 0 var(--pg46-radius) var(--pg46-radius);
}
.pg46-carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.pg46-slide-active { opacity: 1; }
.pg46-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pg46-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.pg46-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.pg46-dot-active { background: var(--pg46-primary); transform: scale(1.3); }

/* ========== SECTIONS ========== */
.pg46-section {
  padding: 2rem 1.2rem;
}
.pg46-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg46-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pg46-border);
}
.pg46-section-title span { color: var(--pg46-accent); }

/* ========== GAME GRID ========== */
.pg46-category-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pg46-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.4rem;
  border-left: 3px solid var(--pg46-primary);
}
.pg46-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.pg46-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}
.pg46-game-item:hover { transform: translateY(-2px); }
.pg46-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--pg46-radius);
  border: 1px solid var(--pg46-border);
  object-fit: cover;
}
.pg46-game-name {
  font-size: 1rem;
  color: var(--pg46-text-muted);
  margin-top: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== CONTENT BLOCKS ========== */
.pg46-content-block {
  background: var(--pg46-bg-card);
  border-radius: var(--pg46-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--pg46-border);
}
.pg46-content-block h2 {
  font-size: 1.6rem;
  color: var(--pg46-primary);
  margin-bottom: 1rem;
}
.pg46-content-block h3 {
  font-size: 1.3rem;
  color: var(--pg46-accent);
  margin: 1rem 0 0.5rem;
}
.pg46-content-block p {
  font-size: 1.2rem;
  color: var(--pg46-text-muted);
  line-height: 1.8rem;
  margin-bottom: 0.8rem;
}
.pg46-promo-text {
  color: var(--pg46-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* ========== CTA BUTTON ========== */
.pg46-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg46-primary), #4a7bd4);
  color: #fff;
  padding: 1rem 2.4rem;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.pg46-cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 16px rgba(100,149,237,0.5); }
.pg46-cta-secondary {
  background: linear-gradient(135deg, var(--pg46-accent), #c9a86c);
  color: var(--pg46-bg);
}
.pg46-cta-center { display: block; text-align: center; margin: 1.5rem 0; }

/* ========== TESTIMONIALS ========== */
.pg46-testimonial {
  background: var(--pg46-bg-card);
  border-radius: var(--pg46-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--pg46-primary);
}
.pg46-testimonial-author {
  font-size: 1.1rem;
  color: var(--pg46-accent);
  font-weight: 600;
}
.pg46-testimonial-text {
  font-size: 1.2rem;
  color: var(--pg46-text-muted);
  margin-top: 0.5rem;
  line-height: 1.6rem;
}

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

/* ========== WINNERS TABLE ========== */
.pg46-winners-table {
  width: 100%;
  font-size: 1.1rem;
  border-collapse: collapse;
}
.pg46-winners-table th {
  background: var(--pg46-bg-card);
  color: var(--pg46-accent);
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-size: 1rem;
}
.pg46-winners-table td {
  padding: 0.5rem 0.8rem;
  border-bottom: 1px solid var(--pg46-border);
  color: var(--pg46-text-muted);
  font-size: 1.1rem;
}

/* ========== FOOTER ========== */
.pg46-footer {
  background: var(--pg46-bg-light);
  border-top: 1px solid var(--pg46-border);
  padding: 2rem 1.2rem 3rem;
  text-align: center;
}
.pg46-footer-brand {
  font-size: 1.2rem;
  color: var(--pg46-text-muted);
  line-height: 1.8rem;
  margin-bottom: 1.2rem;
}
.pg46-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.pg46-footer-links a {
  color: var(--pg46-primary);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--pg46-border);
  border-radius: 15px;
  transition: all 0.2s;
}
.pg46-footer-links a:hover { background: var(--pg46-primary); color: #fff; }
.pg46-footer-copy {
  font-size: 1rem;
  color: var(--pg46-text-muted);
  margin-top: 0.8rem;
}

/* ========== BOTTOM NAV ========== */
.pg46-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1e1e2e, #141414);
  border-top: 1px solid var(--pg46-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
@media (min-width: 769px) {
  .pg46-bottom-nav { display: none; }
}
.pg46-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--pg46-text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.pg46-bottom-nav-btn i,
.pg46-bottom-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}
.pg46-bottom-nav-btn span { font-size: 1rem; }
.pg46-bottom-nav-btn:hover,
.pg46-bottom-nav-btn.pg46-nav-active {
  color: var(--pg46-primary);
}
.pg46-bottom-nav-btn.pg46-nav-active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--pg46-primary);
  border-radius: 2px;
}

/* ========== UTILITY CLASSES ========== */
.pg46-text-center { text-align: center; }
.pg46-mt-1 { margin-top: 1rem; }
.pg46-mt-2 { margin-top: 2rem; }
.pg46-mb-1 { margin-bottom: 1rem; }
.pg46-mb-2 { margin-bottom: 2rem; }
.pg46-hidden { display: none; }

/* ========== FEATURES LIST ========== */
.pg46-features-list {
  list-style: none;
  padding: 0;
}
.pg46-features-list li {
  padding: 0.6rem 0;
  font-size: 1.2rem;
  color: var(--pg46-text-muted);
  border-bottom: 1px solid rgba(51,51,85,0.4);
  padding-left: 1.4rem;
  position: relative;
}
.pg46-features-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--pg46-primary);
  font-size: 1rem;
}

/* ========== FAQ ========== */
.pg46-faq-item {
  background: var(--pg46-bg-card);
  border-radius: var(--pg46-radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--pg46-border);
}
.pg46-faq-q {
  padding: 1rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pg46-text);
  cursor: pointer;
}
.pg46-faq-a {
  padding: 0 1.2rem 1rem;
  font-size: 1.1rem;
  color: var(--pg46-text-muted);
  line-height: 1.6rem;
}

/* ========== INTERNAL LINKS ========== */
.pg46-internal-link {
  color: var(--pg46-primary);
  text-decoration: underline;
  transition: color 0.2s;
}
.pg46-internal-link:hover { color: var(--pg46-highlight); }
