/**
 * 777d - Core Stylesheet
 * All classes prefixed with pg26- for namespace isolation
 * Colors: #273746 (dark bg) | #800080 (purple accent) | #FF8A80 (coral highlight)
 * Mobile-first design, max-width: 430px
 */

/* CSS Variables */
:root {
  --pg26-primary: #800080;
  --pg26-bg: #273746;
  --pg26-bg-dark: #1a2632;
  --pg26-bg-light: #2d4456;
  --pg26-highlight: #FF8A80;
  --pg26-text: #f0f0f0;
  --pg26-text-muted: #a0b0c0;
  --pg26-purple-glow: rgba(128, 0, 128, 0.4);
  --pg26-coral-glow: rgba(255, 138, 128, 0.3);
  --pg26-radius: 8px;
  --pg26-radius-lg: 12px;
  --pg26-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --pg26-transition: all 0.3s ease;
}

/* Reset & Base */
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: 'Segoe UI', 'Noto Sans Bengali', Tahoma, sans-serif;
  background: var(--pg26-bg);
  color: var(--pg26-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--pg26-highlight); text-decoration: none; transition: var(--pg26-transition); }
a:hover { color: #ffb0a0; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4 { margin: 0 0 1rem 0; font-weight: 700; line-height: 1.4; }
h1 { font-size: 2rem; color: var(--pg26-highlight); }
h2 { font-size: 1.7rem; color: var(--pg26-text); }
h3 { font-size: 1.5rem; color: var(--pg26-highlight); }
p { margin: 0 0 1rem 0; }
ul { list-style: none; padding: 0; margin: 0; }

/* Container */
.pg26-container { max-width: 430px; margin: 0 auto; padding: 0 1rem; position: relative; }
.pg26-wrapper { padding: 0 1rem; }

/* ===== HEADER ===== */
.pg26-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--pg26-bg-dark) 0%, var(--pg26-bg) 100%);
  border-bottom: 2px solid var(--pg26-primary);
  padding: 0 1rem;
  height: 5.4rem;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(128,0,128,0.3);
}
.pg26-header-logo {
  display: flex; align-items: center; gap: 0.6rem;
}
.pg26-header-logo img { width: 28px; height: 28px; border-radius: 4px; }
.pg26-header-logo span { font-size: 1.6rem; font-weight: 800; color: var(--pg26-highlight); letter-spacing: 1px; }
.pg26-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.pg26-btn-register, .pg26-btn-login {
  padding: 0.5rem 1.2rem; border-radius: var(--pg26-radius);
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  border: none; transition: var(--pg26-transition);
  min-height: 36px;
}
.pg26-btn-register {
  background: linear-gradient(135deg, var(--pg26-primary), #a020a0);
  color: #fff;
  box-shadow: 0 2px 6px var(--pg26-purple-glow);
}
.pg26-btn-register:hover { transform: scale(1.05); box-shadow: 0 4px 12px var(--pg26-purple-glow); }
.pg26-btn-login {
  background: transparent;
  color: var(--pg26-highlight);
  border: 2px solid var(--pg26-highlight);
}
.pg26-btn-login:hover { background: var(--pg26-highlight); color: var(--pg26-bg-dark); }
.pg26-menu-toggle {
  background: none; border: none; color: var(--pg26-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center;
}

/* ===== MOBILE MENU ===== */
.pg26-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.pg26-overlay-active { display: block; }
#pg26-mobile-menu {
  position: fixed; top: 0; right: -280px;
  width: 260px; height: 100vh;
  background: var(--pg26-bg-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.pg26-menu-active { right: 0 !important; }
.pg26-menu-close {
  background: none; border: none; color: var(--pg26-highlight);
  font-size: 2.4rem; cursor: pointer;
  position: absolute; top: 1rem; right: 1rem;
}
.pg26-menu-title { font-size: 1.5rem; color: var(--pg26-highlight); margin-bottom: 1.5rem; padding-top: 0.5rem; }
.pg26-menu-link {
  display: block; padding: 1rem 0;
  color: var(--pg26-text); font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--pg26-transition);
}
.pg26-menu-link:hover { color: var(--pg26-highlight); padding-left: 0.8rem; }

/* ===== BOTTOM NAV ===== */
.pg26-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, var(--pg26-bg-dark) 0%, #111a24 100%);
  border-top: 1px solid rgba(128,0,128,0.4);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}
.pg26-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 54px;
  background: none; border: none; color: var(--pg26-text-muted);
  cursor: pointer; transition: var(--pg26-transition);
  font-size: 1rem; gap: 2px; position: relative;
}
.pg26-bottom-nav-btn .pg26-nav-icon { font-size: 2.2rem; line-height: 1; }
.pg26-bottom-nav-btn .pg26-nav-label { font-size: 1rem; line-height: 1.2; }
.pg26-bottom-nav-btn:hover, .pg26-nav-active {
  color: var(--pg26-highlight);
}
.pg26-bottom-nav-btn:hover .pg26-nav-icon,
.pg26-nav-active .pg26-nav-icon {
  transform: scale(1.15);
  text-shadow: 0 0 8px var(--pg26-coral-glow);
}
.pg26-nav-active::after {
  content: ''; position: absolute; top: -1px;
  left: 20%; right: 20%; height: 2px;
  background: var(--pg26-highlight);
  border-radius: 0 0 2px 2px;
}

