/* 2222 Angel Number - Core Stylesheet */
/* All classes use prefix "w1849-" for namespace isolation */
/* Color Palette: #1B263B (dark bg) | #808080 | #8FBC8F | #90EE90 | #ADB5BD */
/* Language: bn-BD */

/* === CSS Variables === */
:root {
  --w1849-primary: #8FBC8F;
  --w1849-primary-light: #90EE90;
  --w1849-bg-dark: #1B263B;
  --w1849-bg-card: #243447;
  --w1849-bg-section: #1e2d40;
  --w1849-text-light: #ADB5BD;
  --w1849-text-white: #e8edf2;
  --w1849-text-muted: #808080;
  --w1849-accent: #90EE90;
  --w1849-accent-hover: #7ddb7d;
  --w1849-border: #2e4158;
  --w1849-gold: #d4a853;
  --w1849-radius: 8px;
  --w1849-radius-lg: 12px;
  --w1849-shadow: 0 2px 12px rgba(0,0,0,0.25);
  --w1849-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(--w1849-bg-dark);
  color: var(--w1849-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--w1849-primary-light); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* === Layout === */
.w1849-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.w1849-wrapper {
  width: 100%;
  overflow-x: hidden;
}
.w1849-grid {
  display: grid;
  gap: 1rem;
}

/* === Header / Top Navigation === */
.w1849-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--w1849-bg-dark) 0%, #162033 100%);
  border-bottom: 1px solid var(--w1849-border);
  padding: 0;
  height: 5.6rem;
}
.w1849-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.6rem;
  padding: 0 1rem;
}
.w1849-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.w1849-logo-wrap img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
}
.w1849-logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--w1849-primary-light);
  white-space: nowrap;
}
.w1849-header-btns {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w1849-header-btns .w1849-btn-register,
.w1849-header-btns .w1849-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: var(--w1849-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--w1849-transition);
}
.w1849-btn-register {
  background: linear-gradient(135deg, var(--w1849-primary), var(--w1849-primary-light));
  color: var(--w1849-bg-dark);
}
.w1849-btn-register:hover {
  background: linear-gradient(135deg, var(--w1849-primary-light), #b5f0b5);
  transform: scale(1.05);
}
.w1849-btn-login {
  background: transparent;
  color: var(--w1849-text-white);
  border: 1px solid var(--w1849-primary) !important;
}
.w1849-btn-login:hover {
  background: rgba(143,188,143,0.15);
}
.w1849-menu-toggle {
  background: none;
  border: none;
  color: var(--w1849-text-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* === Mobile Slide Menu === */
.w1849-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}
.w1849-overlay-active { display: block; }
.w1849-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--w1849-bg-card);
  z-index: 9999;
  transition: right 0.35s ease;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}
.w1849-menu-active { right: 0; }
.w1849-mobile-menu a {
  display: block;
  padding: 1rem 0;
  color: var(--w1849-text-white);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--w1849-border);
  transition: var(--w1849-transition);
}
.w1849-mobile-menu a:hover {
  color: var(--w1849-primary-light);
  padding-left: 0.5rem;
}
.w1849-menu-close {
  background: none;
  border: none;
  color: var(--w1849-text-white);
  font-size: 2.2rem;
  cursor: pointer;
  float: right;
  margin-bottom: 1rem;
}

/* === Carousel === */
.w1849-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--w1849-radius-lg);
  margin-top: 6.2rem;
}
.w1849-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.w1849-slide img {
  width: 100%;
  height: auto;
  min-height: 16rem;
  object-fit: cover;
  border-radius: var(--w1849-radius-lg);
}
.w1849-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.w1849-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--w1849-transition);
}
.w1849-dot-active {
  background: var(--w1849-primary-light);
  transform: scale(1.2);
}

/* === Sections === */
.w1849-section {
  padding: 2rem 0;
}
.w1849-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w1849-text-white);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--w1849-primary);
  display: inline-block;
}
.w1849-section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--w1849-primary-light);
  margin: 1.2rem 0 0.8rem;
}

