/**
 * 8999 to bdt - Main Stylesheet
 * Class prefix: g742-
 * CSS variables: --g742-*
 */

:root {
  --g742-primary: #DB7093;
  --g742-bg: #273746;
  --g742-bg-light: #2f4050;
  --g742-bg-card: #34495e;
  --g742-text: #F0F8FF;
  --g742-text-muted: #F0F0F0;
  --g742-accent: #DB7093;
  --g742-accent-dark: #c4617e;
  --g742-border: #3d566e;
  --g742-radius: 8px;
  --g742-radius-lg: 12px;
  --g742-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --g742-shadow-lg: 0 4px 16px rgba(0,0,0,0.4);
  font-size: 62.5%;
}

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

body {
  font-family: 'Noto Sans Bengali', sans-serif;
  background-color: var(--g742-bg);
  color: var(--g742-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--g742-accent);
  text-decoration: none;
}

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

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

.g742-logo-area {
  display: flex;
  align-items: center;
  gap: 6px;
}

.g742-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.g742-logo-area span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g742-text);
  white-space: nowrap;
}

.g742-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.g742-btn-register,
.g742-btn-login {
  padding: 6px 14px;
  border: none;
  border-radius: var(--g742-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  font-family: inherit;
}

.g742-btn-register {
  background: var(--g742-accent);
  color: #fff;
}

.g742-btn-login {
  background: transparent;
  color: var(--g742-text);
  border: 1px solid var(--g742-accent);
}

.g742-btn-register:active,
.g742-btn-login:active {
  transform: scale(0.95);
  opacity: 0.85;
}

.g742-menu-toggle {
  background: none;
  border: none;
  color: var(--g742-text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

/* ===== MOBILE MENU ===== */
.g742-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.g742-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: var(--g742-bg-light);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.g742-mobile-menu-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--g742-text);
  font-size: 24px;
  cursor: pointer;
}

.g742-mobile-menu h3 {
  font-size: 1.6rem;
  color: var(--g742-accent);
  margin-bottom: 1.5rem;
}

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

/* ===== MAIN CONTENT ===== */
.g742-main {
  padding-top: 56px;
  min-height: 100vh;
}

/* ===== CAROUSEL ===== */
.g742-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/7;
  cursor: pointer;
}

.g742-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.g742-carousel-slide.g742-active {
  opacity: 1;
}

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

.g742-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.g742-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.g742-carousel-dot.g742-active {
  background: var(--g742-accent);
  width: 20px;
  border-radius: 4px;
}

/* ===== SECTION TITLES ===== */
.g742-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g742-text);
  padding: 1.2rem 1rem 0.6rem;
  border-left: 4px solid var(--g742-accent);
  margin: 1rem 1rem 0.5rem;
}

.g742-section-subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g742-accent);
  padding: 0.8rem 1rem 0.4rem;
}

/* ===== GAME GRID ===== */
.g742-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0.5rem 1rem 1rem;
}

.g742-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s;
  border-radius: var(--g742-radius);
  padding: 4px;
}

.g742-game-item:active {
  transform: scale(0.93);
}

.g742-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--g742-radius);
  object-fit: cover;
  border: 2px solid var(--g742-border);
}

.g742-game-item span {
  font-size: 1.1rem;
  color: var(--g742-text-muted);
  text-align: center;
  margin-top: 4px;
  line-height: 1.3rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ===== CATEGORY TABS ===== */
.g742-cat-tabs {
  display: flex;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  gap: 8px;
  scrollbar-width: none;
}

.g742-cat-tabs::-webkit-scrollbar {
  display: none;
}

.g742-cat-tab {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--g742-bg-card);
  color: var(--g742-text-muted);
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.g742-cat-tab.g742-tab-active {
  background: var(--g742-accent);
  color: #fff;
}

/* ===== CONTENT CARDS ===== */
.g742-card {
  background: var(--g742-bg-card);
  border-radius: var(--g742-radius-lg);
  padding: 1.2rem;
  margin: 0.8rem 1rem;
  box-shadow: var(--g742-shadow);
}

.g742-card h3 {
  font-size: 1.5rem;
  color: var(--g742-accent);
  margin-bottom: 0.6rem;
}

.g742-card p {
  font-size: 1.3rem;
  color: var(--g742-text-muted);
  line-height: 1.6rem;
  margin-bottom: 0.5rem;
}

/* ===== PROMO BUTTONS ===== */
.g742-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g742-accent), var(--g742-accent-dark));
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--g742-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
  text-align: center;
}

