/* ============================================================
 * okbd.homes - Common Stylesheet (Basefiles)
 * Class prefix   : gd35-
 * Palette (3)    : #262626 (dark bg) | #FFD700 (gold) | #8B0000 (deep red)
 * Mobile-first, max-width 430px, rem units (root 62.5%).
 * ============================================================ */

:root {
  --gd35-primary: #FFD700;
  --gd35-accent:  #8B0000;
  --gd35-bg:      #262626;
  --gd35-bg-2:    #1c1c1c;
  --gd35-bg-3:    #333333;
  --gd35-text:    #f5f5f5;
  --gd35-muted:   #b8b8b8;
  --gd35-line:    rgba(255, 215, 0, 0.18);
  --gd35-radius:  12px;
  --gd35-shadow:  0 6px 18px rgba(0, 0, 0, 0.45);
  --gd35-header-h: 60px;
  --gd35-bottomnav-h: 62px;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  margin: 0;
  padding: 0;
  background: var(--gd35-bg);
  color: var(--gd35-text);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.gd35-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}

.gd35-wrapper { width: 100%; }

/* ---------- Header ---------- */
.gd35-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--gd35-header-h);
  background: linear-gradient(180deg, #1c1c1c 0%, #262626 100%);
  border-bottom: 2px solid var(--gd35-primary);
  z-index: 1000;
  box-shadow: var(--gd35-shadow);
}
.gd35-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.gd35-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gd35-text);
  font-weight: 700;
}
.gd35-brand img { width: 28px; height: 28px; border-radius: 6px; }
.gd35-brand-name { color: var(--gd35-primary); font-size: 1.9rem; letter-spacing: 0.5px; }

.gd35-header-actions { display: flex; align-items: center; gap: 8px; }

.gd35-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.gd35-btn:active { transform: scale(0.96); }
.gd35-btn-register {
  background: linear-gradient(180deg, #FFD700 0%, #d9a400 100%);
  color: #1c1c1c;
  box-shadow: 0 3px 8px rgba(255, 215, 0, 0.35);
}
.gd35-btn-login {
  background: transparent;
  color: var(--gd35-primary);
  border: 1.5px solid var(--gd35-primary);
}
.gd35-btn-cta {
  background: linear-gradient(180deg, #8B0000 0%, #5e0000 100%);
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 0 22px;
  font-size: 1.5rem;
}
.gd35-menutoggle {
  background: transparent;
  border: none;
  color: var(--gd35-primary);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 4px 6px;
}

/* ---------- Top expandable nav ---------- */
.gd35-topnav {
  position: fixed;
  top: var(--gd35-header-h);
  left: 0; right: 0;
  max-height: 0;
  overflow: hidden;
  background: #1c1c1c;
  border-bottom: 1px solid var(--gd35-line);
  z-index: 999;
  transition: max-height 0.28s ease;
}
.gd35-topnav.gd35-menu-open { max-height: 460px; box-shadow: var(--gd35-shadow); }
.gd35-topnav-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.gd35-topnav a {
  display: block;
  padding: 12px 10px;
  color: var(--gd35-text);
  background: var(--gd35-bg-3);
  border-radius: 8px;
  font-size: 1.35rem;
  text-align: center;
  border: 1px solid transparent;
}
.gd35-topnav a:hover, .gd35-topnav a:active {
  border-color: var(--gd35-primary);
  color: var(--gd35-primary);
}

/* ---------- Main ---------- */
.gd35-main {
  margin-top: var(--gd35-header-h);
  padding-bottom: calc(var(--gd35-bottomnav-h) + 16px);
}

/* ---------- Hero carousel ---------- */
.gd35-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--gd35-radius);
  overflow: hidden;
  box-shadow: var(--gd35-shadow);
  margin: 14px 0;
}
.gd35-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.gd35-slide.gd35-slide-active { display: block; }
.gd35-slide img { width: 100%; height: 200px; object-fit: cover; }
.gd35-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}
.gd35-slide-caption span { color: var(--gd35-primary); }
.gd35-carousel-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.gd35-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
}
.gd35-dot.gd35-dot-active { background: var(--gd35-primary); }