/* === Game Grid === */
.w1849-game-category {
  margin-bottom: 2rem;
}
.w1849-category-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--w1849-gold);
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--w1849-primary);
}
.w1849-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.w1849-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--w1849-transition);
  border-radius: var(--w1849-radius);
  padding: 0.5rem;
}
.w1849-game-item:hover {
  background: var(--w1849-bg-card);
  transform: translateY(-2px);
}
.w1849-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--w1849-radius);
  margin-bottom: 0.3rem;
}
.w1849-game-name {
  font-size: 1.1rem;
  color: var(--w1849-text-light);
  line-height: 1.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Promo Buttons === */
.w1849-promo-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--w1849-primary), var(--w1849-primary-light));
  color: var(--w1849-bg-dark);
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: var(--w1849-radius);
  cursor: pointer;
  transition: var(--w1849-transition);
  text-align: center;
  border: none;
}
.w1849-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(144,238,144,0.35);
}
.w1849-promo-link {
  color: var(--w1849-primary-light);
  font-weight: 700;
  cursor: pointer;
  transition: var(--w1849-transition);
}
.w1849-promo-link:hover {
  color: var(--w1849-gold);
  text-decoration: underline;
}

/* === Cards === */
.w1849-card {
  background: var(--w1849-bg-card);
  border-radius: var(--w1849-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--w1849-border);
  transition: var(--w1849-transition);
}
.w1849-card:hover {
  border-color: var(--w1849-primary);
  box-shadow: var(--w1849-shadow);
}

/* === Bottom Navigation === */
.w1849-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--w1849-bg-dark), #0f1825);
  border-top: 1px solid var(--w1849-border);
  height: 6rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}
.w1849-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: var(--w1849-text-muted);
  cursor: pointer;
  transition: var(--w1849-transition);
  padding: 0.3rem;
  border-radius: var(--w1849-radius);
}
.w1849-bottom-nav-btn:hover,
.w1849-nav-active {
  color: var(--w1849-primary-light);
  transform: scale(1.08);
}
.w1849-bottom-nav-btn .w1849-nav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}
.w1849-bottom-nav-btn .w1849-nav-label {
  font-size: 1rem;
  line-height: 1.2rem;
}
.w1849-nav-active .w1849-nav-icon {
  filter: drop-shadow(0 0 6px rgba(144,238,144,0.5));
}

/* === Footer === */
.w1849-footer {
  background: var(--w1849-bg-card);
  border-top: 1px solid var(--w1849-border);
  padding: 2rem 1.2rem 8rem;
  margin-top: 2rem;
}
.w1849-footer-brand {
  font-size: 1.3rem;
  color: var(--w1849-text-light);
  margin-bottom: 1rem;
  line-height: 1.8rem;
}
.w1849-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.w1849-footer-links a {
  color: var(--w1849-primary-light);
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  background: rgba(143,188,143,0.1);
  border-radius: 4px;
  transition: var(--w1849-transition);
}
.w1849-footer-links a:hover {
  background: rgba(143,188,143,0.25);
}
.w1849-footer-copy {
  font-size: 1.1rem;
  color: var(--w1849-text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* === Content Blocks === */
.w1849-content-block {
  background: var(--w1849-bg-section);
  border-radius: var(--w1849-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.w1849-content-block p {
  line-height: 2rem;
  margin-bottom: 0.8rem;
}
.w1849-highlight-box {
  background: linear-gradient(135deg, rgba(143,188,143,0.12), rgba(144,238,144,0.06));
  border: 1px solid rgba(143,188,143,0.3);
  border-radius: var(--w1849-radius);
  padding: 1.2rem;
  margin: 1rem 0;
}

/* === Testimonials === */
.w1849-testimonial {
  background: var(--w1849-bg-card);
  border-radius: var(--w1849-radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--w1849-primary);
}
.w1849-testimonial-name {
  font-weight: 600;
  color: var(--w1849-primary-light);
  font-size: 1.2rem;
}
.w1849-testimonial-text {
  font-size: 1.2rem;
  color: var(--w1849-text-light);
  margin-top: 0.4rem;
}

/* === Winners === */
.w1849-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--w1849-border);
  font-size: 1.2rem;
}
.w1849-winner-row:last-child { border-bottom: none; }
.w1849-winner-name { color: var(--w1849-gold); font-weight: 600; }
.w1849-winner-amount { color: var(--w1849-primary-light); font-weight: 700; }

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

/* === FAQ === */
.w1849-faq-item {
  margin-bottom: 1rem;
}
.w1849-faq-q {
  font-weight: 700;
  color: var(--w1849-primary-light);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.w1849-faq-a {
  color: var(--w1849-text-light);
  font-size: 1.2rem;
  line-height: 1.8rem;
  padding-left: 1rem;
  border-left: 2px solid var(--w1849-primary);
}

/* === Responsive === */
@media (min-width: 769px) {
  .w1849-bottom-nav { display: none; }
  .w1849-header { position: relative; }
  .w1849-carousel { margin-top: 0; }
  .w1849-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  main, .w1849-main-content {
    padding-bottom: 8rem;
  }
}
