/* 5557 design.css - all custom classes prefixed with w0d9f- */
/* Palette: #273746 | #34495E | #696969 | #6495ED (dark bg, light text) */

:root {
  --w0d9f-primary: #6495ED;
  --w0d9f-bg: #273746;
  --w0d9f-bg2: #34495E;
  --w0d9f-text: #f4f7fb;
  --w0d9f-muted: #696969;
  --w0d9f-accent: #6495ED;
  --w0d9f-gold: #f5c451;
  --w0d9f-card: #2c4054;
  --w0d9f-border: #3a5169;
  --w0d9f-radius: 1.2rem;
  --w0d9f-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  font-size: 62.5%;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  background: var(--w0d9f-bg);
  color: var(--w0d9f-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

a { color: var(--w0d9f-accent); text-decoration: none; }
img { max-width: 100%; display: block; }

.w0d9f-container { width: 100%; padding: 0 1.2rem; }
.w0d9f-wrapper { max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.w0d9f-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1d2c38 0%, #34495E 100%);
  border-bottom: 1px solid var(--w0d9f-border);
  z-index: 1000;
  box-shadow: var(--w0d9f-shadow);
}
.w0d9f-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  gap: 0.6rem;
}
.w0d9f-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  min-width: 0;
}
.w0d9f-logo img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.w0d9f-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w0d9f-gold);
  letter-spacing: 0.05rem;
}
.w0d9f-header-actions { display: flex; gap: 0.5rem; align-items: center; }

.w0d9f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  min-height: 3.6rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.w0d9f-btn:active { transform: scale(0.96); }
.w0d9f-btn-login {
  background: transparent;
  color: var(--w0d9f-text);
  border: 1px solid var(--w0d9f-border);
}
.w0d9f-btn-register {
  background: linear-gradient(135deg, #6495ED, #4a78d8);
  color: #fff;
  box-shadow: 0 2px 8px rgba(100, 149, 237, 0.4);
}
.w0d9f-menu-btn {
  background: transparent;
  border: none;
  color: var(--w0d9f-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Mobile Menu ===== */
.w0d9f-mobile-menu {
  display: none;
  position: fixed;
  top: 5.6rem; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: var(--w0d9f-bg2);
  border-bottom: 1px solid var(--w0d9f-border);
  z-index: 9999;
  padding: 0.6rem 1rem 1rem;
  box-shadow: var(--w0d9f-shadow);
}
.w0d9f-menu-open { display: block; }
.w0d9f-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  color: var(--w0d9f-text);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.5rem;
}
.w0d9f-mobile-menu a:active { background: rgba(100,149,237,0.12); }
.w0d9f-mobile-menu .w0d9f-menu-promo {
  color: var(--w0d9f-gold);
  font-weight: 700;
}

/* ===== Main / Hero ===== */
main { padding-top: 6rem; padding-bottom: 1rem; }
@media (max-width: 768px) { main { padding-bottom: 8rem; } }

.w0d9f-hero {
  position: relative;
  border-radius: var(--w0d9f-radius);
  overflow: hidden;
  margin: 1rem 0;
}
.w0d9f-carousel { position: relative; height: 17rem; }
.w0d9f-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.w0d9f-slide img { width: 100%; height: 100%; object-fit: cover; }
.w0d9f-slide-active { opacity: 1; }
.w0d9f-dots {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.w0d9f-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.w0d9f-dot-active { background: var(--w0d9f-gold); }

/* ===== Section ===== */
.w0d9f-section {
  margin: 1.6rem 0;
  padding: 1.2rem;
  background: var(--w0d9f-card);
  border-radius: var(--w0d9f-radius);
  border: 1px solid var(--w0d9f-border);
}
.w0d9f-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--w0d9f-gold);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.w0d9f-section-title i { color: var(--w0d9f-accent); }

h1.w0d9f-h1 {
  font-size: 2rem;
  line-height: 2.6rem;
  color: var(--w0d9f-text);
  margin: 1rem 0;
  font-weight: 800;
}
.w0d9f-subtitle { color: #cdd7e3; font-size: 1.4rem; margin-bottom: 0.8rem; }

/* ===== Promo CTA ===== */
.w0d9f-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #6495ED, #4a78d8);
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.6rem;
  border-radius: 2rem;
  font-size: 1.5rem;
  margin: 0.6rem 0.2rem;
  min-height: 4rem;
  box-shadow: 0 3px 10px rgba(100,149,237,0.45);
  cursor: pointer;
  border: none;
}
.w0d9f-cta:active { transform: scale(0.97); }
.w0d9f-cta-gold {
  background: linear-gradient(135deg, #f5c451, #e0a72e);
  color: #2a2a2a;
}
.w0d9f-link-promo {
  color: var(--w0d9f-gold);
  font-weight: 700;
  cursor: pointer;
}
.w0d9f-link-promo:hover { text-decoration: underline; }

/* ===== Game Grid ===== */
.w0d9f-cat-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--w0d9f-accent);
  margin: 1.4rem 0 0.6rem;
  border-left: 0.4rem solid var(--w0d9f-gold);
  padding-left: 0.8rem;
}
.w0d9f-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
@media (min-width: 400px) { .w0d9f-grid { grid-template-columns: repeat(4, 1fr); } }
.w0d9f-game-card {
  background: var(--w0d9f-bg2);
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--w0d9f-border);
  cursor: pointer;
  transition: transform 0.15s ease;
  text-align: center;
}
.w0d9f-game-card:active { transform: scale(0.96); }
.w0d9f-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.w0d9f-game-name {
  font-size: 1.15rem;
  padding: 0.4rem 0.2rem 0.5rem;
  color: var(--w0d9f-text);
  line-height: 1.3rem;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ===== Info / Feature cards ===== */
.w0d9f-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.w0d9f-card {
  background: var(--w0d9f-bg2);
  border-radius: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--w0d9f-border);
  text-align: center;
}
.w0d9f-card i { font-size: 2.2rem; color: var(--w0d9f-accent); margin-bottom: 0.4rem; }
.w0d9f-card h3 { font-size: 1.4rem; color: var(--w0d9f-gold); margin-bottom: 0.3rem; }
.w0d9f-card p { font-size: 1.2rem; color: #cdd7e3; line-height: 1.4rem; }

/* ===== RTP compact ===== */
.w0d9f-rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1.3rem;
}
.w0d9f-rtp-row span:last-child { color: var(--w0d9f-gold); font-weight: 700; }

