/**
 * layout-6853.css - Main stylesheet for 4777b.sbs
 * All classes use g532- prefix for namespace isolation
 * Color palette: #B0E0E6 | #0A0A0A | #00BFFF | #48D1CC | #CD853F
 */

/* CSS Variables */
:root {
  --g532-primary: #00BFFF;
  --g532-secondary: #48D1CC;
  --g532-accent: #CD853F;
  --g532-bg: #0A0A0A;
  --g532-bg-light: #111111;
  --g532-bg-card: #1a1a1a;
  --g532-text: #B0E0E6;
  --g532-text-light: #e0f0f0;
  --g532-text-bright: #ffffff;
  --g532-border: #2a2a2a;
  --g532-gradient-start: #00BFFF;
  --g532-gradient-end: #48D1CC;
  font-size: 62.5%;
}

/* Reset and Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Noto Sans Bengali', sans-serif;
  background: var(--g532-bg);
  color: var(--g532-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(--g532-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.g532-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #0d0d0d 0%, #0A0A0A 100%);
  border-bottom: 1px solid var(--g532-border);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g532-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.g532-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.g532-logo-area span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g532-primary);
  letter-spacing: 0.5px;
}
.g532-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.g532-btn-register {
  background: linear-gradient(135deg, var(--g532-accent), #e6a040);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  min-height: 34px;
}
.g532-btn-login {
  background: transparent;
  color: var(--g532-primary);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1.5px solid var(--g532-primary);
  cursor: pointer;
  min-height: 34px;
}
.g532-menu-toggle {
  background: none;
  border: none;
  color: var(--g532-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 34px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.g532-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
}
.g532-overlay-active { display: block; }
.g532-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: #111111;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}
.g532-menu-active { right: 0; }
.g532-mobile-menu .g532-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--g532-border);
}
.g532-mobile-menu .g532-menu-header span {
  font-size: 1.8rem;
  color: var(--g532-primary);
  font-weight: 700;
}
.g532-menu-close {
  background: none;
  border: none;
  color: var(--g532-text);
  font-size: 2.2rem;
  cursor: pointer;
}
.g532-mobile-menu nav a {
  display: block;
  padding: 1rem 0;
  color: var(--g532-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--g532-border);
  transition: color 0.2s;
}
.g532-mobile-menu nav a:hover {
  color: var(--g532-primary);
}

/* Main Content */
.g532-main {
  padding-top: 56px;
  padding-bottom: 2rem;
}
@media (max-width: 768px) {
  .g532-main { padding-bottom: 80px; }
}

/* Carousel */
.g532-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 12px 12px;
}
.g532-slide {
  display: none;
  cursor: pointer;
}
.g532-slide img {
  width: 100%;
  height: auto;
  min-height: 160px;
  object-fit: cover;
}
.g532-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.g532-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(176, 224, 230, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.g532-dot-active { background: var(--g532-primary); }

/* Section Titles */
.g532-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g532-text-bright);
  padding: 1.2rem 1rem 0.8rem;
  border-left: 4px solid var(--g532-primary);
  margin: 0.5rem 1rem;
}
.g532-section-title span {
  color: var(--g532-primary);
}

/* Game Grid */
.g532-game-section { padding: 0.5rem 0; }
.g532-cat-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g532-accent);
  padding: 0.8rem 1rem 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g532-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
}
.g532-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 8px;
  padding: 0.4rem;
}
.g532-game-item:hover { transform: scale(1.05); }
.g532-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid var(--g532-border);
  object-fit: cover;
  margin-bottom: 0.3rem;
}
.g532-game-item span {
  font-size: 1.1rem;
  color: var(--g532-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.g532-card {
  background: var(--g532-bg-card);
  border-radius: 12px;
  margin: 0.8rem 1rem;
  padding: 1.2rem;
  border: 1px solid var(--g532-border);
}
.g532-card h2 {
  font-size: 1.7rem;
  color: var(--g532-text-bright);
  margin-bottom: 0.8rem;
}
.g532-card h3 {
  font-size: 1.5rem;
  color: var(--g532-primary);
  margin: 0.8rem 0 0.4rem;
}
.g532-card p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--g532-text);
  margin-bottom: 0.6rem;
}

/* Promo Button */
.g532-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g532-accent), #e6a040);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  text-align: center;
  margin: 0.5rem 0;
  border: none;
  min-height: 44px;
}
.g532-promo-link {
  color: var(--g532-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* Footer */
.g532-footer {
  background: #080808;
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--g532-border);
}
.g532-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}
.g532-footer-brand p {
  font-size: 1.2rem;
  color: var(--g532-text);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}
.g532-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.g532-footer-links a {
  font-size: 1.2rem;
  color: var(--g532-secondary);
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--g532-border);
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.g532-footer-links a:hover {
  color: var(--g532-primary);
  border-color: var(--g532-primary);
}
.g532-footer-partners {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}
.g532-footer-partners img {
  height: 24px;
  filter: grayscale(100%);
}
.g532-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  padding-top: 1rem;
  border-top: 1px solid var(--g532-border);
}

