/* 54444 - Core Stylesheet */
/* Prefix: s4d6- - All classes use this prefix */

:root {
  --s4d6-bg: #0C0C0C;
  --s4d6-surface: #1a1a2e;
  --s4d6-plum: #DDA0DD;
  --s4d6-purple: #9932CC;
  --s4d6-gold: #CD853F;
  --s4d6-lavender: #9370DB;
  --s4d6-text: #f0e6f6;
  --s4d6-text-dim: #b8a9c6;
  --s4d6-primary: #9932CC;
  --s4d6-accent: #DDA0DD;
  --s4d6-radius: 8px;
  --s4d6-header-h: 56px;
  --s4d6-bottom-h: 60px;
}

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

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

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

/* === HEADER === */
.s4d6-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--s4d6-header-h);
  background: linear-gradient(135deg, #1a1a2e 0%, #0C0C0C 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 1px solid rgba(153, 50, 204, 0.3);
}

.s4d6-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s4d6-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.s4d6-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--s4d6-plum), var(--s4d6-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.s4d6-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.s4d6-btn-register {
  background: linear-gradient(135deg, var(--s4d6-gold), #e6a030);
  color: #0C0C0C;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.s4d6-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(205, 133, 63, 0.5);
}

.s4d6-btn-login {
  background: transparent;
  color: var(--s4d6-plum);
  border: 1px solid var(--s4d6-plum);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.s4d6-btn-login:hover {
  background: rgba(221, 160, 221, 0.1);
}

.s4d6-menu-toggle {
  background: none;
  border: none;
  color: var(--s4d6-plum);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px;
  margin-left: 4px;
}

/* === MOBILE MENU === */
.s4d6-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

.s4d6-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #1a1a2e, #0C0C0C);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 20px 0;
  overflow-y: auto;
}

.s4d6-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(153, 50, 204, 0.2);
}

.s4d6-menu-close {
  background: none;
  border: none;
  color: var(--s4d6-plum);
  font-size: 2.4rem;
  cursor: pointer;
}

.s4d6-menu-list {
  list-style: none;
  padding: 8px 0;
}

.s4d6-menu-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--s4d6-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: background 0.2s, color 0.2s;
}

.s4d6-menu-list li a:hover {
  background: rgba(153, 50, 204, 0.15);
  color: var(--s4d6-plum);
}

.s4d6-menu-list li a i,
.s4d6-menu-list li a .material-icons {
  font-size: 2rem;
  width: 24px;
  text-align: center;
}

/* === MAIN CONTENT === */
.s4d6-main {
  padding-top: var(--s4d6-header-h);
  min-height: 100vh;
}

@media (max-width: 768px) {
  .s4d6-main {
    padding-bottom: calc(var(--s4d6-bottom-h) + 20px);
  }
}

/* === CAROUSEL === */
.s4d6-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--s4d6-radius) var(--s4d6-radius);
}

.s4d6-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.s4d6-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

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

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

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

/* === SECTIONS === */
.s4d6-section {
  padding: 16px 12px;
}

.s4d6-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--s4d6-purple);
  color: var(--s4d6-plum);
}

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

.s4d6-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--s4d6-radius);
  transition: transform 0.2s, background 0.2s;
}

.s4d6-game-item:hover {
  transform: translateY(-2px);
  background: rgba(153, 50, 204, 0.1);
}

.s4d6-game-item img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 4px;
  border: 2px solid rgba(147, 112, 219, 0.3);
}

.s4d6-game-item span {
  font-size: 1.1rem;
  color: var(--s4d6-text-dim);
  line-height: 1.3rem;
  max-height: 2.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === CATEGORY HEADER === */
.s4d6-cat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 0;
}

.s4d6-cat-header i,
.s4d6-cat-header .material-icons {
  color: var(--s4d6-gold);
  font-size: 2rem;
}

.s4d6-cat-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s4d6-plum);
}

/* === PROMO CARDS === */
.s4d6-promo-card {
  background: linear-gradient(135deg, rgba(153, 50, 204, 0.15), rgba(205, 133, 63, 0.1));
  border: 1px solid rgba(153, 50, 204, 0.3);
  border-radius: var(--s4d6-radius);
  padding: 16px;
  margin-bottom: 12px;
}

.s4d6-promo-card h3 {
  color: var(--s4d6-gold);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

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

/* === CTA BUTTON === */
.s4d6-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--s4d6-purple), var(--s4d6-gold));
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.s4d6-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(153, 50, 204, 0.4);
}

/* === TEXT LINK === */
.s4d6-text-link {
  color: var(--s4d6-plum);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* === INFO LIST === */
.s4d6-info-list {
  list-style: none;
  padding: 0;
}

.s4d6-info-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(147, 112, 219, 0.1);
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--s4d6-text-dim);
}

.s4d6-info-list li i,
.s4d6-info-list li .material-icons {
  color: var(--s4d6-gold);
  margin-right: 8px;
  font-size: 1.4rem;
}

/* === TESTIMONIAL === */
.s4d6-testimonial {
  background: rgba(26, 26, 46, 0.8);
  border-left: 3px solid var(--s4d6-gold);
  padding: 12px;
  border-radius: 0 var(--s4d6-radius) var(--s4d6-radius) 0;
  margin-bottom: 10px;
}

.s4d6-testimonial p {
  font-style: italic;
  color: var(--s4d6-text-dim);
  font-size: 1.3rem;
}