/* ---------- Sections ---------- */
.gd35-section { padding: 18px 0; }
.gd35-section-title {
  font-size: 2.0rem;
  font-weight: 800;
  color: var(--gd35-primary);
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gd35-section-title i { color: var(--gd35-primary); }
.gd35-section-sub {
  font-size: 1.45rem;
  color: var(--gd35-muted);
  margin: 0 0 12px 0;
}

.gd35-card {
  background: var(--gd35-bg-2);
  border: 1px solid var(--gd35-line);
  border-radius: var(--gd35-radius);
  padding: 14px;
  box-shadow: var(--gd35-shadow);
}

/* ---------- H1 hero ---------- */
.gd35-hero-h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin: 6px 0 8px 0;
  line-height: 1.4;
}
.gd35-hero-h1 span { color: var(--gd35-primary); }
.gd35-hero-sub {
  font-size: 1.4rem;
  color: var(--gd35-muted);
  margin: 0 0 12px 0;
}

/* ---------- Game grid ---------- */
.gd35-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gd35-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gd35-bg-2);
  border-radius: 10px;
  padding: 8px 6px;
  border: 1px solid var(--gd35-line);
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease;
  text-align: center;
}
.gd35-game:hover, .gd35-game:active {
  transform: translateY(-2px);
  border-color: var(--gd35-primary);
}
.gd35-game img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}
.gd35-game-name {
  font-size: 1.15rem;
  color: var(--gd35-text);
  line-height: 1.3;
  word-break: break-word;
}

/* ---------- Category tab list (visual labels, non-switching) ---------- */
.gd35-cat-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.gd35-cat-label {
  background: var(--gd35-bg-3);
  color: var(--gd35-primary);
  border: 1px solid var(--gd35-line);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 1.15rem;
  font-weight: 700;
}

/* ---------- Feature / info blocks ---------- */
.gd35-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gd35-feature {
  background: var(--gd35-bg-2);
  border-left: 3px solid var(--gd35-primary);
  border-radius: 8px;
  padding: 10px 12px;
}
.gd35-feature i { color: var(--gd35-primary); font-size: 1.8rem; }
.gd35-feature h3 { margin: 6px 0 4px 0; font-size: 1.35rem; color: #fff; }
.gd35-feature p { margin: 0; font-size: 1.2rem; color: var(--gd35-muted); }

/* ---------- RTP stat ---------- */
.gd35-rtp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--gd35-line);
  font-size: 1.3rem;
}
.gd35-rtp-row:last-child { border-bottom: none; }
.gd35-rtp-bar {
  flex: 1;
  height: 8px;
  margin: 0 10px;
  background: var(--gd35-bg-3);
  border-radius: 4px;
  overflow: hidden;
}
.gd35-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, #8B0000 0%, #FFD700 100%);
}
.gd35-rtp-val { color: var(--gd35-primary); font-weight: 700; min-width: 48px; text-align: right; }

/* ---------- Testimonials ---------- */
.gd35-testi {
  background: var(--gd35-bg-2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--gd35-line);
}
.gd35-testi-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.gd35-testi-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gd35-accent);
  display: flex; align-items: center; justify-content: center;
  color: #FFD700; font-weight: 800; font-size: 1.2rem;
}
.gd35-testi-name { font-weight: 700; color: #fff; font-size: 1.3rem; }
.gd35-testi-stars { color: var(--gd35-primary); font-size: 1.1rem; margin-left: auto; }
.gd35-testi-text { font-size: 1.25rem; color: var(--gd35-muted); margin: 0; }

/* ---------- Winners ---------- */
.gd35-winner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px;
  background: var(--gd35-bg-2);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid var(--gd35-line);
  font-size: 1.25rem;
}
.gd35-winner-amount { color: var(--gd35-primary); font-weight: 800; }