/* ===== CAROUSEL ===== */
.pg26-carousel { position: relative; overflow: hidden; border-radius: var(--pg26-radius-lg); margin: 1rem 0; }
.pg26-carousel-slide {
  display: none; width: 100%; aspect-ratio: 16/9;
  cursor: pointer; border-radius: var(--pg26-radius-lg);
  overflow: hidden;
}
.pg26-slide-active { display: block; }
.pg26-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg26-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.pg26-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: var(--pg26-transition);
}
.pg26-dot-active { background: var(--pg26-highlight); transform: scale(1.3); }

/* ===== GAME GRID ===== */
.pg26-section { margin: 1.5rem 0; }
.pg26-section-title {
  font-size: 1.6rem; color: var(--pg26-highlight);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pg26-primary);
  display: flex; align-items: center; gap: 0.6rem;
}
.pg26-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.pg26-game-card {
  text-align: center; cursor: pointer;
  border-radius: var(--pg26-radius);
  overflow: hidden; transition: var(--pg26-transition);
  background: var(--pg26-bg-light);
  padding: 0.5rem;
}
.pg26-game-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--pg26-purple-glow); }
.pg26-game-card img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 6px; margin-bottom: 0.3rem;
}
.pg26-game-card span {
  font-size: 1.1rem; color: var(--pg26-text);
  display: block; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CONTENT MODULES ===== */
.pg26-card {
  background: var(--pg26-bg-light);
  border-radius: var(--pg26-radius-lg);
  padding: 1.5rem; margin: 1rem 0;
  border: 1px solid rgba(128,0,128,0.2);
  box-shadow: var(--pg26-shadow);
}
.pg26-card h3 { margin-bottom: 0.8rem; }
.pg26-card p { color: var(--pg26-text-muted); font-size: 1.3rem; line-height: 1.6; }

.pg26-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pg26-primary), #a020a0);
  color: #fff; padding: 1rem 2rem;
  border-radius: var(--pg26-radius);
  font-size: 1.4rem; font-weight: 700;
  cursor: pointer; border: none;
  transition: var(--pg26-transition);
  text-align: center;
  box-shadow: 0 4px 12px var(--pg26-purple-glow);
}
.pg26-promo-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px var(--pg26-purple-glow); }

.pg26-promo-text {
  color: var(--pg26-highlight); font-weight: 700;
  cursor: pointer; font-size: 1.3rem;
  border-bottom: 1px dashed var(--pg26-highlight);
  transition: var(--pg26-transition);
}
.pg26-promo-text:hover { color: #ffb0a0; }

/* Stats Grid */
.pg26-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}
.pg26-stat-item {
  background: rgba(128,0,128,0.15);
  border-radius: var(--pg26-radius);
  padding: 1rem; text-align: center;
  border: 1px solid rgba(128,0,128,0.3);
}
.pg26-stat-value { font-size: 1.8rem; font-weight: 800; color: var(--pg26-highlight); }
.pg26-stat-label { font-size: 1.1rem; color: var(--pg26-text-muted); margin-top: 0.3rem; }

/* Winners List */
.pg26-winner-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem; margin-bottom: 0.5rem;
  background: rgba(255,255,255,0.04);
  border-radius: var(--pg26-radius);
  border-left: 3px solid var(--pg26-primary);
}
.pg26-winner-name { font-weight: 600; color: var(--pg26-highlight); font-size: 1.2rem; }
.pg26-winner-game { font-size: 1.1rem; color: var(--pg26-text-muted); }
.pg26-winner-amount { font-weight: 800; color: var(--pg26-highlight); margin-left: auto; font-size: 1.3rem; }

