/**
 * ae77.click Layout Stylesheet
 * All classes use w3c2a- prefix for namespace isolation
 * Color palette: #B0E0E6 | #0D1117 | #D3D3D3 | #FFFACD
 * Mobile-first responsive design
 */

:root {
  --w3c2a-primary: #B0E0E6;
  --w3c2a-bg: #0D1117;
  --w3c2a-text: #D3D3D3;
  --w3c2a-accent: #FFFACD;
  --w3c2a-dark: #0a0e14;
  --w3c2a-card: #161b22;
  --w3c2a-border: #21262d;
  --w3c2a-glow: #4da6b5;
  --w3c2a-gold: #f5d442;
  --w3c2a-green: #3fb950;
  --w3c2a-red: #f85149;
  --w3c2a-radius: 8px;
  --w3c2a-radius-lg: 12px;
  --w3c2a-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --w3c2a-transition: all 0.3s ease;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Bengali', sans-serif;
  background: var(--w3c2a-bg);
  color: var(--w3c2a-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--w3c2a-primary);
  text-decoration: none;
  transition: var(--w3c2a-transition);
}

a:hover {
  color: var(--w3c2a-accent);
}

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

/* ===== HEADER ===== */
.w3c2a-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: var(--w3c2a-dark);
  border-bottom: 1px solid var(--w3c2a-border);
  padding: 0 1.2rem;
  height: 5.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--w3c2a-transition);
}

.w3c2a-header-scrolled {
  background: rgba(10,14,20,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.w3c2a-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w3c2a-logo-area img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 4px;
}

.w3c2a-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w3c2a-primary);
  letter-spacing: 0.5px;
}

.w3c2a-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w3c2a-btn-register {
  background: var(--w3c2a-gold);
  color: var(--w3c2a-dark);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--w3c2a-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--w3c2a-transition);
  white-space: nowrap;
}

.w3c2a-btn-register:hover {
  background: var(--w3c2a-accent);
  transform: scale(1.05);
}

.w3c2a-btn-login {
  background: transparent;
  color: var(--w3c2a-primary);
  border: 1px solid var(--w3c2a-primary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--w3c2a-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--w3c2a-transition);
  white-space: nowrap;
}

.w3c2a-btn-login:hover {
  background: var(--w3c2a-primary);
  color: var(--w3c2a-dark);
}

.w3c2a-menu-btn {
  background: none;
  border: none;
  color: var(--w3c2a-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* ===== MOBILE MENU ===== */
.w3c2a-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.w3c2a-overlay-active {
  opacity: 1;
  pointer-events: auto;
}

.w3c2a-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--w3c2a-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  border-left: 1px solid var(--w3c2a-border);
}

.w3c2a-menu-active {
  right: 0;
}

.w3c2a-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--w3c2a-text);
  font-size: 2rem;
  cursor: pointer;
}

.w3c2a-mobile-menu a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--w3c2a-border);
  color: var(--w3c2a-text);
  font-size: 1.4rem;
}

.w3c2a-mobile-menu a:hover {
  color: var(--w3c2a-primary);
  padding-left: 0.5rem;
}

/* ===== BANNER / SLIDER ===== */
.w3c2a-banner {
  margin-top: 5.2rem;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--w3c2a-radius-lg) var(--w3c2a-radius-lg);
}

.w3c2a-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.w3c2a-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.w3c2a-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w3c2a-slide-active {
  opacity: 1;
}

.w3c2a-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}

.w3c2a-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--w3c2a-transition);
}

.w3c2a-dot-active {
  background: var(--w3c2a-gold);
  width: 20px;
  border-radius: 4px;
}

/* ===== MAIN CONTENT ===== */
.w3c2a-main {
  padding: 1rem 1.2rem;
  padding-bottom: 8rem;
}

.w3c2a-section {
  margin-bottom: 2.5rem;
}

.w3c2a-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w3c2a-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--w3c2a-glow);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.w3c2a-section-title i,
.w3c2a-section-title .material-symbols-outlined {
  font-size: 2rem;
  color: var(--w3c2a-gold);
}

.w3c2a-cat-header {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--w3c2a-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--w3c2a-glow);
}