.g742-promo-btn:active {
  transform: scale(0.95);
  box-shadow: var(--g742-shadow-lg);
}

.g742-promo-text {
  color: var(--g742-accent);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ===== WINNERS GRID ===== */
.g742-winners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.g742-winner-item {
  background: var(--g742-bg-light);
  border-radius: var(--g742-radius);
  padding: 0.8rem;
  text-align: center;
}

.g742-winner-item .g742-winner-game {
  font-size: 1.2rem;
  color: var(--g742-text);
  font-weight: 600;
}

.g742-winner-item .g742-winner-amount {
  font-size: 1.3rem;
  color: var(--g742-accent);
  font-weight: 700;
}

.g742-winner-item .g742-winner-time {
  font-size: 1rem;
  color: #8899aa;
}

/* ===== FEATURES LIST ===== */
.g742-feature-list {
  list-style: none;
  padding: 0;
}

.g742-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0.6rem 0;
  font-size: 1.3rem;
  color: var(--g742-text-muted);
  line-height: 1.5rem;
}

.g742-feature-list li i,
.g742-feature-list li span.material-icons {
  color: var(--g742-accent);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== PAYMENT GRID ===== */
.g742-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.g742-payment-item {
  background: var(--g742-bg-light);
  border-radius: var(--g742-radius);
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--g742-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== FOOTER ===== */
.g742-footer {
  background: var(--g742-bg-light);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--g742-border);
}

.g742-footer-brand {
  font-size: 1.3rem;
  color: var(--g742-text-muted);
  line-height: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
}

.g742-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 1rem;
}

.g742-footer-promos button {
  background: var(--g742-accent);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: var(--g742-radius);
  font-size: 1.1rem;
  cursor: pointer;
  font-family: inherit;
}

.g742-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1rem;
}

.g742-footer-links a {
  color: #8899aa;
  font-size: 1.1rem;
  padding: 4px 8px;
}

.g742-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: #667788;
  padding-top: 0.5rem;
  border-top: 1px solid var(--g742-border);
}

/* ===== BOTTOM NAV ===== */
.g742-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--g742-bg-light), #1a252f);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--g742-accent);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

.g742-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #8899aa;
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: color 0.2s, transform 0.15s;
  font-family: inherit;
  padding: 4px 0;
}

.g742-bottom-nav-btn:active {
  transform: scale(0.9);
}

.g742-bottom-nav-btn i,
.g742-bottom-nav-btn .material-icons,
.g742-bottom-nav-btn ion-icon,
.g742-bottom-nav-btn .bi {
  font-size: 22px;
  margin-bottom: 2px;
}

.g742-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.2rem;
}

.g742-bottom-nav-btn.g742-nav-active {
  color: var(--g742-accent);
}

.g742-bottom-nav-btn.g742-nav-active i,
.g742-bottom-nav-btn.g742-nav-active .material-icons,
.g742-bottom-nav-btn.g742-nav-active ion-icon,
.g742-bottom-nav-btn.g742-nav-active .bi {
  text-shadow: 0 0 8px rgba(219,112,147,0.5);
}

/* ===== SCROLL TOP ===== */
.g742-scroll-top {
  position: fixed;
  bottom: 72px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--g742-accent);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
  box-shadow: var(--g742-shadow);
}

/* ===== FAQ SECTION ===== */
.g742-faq-item {
  border-bottom: 1px solid var(--g742-border);
  padding: 1rem 0;
}

.g742-faq-item h3 {
  font-size: 1.4rem;
  color: var(--g742-accent);
  margin-bottom: 0.4rem;
}

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

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

@media (max-width: 768px) {
  .g742-main {
    padding-bottom: 72px;
  }
}

/* ===== UTILITY ===== */
.g742-text-center { text-align: center; }
.g742-mt-1 { margin-top: 1rem; }
.g742-mb-1 { margin-bottom: 1rem; }
.g742-p-1 { padding: 1rem; }
.g742-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.g742-content-block {
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.g742-content-block h2 {
  font-size: 1.7rem;
  color: var(--g742-text);
  margin-bottom: 0.6rem;
}

.g742-content-block h3 {
  font-size: 1.5rem;
  color: var(--g742-accent);
  margin-bottom: 0.4rem;
}

.g742-content-block p {
  font-size: 1.3rem;
  color: var(--g742-text-muted);
  line-height: 1.6rem;
  margin-bottom: 0.6rem;
}

.g742-content-block ul {
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.g742-content-block li {
  font-size: 1.3rem;
  color: var(--g742-text-muted);
  line-height: 1.6rem;
  margin-bottom: 0.3rem;
}