/* Payment Icons */
.pg26-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center;
}
.pg26-payment-item {
  background: rgba(255,255,255,0.06);
  padding: 0.6rem 1.2rem; border-radius: var(--pg26-radius);
  font-size: 1.2rem; color: var(--pg26-text-muted);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Testimonial */
.pg26-testimonial {
  background: rgba(128,0,128,0.1);
  border-radius: var(--pg26-radius);
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--pg26-highlight);
}
.pg26-testimonial-text { font-size: 1.3rem; font-style: italic; color: var(--pg26-text); margin-bottom: 0.5rem; }
.pg26-testimonial-author { font-size: 1.1rem; color: var(--pg26-primary); font-weight: 600; }

/* App Download */
.pg26-app-cta {
  background: linear-gradient(135deg, var(--pg26-primary), var(--pg26-bg-dark));
  border-radius: var(--pg26-radius-lg);
  padding: 2rem; text-align: center;
  border: 1px solid rgba(255,138,128,0.3);
}
.pg26-app-cta h3 { color: var(--pg26-highlight); margin-bottom: 0.5rem; }

/* ===== FOOTER ===== */
.pg26-footer {
  background: var(--pg26-bg-dark);
  padding: 2rem 1rem 8rem; margin-top: 2rem;
  border-top: 2px solid var(--pg26-primary);
  text-align: center;
}
.pg26-footer-brand { color: var(--pg26-text-muted); font-size: 1.2rem; margin-bottom: 1.5rem; line-height: 1.6; }
.pg26-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.5rem; }
.pg26-footer-links a {
  color: var(--pg26-text-muted); font-size: 1.1rem;
  padding: 0.4rem 0.8rem; border-radius: 4px;
  background: rgba(128,0,128,0.15);
  transition: var(--pg26-transition);
}
.pg26-footer-links a:hover { color: var(--pg26-highlight); background: rgba(128,0,128,0.3); }
.pg26-footer-copy { font-size: 1.1rem; color: rgba(255,255,255,0.3); margin-top: 1rem; }

/* ===== FAQ ===== */
.pg26-faq-item { margin-bottom: 0.8rem; border-radius: var(--pg26-radius); overflow: hidden; }
.pg26-faq-q {
  background: rgba(128,0,128,0.15);
  padding: 1rem; font-weight: 600;
  color: var(--pg26-highlight); font-size: 1.3rem;
  border-left: 3px solid var(--pg26-primary);
}
.pg26-faq-a {
  padding: 1rem; background: rgba(255,255,255,0.03);
  color: var(--pg26-text-muted); font-size: 1.2rem;
  line-height: 1.6;
}

/* ===== FEATURES LIST ===== */
.pg26-feature-list { list-style: none; padding: 0; }
.pg26-feature-list li {
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative; border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--pg26-text-muted); font-size: 1.3rem;
}
.pg26-feature-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 0.8rem;
  color: var(--pg26-primary); font-size: 1.2rem;
}

/* Steps */
.pg26-steps { counter-reset: pg26-step; }
.pg26-step {
  position: relative; padding: 1rem 0 1rem 3.5rem;
  margin-bottom: 0.5rem; border-left: 2px solid var(--pg26-primary);
}
.pg26-step::before {
  counter-increment: pg26-step;
  content: counter(pg26-step);
  position: absolute; left: -1.3rem; top: 0.8rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--pg26-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
}
.pg26-step-title { font-weight: 700; color: var(--pg26-highlight); margin-bottom: 0.3rem; font-size: 1.3rem; }
.pg26-step-desc { color: var(--pg26-text-muted); font-size: 1.2rem; }

/* ===== HELP PAGES ===== */
.pg26-help-section { margin: 1.5rem 0; }
.pg26-help-section h2 { color: var(--pg26-highlight); margin-bottom: 1rem; font-size: 1.6rem; }

/* Internal links */
.pg26-internal-link { color: var(--pg26-highlight); border-bottom: 1px dashed rgba(255,138,128,0.5); }
.pg26-internal-link:hover { color: #ffb0a0; border-bottom-color: #ffb0a0; }

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .pg26-bottom-nav { display: none; }
  .pg26-container { max-width: 430px; }
}
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .pg26-header { padding: 0 0.8rem; }
}
@media (max-width: 360px) {
  .pg26-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .pg26-btn-register, .pg26-btn-login { padding: 0.4rem 0.8rem; font-size: 1.1rem; }
}