.s4d6-testimonial cite {
  display: block;
  margin-top: 6px;
  color: var(--s4d6-gold);
  font-size: 1.2rem;
  font-style: normal;
}

/* === WINNER SHOWCASE === */
.s4d6-winner-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(147, 112, 219, 0.1);
}

.s4d6-winner-row img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--s4d6-gold);
}

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

.s4d6-winner-info span:first-child {
  display: block;
  color: var(--s4d6-text);
  font-weight: 600;
  font-size: 1.3rem;
}

.s4d6-winner-info span:last-child {
  color: var(--s4d6-gold);
  font-size: 1.2rem;
}

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

/* === PAYMENT === */
.s4d6-payment-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0;
}

.s4d6-payment-item {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: var(--s4d6-radius);
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--s4d6-text-dim);
}

/* === FOOTER === */
.s4d6-footer {
  background: linear-gradient(180deg, #0C0C0C, #060610);
  padding: 20px 12px 30px;
  border-top: 1px solid rgba(153, 50, 204, 0.2);
}

.s4d6-footer-brand {
  font-size: 1.3rem;
  color: var(--s4d6-text-dim);
  line-height: 1.6rem;
  margin-bottom: 16px;
}

.s4d6-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.s4d6-footer-links a {
  background: rgba(153, 50, 204, 0.15);
  color: var(--s4d6-plum);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s;
}

.s4d6-footer-links a:hover {
  background: rgba(153, 50, 204, 0.3);
}

.s4d6-footer-promo-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.s4d6-footer-promo-btns button {
  background: linear-gradient(135deg, var(--s4d6-purple), var(--s4d6-gold));
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.s4d6-footer-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(184, 169, 198, 0.5);
  padding-top: 12px;
  border-top: 1px solid rgba(147, 112, 219, 0.1);
}

/* === BOTTOM NAV === */
.s4d6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: var(--s4d6-bottom-h);
  background: linear-gradient(180deg, #1a1a2e, #0C0C0C);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid rgba(153, 50, 204, 0.3);
  padding: 4px 0;
}

.s4d6-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 48px;
  background: none;
  border: none;
  color: var(--s4d6-text-dim);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 4px 0;
}

.s4d6-bottom-btn:hover,
.s4d6-bottom-btn:focus {
  color: var(--s4d6-gold);
  transform: scale(1.1);
}

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

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

.s4d6-bottom-active {
  color: var(--s4d6-gold) !important;
}

@media (min-width: 769px) {
  .s4d6-bottom-nav { display: none; }
  .s4d6-header { max-width: 430px; }
}

/* === RTP TABLE === */
.s4d6-rtp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.s4d6-rtp-item {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(147, 112, 219, 0.2);
  border-radius: var(--s4d6-radius);
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s4d6-rtp-item span:first-child {
  font-size: 1.2rem;
  color: var(--s4d6-text-dim);
}

.s4d6-rtp-item span:last-child {
  font-weight: 700;
  color: var(--s4d6-gold);
  font-size: 1.3rem;
}

/* === APP DOWNLOAD CTA === */
.s4d6-app-cta {
  background: linear-gradient(135deg, rgba(153, 50, 204, 0.2), rgba(205, 133, 63, 0.15));
  border: 1px solid rgba(205, 133, 63, 0.3);
  border-radius: var(--s4d6-radius);
  padding: 16px;
  text-align: center;
}

.s4d6-app-cta h3 {
  color: var(--s4d6-gold);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.s4d6-app-cta p {
  color: var(--s4d6-text-dim);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* === FEATURES GRID === */
.s4d6-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.s4d6-feature-card {
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(147, 112, 219, 0.15);
  border-radius: var(--s4d6-radius);
  padding: 12px;
  text-align: center;
}

.s4d6-feature-card i,
.s4d6-feature-card .material-icons {
  font-size: 2.4rem;
  color: var(--s4d6-gold);
  margin-bottom: 6px;
}

.s4d6-feature-card h4 {
  font-size: 1.3rem;
  color: var(--s4d6-plum);
  margin-bottom: 4px;
}

.s4d6-feature-card p {
  font-size: 1.1rem;
  color: var(--s4d6-text-dim);
  line-height: 1.4rem;
}

/* === HELPER CLASSES === */
.s4d6-text-center { text-align: center; }
.s4d6-mt-8 { margin-top: 8px; }
.s4d6-mt-12 { margin-top: 12px; }
.s4d6-mb-8 { margin-bottom: 8px; }
.s4d6-mb-12 { margin-bottom: 12px; }
.s4d6-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === CATEGORY HIGHLIGHTS === */
.s4d6-cat-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(26, 26, 46, 0.6);
  border-radius: var(--s4d6-radius);
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid rgba(147, 112, 219, 0.15);
  cursor: pointer;
  transition: border-color 0.2s;
}

.s4d6-cat-highlight:hover {
  border-color: var(--s4d6-gold);
}

.s4d6-cat-highlight img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.s4d6-cat-highlight-info h4 {
  font-size: 1.3rem;
  color: var(--s4d6-plum);
}

.s4d6-cat-highlight-info p {
  font-size: 1.1rem;
  color: var(--s4d6-text-dim);
}

/* === TRICKS LIST === */
.s4d6-trick-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(147, 112, 219, 0.1);
}

.s4d6-trick-num {
  background: var(--s4d6-purple);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.s4d6-trick-text {
  font-size: 1.3rem;
  color: var(--s4d6-text-dim);
  line-height: 1.5rem;
}