/* ===== GAME GRID ===== */
.w3c2a-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.w3c2a-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--w3c2a-transition);
  border-radius: var(--w3c2a-radius);
  padding: 0.4rem;
  background: var(--w3c2a-card);
  border: 1px solid var(--w3c2a-border);
}

.w3c2a-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--w3c2a-glow);
  box-shadow: 0 4px 16px rgba(77,166,181,0.2);
}

.w3c2a-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.w3c2a-game-item span {
  font-size: 1rem;
  color: var(--w3c2a-text);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.4rem;
}

/* ===== CARDS ===== */
.w3c2a-card {
  background: var(--w3c2a-card);
  border: 1px solid var(--w3c2a-border);
  border-radius: var(--w3c2a-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  transition: var(--w3c2a-transition);
}

.w3c2a-card:hover {
  border-color: var(--w3c2a-glow);
}

.w3c2a-card h3 {
  font-size: 1.4rem;
  color: var(--w3c2a-primary);
  margin-bottom: 0.6rem;
}

.w3c2a-card p {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--w3c2a-text);
}

/* ===== PROMO BUTTONS ===== */
.w3c2a-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w3c2a-gold), #e6c030);
  color: var(--w3c2a-dark);
  padding: 0.8rem 2rem;
  border-radius: var(--w3c2a-radius);
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--w3c2a-transition);
  border: none;
  text-align: center;
  box-shadow: 0 2px 8px rgba(245,212,66,0.3);
}

.w3c2a-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(245,212,66,0.5);
}

.w3c2a-promo-link {
  color: var(--w3c2a-gold);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1.3rem;
}

.w3c2a-promo-link:hover {
  color: var(--w3c2a-accent);
}

/* ===== FOOTER ===== */
.w3c2a-footer {
  background: var(--w3c2a-dark);
  border-top: 1px solid var(--w3c2a-border);
  padding: 2rem 1.2rem;
  text-align: center;
}

.w3c2a-footer-desc {
  font-size: 1.2rem;
  color: var(--w3c2a-text);
  line-height: 1.6rem;
  margin-bottom: 1.5rem;
}

.w3c2a-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.w3c2a-footer-links a {
  font-size: 1.1rem;
  color: var(--w3c2a-primary);
  padding: 0.4rem 0.8rem;
  background: var(--w3c2a-card);
  border-radius: var(--w3c2a-radius);
  border: 1px solid var(--w3c2a-border);
  transition: var(--w3c2a-transition);
}

.w3c2a-footer-links a:hover {
  border-color: var(--w3c2a-glow);
  color: var(--w3c2a-accent);
}

.w3c2a-footer-copy {
  font-size: 1.1rem;
  color: #555;
  margin-top: 1rem;
}

.w3c2a-partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--w3c2a-border);
  border-bottom: 1px solid var(--w3c2a-border);
}

.w3c2a-partner-logos img {
  height: 2.4rem;
  opacity: 0.6;
  transition: var(--w3c2a-transition);
}

.w3c2a-partner-logos img:hover {
  opacity: 1;
}

/* ===== BOTTOM NAV ===== */
.w3c2a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: var(--w3c2a-dark);
  border-top: 1px solid var(--w3c2a-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 0.4rem;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.5);
}

.w3c2a-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  cursor: pointer;
  transition: var(--w3c2a-transition);
  color: var(--w3c2a-text);
  background: none;
  border: none;
  border-radius: var(--w3c2a-radius);
  padding: 0.3rem;
  position: relative;
}

.w3c2a-nav-item:active {
  transform: scale(0.92);
}

.w3c2a-nav-item i,
.w3c2a-nav-item .material-symbols-outlined,
.w3c2a-nav-item ion-icon,
.w3c2a-nav-item bi {
  font-size: 22px;
}

.w3c2a-nav-item span,
.w3c2a-nav-item .w3c2a-nav-label {
  font-size: 1rem;
  margin-top: 0.1rem;
  white-space: nowrap;
}

.w3c2a-nav-item:hover,
.w3c2a-nav-active {
  color: var(--w3c2a-gold);
}

.w3c2a-nav-active::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 25%;
  width: 50%;
  height: 2px;
  background: var(--w3c2a-gold);
  border-radius: 2px;
}