/* Bottom Navigation */
.g532-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #111111, #0A0A0A);
  border-top: 1px solid var(--g532-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
@media (min-width: 769px) {
  .g532-bottom-nav { display: none; }
}
.g532-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #777;
  font-size: 1rem;
  cursor: pointer;
  min-width: 60px;
  min-height: 56px;
  transition: color 0.2s, transform 0.2s;
  padding: 0.3rem;
}
.g532-bottom-btn .g532-bnav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.g532-bottom-btn span {
  font-size: 1rem;
}
.g532-bottom-btn:hover,
.g532-bottom-active {
  color: var(--g532-primary);
  transform: scale(1.08);
}
.g532-bottom-btn:active {
  transform: scale(0.95);
}

/* Help Page Content */
.g532-help-content {
  padding: 0.5rem 1rem 2rem;
}
.g532-help-content h1 {
  font-size: 2rem;
  color: var(--g532-text-bright);
  margin-bottom: 1rem;
  text-align: center;
}
.g532-help-content h2 {
  font-size: 1.6rem;
  color: var(--g532-primary);
  margin: 1.2rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--g532-border);
}
.g532-help-content h3 {
  font-size: 1.4rem;
  color: var(--g532-accent);
  margin: 1rem 0 0.4rem;
}
.g532-help-content p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--g532-text);
  margin-bottom: 0.8rem;
}
.g532-help-content ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}
.g532-help-content li {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--g532-text);
  margin-bottom: 0.4rem;
}

/* Utility classes */
.g532-text-center { text-align: center; }
.g532-text-accent { color: var(--g532-accent); }
.g532-text-primary { color: var(--g532-primary); }
.g532-mt-1 { margin-top: 0.5rem; }
.g532-mt-2 { margin-top: 1rem; }
.g532-mb-1 { margin-bottom: 0.5rem; }
.g532-mb-2 { margin-bottom: 1rem; }
.g532-p-1 { padding: 0.5rem; }
.g532-p-2 { padding: 1rem; }

/* Winner showcase */
.g532-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.g532-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 191, 255, 0.05);
  border-radius: 8px;
  border: 1px solid var(--g532-border);
}
.g532-winner-item .g532-wname {
  font-size: 1.2rem;
  color: var(--g532-text-light);
}
.g532-winner-item .g532-wgame {
  font-size: 1.1rem;
  color: var(--g532-text);
  flex: 1;
  margin-left: 0.5rem;
}
.g532-winner-item .g532-wamount {
  font-size: 1.3rem;
  color: var(--g532-accent);
  font-weight: 700;
}

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

/* Testimonial */
.g532-testimonial {
  background: var(--g532-bg-card);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--g532-accent);
}
.g532-testimonial p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--g532-text);
  font-style: italic;
}
.g532-testimonial .g532-tuser {
  font-size: 1.1rem;
  color: var(--g532-secondary);
  margin-top: 0.5rem;
  font-style: normal;
}

/* FAQ component */
.g532-faq-item {
  margin-bottom: 0.8rem;
}
.g532-faq-item h3 {
  font-size: 1.3rem;
  color: var(--g532-accent);
  margin-bottom: 0.3rem;
}
.g532-faq-item p {
  font-size: 1.2rem;
  color: var(--g532-text);
  line-height: 1.6;
}

/* App Download CTA */
.g532-app-cta {
  background: linear-gradient(135deg, rgba(0,191,255,0.1), rgba(72,209,204,0.1));
  border: 1px solid var(--g532-border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  margin: 1rem;
}
.g532-app-cta h2 {
  font-size: 1.8rem;
  color: var(--g532-text-bright);
  margin-bottom: 0.6rem;
}
.g532-app-cta p {
  font-size: 1.3rem;
  color: var(--g532-text);
  margin-bottom: 1rem;
}
.g532-app-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.g532-app-btn {
  background: var(--g532-primary);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  min-height: 44px;
}

/* Feature grid */
.g532-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  padding: 0.5rem 0;
}
.g532-feature-item {
  background: var(--g532-bg-card);
  border: 1px solid var(--g532-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}
.g532-feature-item .g532-ficon {
  font-size: 2.4rem;
  color: var(--g532-primary);
  margin-bottom: 0.5rem;
}
.g532-feature-item h3 {
  font-size: 1.3rem;
  color: var(--g532-text-bright);
  margin-bottom: 0.3rem;
}
.g532-feature-item p {
  font-size: 1.1rem;
  color: var(--g532-text);
  line-height: 1.5;
}

/* Category highlights */
.g532-cat-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: var(--g532-bg-card);
  border-radius: 10px;
  margin-bottom: 0.6rem;
  border: 1px solid var(--g532-border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.g532-cat-highlight:hover {
  border-color: var(--g532-primary);
}
.g532-cat-highlight .g532-chicon {
  font-size: 2.8rem;
  color: var(--g532-accent);
  min-width: 44px;
  text-align: center;
}
.g532-cat-highlight h3 {
  font-size: 1.4rem;
  color: var(--g532-text-bright);
  margin-bottom: 0.2rem;
}
.g532-cat-highlight p {
  font-size: 1.1rem;
  color: var(--g532-text);
}

/* Tricks component */
.g532-trick-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.6rem 0;
}
.g532-trick-num {
  background: var(--g532-primary);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 1.2rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.g532-trick-text {
  font-size: 1.2rem;
  color: var(--g532-text);
  line-height: 1.5;
}

/* Desktop nav */
.g532-desktop-nav {
  display: none;
}
@media (min-width: 769px) {
  .g532-desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  .g532-desktop-nav a {
    color: var(--g532-text);
    font-size: 1.3rem;
    transition: color 0.2s;
  }
  .g532-desktop-nav a:hover {
    color: var(--g532-primary);
  }
}