/* ---------- Payment ---------- */
.gd35-pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gd35-pay {
  background: #fff;
  color: #262626;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- FAQ ---------- */
.gd35-faq { margin-bottom: 10px; }
.gd35-faq summary {
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gd35-primary);
  padding: 8px 0;
  list-style: none;
}
.gd35-faq summary::-webkit-details-marker { display: none; }
.gd35-faq[open] summary { color: #fff; }
.gd35-faq p { margin: 4px 0 8px 0; color: var(--gd35-muted); font-size: 1.25rem; }

/* ---------- App CTA ---------- */
.gd35-app-cta {
  background: linear-gradient(135deg, #8B0000 0%, #262626 100%);
  border: 1px solid var(--gd35-primary);
  border-radius: var(--gd35-radius);
  padding: 16px;
  text-align: center;
}
.gd35-app-cta h3 { color: var(--gd35-primary); margin: 0 0 6px 0; font-size: 1.7rem; }
.gd35-app-cta p { color: var(--gd35-text); margin: 0 0 12px 0; font-size: 1.3rem; }

/* ---------- CTA block ---------- */
.gd35-cta-block {
  background: var(--gd35-bg-2);
  border: 1px solid var(--gd35-line);
  border-radius: var(--gd35-radius);
  padding: 18px;
  text-align: center;
  margin: 18px 0;
}
.gd35-cta-block h2 { color: var(--gd35-primary); font-size: 1.9rem; margin: 0 0 6px 0; }
.gd35-cta-block p { color: var(--gd35-muted); font-size: 1.3rem; margin: 0 0 12px 0; }

/* ---------- SEO text link inline ---------- */
.gd35-inline-link {
  color: var(--gd35-primary);
  font-weight: 700;
  border-bottom: 1px dotted var(--gd35-primary);
}

/* ---------- Footer ---------- */
.gd35-footer {
  background: #1c1c1c;
  border-top: 2px solid var(--gd35-primary);
  padding: 20px 0 24px 0;
  margin-top: 18px;
}
.gd35-footer-desc {
  font-size: 1.25rem;
  color: var(--gd35-muted);
  margin-bottom: 12px;
}
.gd35-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.gd35-footer-link {
  display: block;
  padding: 8px 10px;
  background: var(--gd35-bg-3);
  border-radius: 8px;
  color: var(--gd35-text);
  font-size: 1.2rem;
  border: 1px solid var(--gd35-line);
}
.gd35-footer-link:hover { color: var(--gd35-primary); border-color: var(--gd35-primary); }
.gd35-footer-copy {
  text-align: center;
  color: var(--gd35-muted);
  font-size: 1.15rem;
  padding-top: 10px;
  border-top: 1px solid var(--gd35-line);
}

/* ---------- Mobile bottom nav ---------- */
.gd35-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--gd35-bottomnav-h);
  background: linear-gradient(180deg, #1c1c1c 0%, #000 100%);
  border-top: 2px solid var(--gd35-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.6);
}
.gd35-bottomnav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gd35-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 1.05rem;
  font-family: inherit;
  transition: color 0.15s ease, transform 0.15s ease;
}
.gd35-bottomnav-btn .gd35-ico { font-size: 22px; line-height: 1; }
.gd35-bottomnav-btn .material-icons,
.gd35-bottomnav-btn ion-icon { font-size: 22px; }
.gd35-bottomnav-btn:active { transform: scale(0.92); }
.gd35-bottomnav-btn.gd35-nav-active { color: var(--gd35-primary); }
.gd35-bottomnav-btn.gd35-nav-active .gd35-ico { color: var(--gd35-primary); }

/* ---------- Reveal animation ---------- */
[data-gd35-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-gd35-reveal].gd35-revealed { opacity: 1; transform: none; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  body { background: #111; }
  .gd35-bottomnav { display: none; }
  .gd35-main { padding-bottom: 30px; }
  .gd35-menutoggle { display: none; }
  .gd35-topnav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border-bottom: none;
  }
  .gd35-topnav-inner {
    max-width: 100%;
    grid-template-columns: repeat(7, 1fr);
    padding: 0;
  }
}