/* ===== Testimonials ===== */
.w0d9f-testi {
  background: var(--w0d9f-bg2);
  border-radius: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.7rem;
  border-left: 0.3rem solid var(--w0d9f-accent);
}
.w0d9f-testi .w0d9f-testi-name { color: var(--w0d9f-gold); font-weight: 700; font-size: 1.3rem; }
.w0d9f-testi p { font-size: 1.25rem; color: #d4dce6; margin-top: 0.3rem; }

/* ===== Payment icons ===== */
.w0d9f-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.w0d9f-pay span {
  background: var(--w0d9f-bg2);
  border: 1px solid var(--w0d9f-border);
  border-radius: 0.6rem;
  padding: 0.5rem 0.9rem;
  font-size: 1.2rem;
  color: #d4dce6;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===== Winners ===== */
.w0d9f-winner {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.2rem;
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.w0d9f-winner span:last-child { color: #4fd06f; font-weight: 700; }

/* ===== FAQ ===== */
.w0d9f-faq-item {
  background: var(--w0d9f-bg2);
  border-radius: 0.7rem;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--w0d9f-border);
}
.w0d9f-faq-item h3 { font-size: 1.4rem; color: var(--w0d9f-accent); margin-bottom: 0.3rem; }
.w0d9f-faq-item p { font-size: 1.25rem; color: #d4dce6; }

/* ===== Footer ===== */
.w0d9f-footer {
  background: #1d2c38;
  border-top: 1px solid var(--w0d9f-border);
  padding: 1.4rem 1.2rem 2rem;
  margin-top: 1.6rem;
  text-align: center;
}
.w0d9f-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.8rem 0;
}
.w0d9f-footer-links a {
  background: var(--w0d9f-bg2);
  color: var(--w0d9f-text);
  padding: 0.5rem 0.9rem;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  border: 1px solid var(--w0d9f-border);
}
.w0d9f-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.8rem 0;
}
.w0d9f-footer-promo button {
  background: linear-gradient(135deg, #6495ED, #4a78d8);
  color: #fff;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: 0.7rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 3.6rem;
}
.w0d9f-footer-copy { font-size: 1.1rem; color: var(--w0d9f-muted); margin-top: 0.8rem; }

/* ===== Mobile Bottom Nav ===== */
.w0d9f-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 6rem;
  background: linear-gradient(135deg, #1d2c38, #34495E);
  border-top: 1px solid var(--w0d9f-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}
.w0d9f-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 6rem;
  min-height: 6rem;
  background: transparent;
  border: none;
  color: #b9c5d4;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 0.3rem;
}
.w0d9f-bottomnav-btn i, .w0d9f-bottomnav-btn .material-icons-outlined,
.w0d9f-bottomnav-btn ion-icon {
  font-size: 2.4rem;
}
.w0d9f-bottomnav-btn span {
  font-size: 1.05rem;
  line-height: 1.2rem;
}
.w0d9f-bottomnav-btn:active { transform: scale(0.92); color: var(--w0d9f-gold); }
.w0d9f-bottomnav-active { color: var(--w0d9f-gold); }
.w0d9f-bottomnav-active i, .w0d9f-bottomnav-active span { color: var(--w0d9f-gold); }

@media (min-width: 769px) {
  .w0d9f-bottomnav { display: none; }
}

/* ===== Desktop nav (hidden on mobile) ===== */
.w0d9f-desktop-nav { display: none; }
@media (min-width: 769px) {
  .w0d9f-desktop-nav {
    display: flex;
    gap: 1.2rem;
    align-items: center;
  }
  .w0d9f-desktop-nav a {
    color: var(--w0d9f-text);
    font-size: 1.4rem;
  }
  .w0d9f-menu-btn { display: none; }
}

/* ===== Utility ===== */
.w0d9f-text-center { text-align: center; }
.w0d9f-mt1 { margin-top: 1rem; }
.w0d9f-muted { color: var(--w0d9f-muted); }
.w0d9f-promo-text {
  font-weight: 700;
  color: var(--w0d9f-gold);
  cursor: pointer;
}