/* ===== UTILITY CLASSES ===== */
.w3c2a-text-center { text-align: center; }
.w3c2a-text-gold { color: var(--w3c2a-gold); }
.w3c2a-text-primary { color: var(--w3c2a-primary); }
.w3c2a-text-accent { color: var(--w3c2a-accent); }
.w3c2a-text-green { color: var(--w3c2a-green); }
.w3c2a-mt-1 { margin-top: 1rem; }
.w3c2a-mt-2 { margin-top: 2rem; }
.w3c2a-mb-1 { margin-bottom: 1rem; }
.w3c2a-mb-2 { margin-bottom: 2rem; }
.w3c2a-p-1 { padding: 1rem; }

.w3c2a-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.w3c2a-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

/* ===== CONTENT BLOCKS ===== */
.w3c2a-content-block {
  background: var(--w3c2a-card);
  border-radius: var(--w3c2a-radius-lg);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--w3c2a-border);
}

.w3c2a-content-block h2 {
  font-size: 1.6rem;
  color: var(--w3c2a-primary);
  margin-bottom: 0.8rem;
}

.w3c2a-content-block h3 {
  font-size: 1.4rem;
  color: var(--w3c2a-accent);
  margin-bottom: 0.6rem;
}

.w3c2a-content-block p {
  font-size: 1.3rem;
  line-height: 1.7rem;
  color: var(--w3c2a-text);
  margin-bottom: 0.8rem;
}

.w3c2a-content-block ul {
  padding-left: 1.6rem;
  margin-bottom: 0.8rem;
}

.w3c2a-content-block li {
  font-size: 1.3rem;
  line-height: 1.7rem;
  color: var(--w3c2a-text);
  margin-bottom: 0.4rem;
}

/* ===== WINNER SHOWCASE ===== */
.w3c2a-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.w3c2a-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  background: var(--w3c2a-dark);
  border-radius: var(--w3c2a-radius);
  border: 1px solid var(--w3c2a-border);
}

.w3c2a-winner-item img {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  object-fit: cover;
}

.w3c2a-winner-info {
  flex: 1;
}

.w3c2a-winner-name {
  font-size: 1.2rem;
  color: var(--w3c2a-primary);
  font-weight: 600;
}

.w3c2a-winner-amount {
  font-size: 1.3rem;
  color: var(--w3c2a-gold);
  font-weight: 700;
}

/* ===== PAYMENT METHODS ===== */
.w3c2a-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.w3c2a-payment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem;
  background: var(--w3c2a-dark);
  border-radius: var(--w3c2a-radius);
  border: 1px solid var(--w3c2a-border);
  min-width: 6rem;
}

.w3c2a-payment-item i {
  font-size: 2.4rem;
  color: var(--w3c2a-primary);
}

.w3c2a-payment-item span {
  font-size: 1rem;
  color: var(--w3c2a-text);
}

/* ===== FAQ ===== */
.w3c2a-faq-item {
  background: var(--w3c2a-card);
  border: 1px solid var(--w3c2a-border);
  border-radius: var(--w3c2a-radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}

.w3c2a-faq-item h3 {
  font-size: 1.4rem;
  color: var(--w3c2a-primary);
  margin-bottom: 0.5rem;
}

.w3c2a-faq-item p {
  font-size: 1.3rem;
  color: var(--w3c2a-text);
  line-height: 1.6rem;
}

/* ===== TESTIMONIALS ===== */
.w3c2a-testimonial {
  background: var(--w3c2a-card);
  border-radius: var(--w3c2a-radius-lg);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--w3c2a-glow);
}

.w3c2a-testimonial-text {
  font-size: 1.3rem;
  color: var(--w3c2a-text);
  font-style: italic;
  line-height: 1.6rem;
  margin-bottom: 0.5rem;
}

.w3c2a-testimonial-author {
  font-size: 1.1rem;
  color: var(--w3c2a-primary);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .w3c2a-bottom-nav {
    display: none;
  }
  .w3c2a-menu-btn {
    display: none;
  }
  body {
    max-width: 430px;
  }
}

@media (max-width: 768px) {
  .w3c2a-main {
    padding-bottom: 8rem;
  }
}

@media (max-width: 360px) {
  .w3c2a-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .w3c2a-btn-register,
  .w3c2a-btn-login {
    padding: 0.4rem 0.8rem;
    font-size: 1.1rem;
  }
}
