/* ============================================================
   HOME PAGE – FINAL STABLE & CLEAN VERSION
   ------------------------------------------------------------
   Author: BiggBoss World
   Purpose:
   - Home page layout
   - Mobile-first
   - Dark-mode safe
   - SEO & Adsense friendly
   ============================================================ */


/* ============================================================
   BASE LAYOUT
   ============================================================ */

.bb-home {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px 48px;
}


/* ============================================================
   HERO SECTION
   ============================================================ */

.bb-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #0f172a, #020617 60%);
  color: #fff;
  border-radius: 22px;
  padding: 36px 26px;
  margin: 24px 0 40px;
}

.bb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(99,102,241,.15),
    transparent 60%
  );
  pointer-events: none;
}

.bb-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
}

.bb-hero-content {
  position: relative;
  z-index: 2;
}

.bb-hero h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.hero-desc {
  max-width: 720px;
  line-height: 1.7;
  opacity: .92;
}

.hero-season {
  margin-top: 10px;
  font-size: 14px;
  color: #fbbf24;
}

.bb-hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.bb-hero-actions a {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
}

.bb-hero-actions a:first-child {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 10px 30px rgba(99,102,241,.45);
}

.bb-hero-actions a:last-child {
  background: rgba(255,255,255,.08);
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,.18);
}

.bb-hero-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.bb-hero-poster img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0,0,0,.6);
}


/* ============================================================
   SECTION WRAPPERS
   ============================================================ */

.bb-section {
  margin-top: 44px;
}

.bb-section.alt {
  background: rgba(0,0,0,.03);
  padding: 26px 22px;
  border-radius: 20px;
}

.bb-section h2 {
  font-size: 22px;
  margin-bottom: 18px;
}


/* ============================================================
   TRENDING CONTESTANTS (SLIDER)
   ============================================================ */

.bb-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.bb-card {
  min-width: 165px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.bb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

.bb-card-img {
  aspect-ratio: 3 / 4;
}

.bb-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-card-body {
  padding: 10px 12px;
}

.bb-card-body strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tc-season {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}


/* ============================================================
   BIGG BOSS BY LANGUAGE
   ============================================================ */

.bb-language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px,1fr));
  gap: 14px;
}

.bb-language-card {
  background: linear-gradient(135deg,#ffffff,#fafafa);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
  text-decoration: none;
  color: #111;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.bb-language-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}

.bb-language-name {
  font-size: 16px;
  font-weight: 800;
}

.bb-language-meta {
  display: none; /* desktop hidden */
  margin-top: 4px;
  font-size: 11px;
  color: #666;
}


/* ============================================================
   LATEST BIGG BOSS SEASONS (SINGLE ROW)
   ============================================================ */

.bb-season-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.bb-season-card {
  min-width: 180px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.bb-season-poster {
  aspect-ratio: 3 / 4;
}

.bb-season-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-season-info {
  padding: 10px 12px;
  text-align: center;
}

.bb-season-info strong {
  font-size: 14px;
  font-weight: 700;
}

.season-year {
  display: block;
  font-size: 12px;
  color: #666;
}


/* ============================================================
   HOSTS – horizontal slider like Trending Contestants
   ============================================================ */

.bb-host-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

/* Same feel as .bb-card */
.bb-host-card {
  min-width: 165px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.bb-host-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.12);
}

.bb-host-photo {
  aspect-ratio: 1 / 1;
}

.bb-host-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bb-host-info {
  padding: 12px;
  text-align: center;
}

.bb-host-info strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bb-host-info span {
  font-size: 12px;
  color: #666;
}

/* ============================================================
   ABOUT BIGG BOSS
   ============================================================ */

.bb-section.seo {
  background: linear-gradient(
    180deg,
    rgba(99,102,241,0.05),
    rgba(99,102,241,0.02)
  );
  border-left: 4px solid #6366f1;
  padding: 28px 26px;
  border-radius: 18px;
}

.bb-section.seo p {
  line-height: 1.85;
  font-size: 15px;
  color: #374151;
}


/* ============================================================
   MOBILE TUNING
   ============================================================ */

@media (max-width: 768px) {

  .bb-hero-inner {
    grid-template-columns: 1fr;
  }

  .bb-hero-poster {
    display: none;
  }

  .bb-hero {
    padding: 28px 20px;
  }

  .bb-hero h1 {
    font-size: 26px;
  }

  .bb-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .bb-language-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .bb-language-meta {
    display: block;
    font-size: 10px;
    color: #777;
  }

  .bb-card {
    min-width: 140px;
  }

  .bb-season-card {
    min-width: 150px;
  }
}


/* ============================================================
   DARK MODE
   ============================================================ */

html[data-theme="dark"] .bb-card,
html[data-theme="dark"] .bb-language-card,
html[data-theme="dark"] .bb-season-card,
html[data-theme="dark"] .bb-host-card {
  background: #020617;
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(0,0,0,.85);
}

html[data-theme="dark"] .tc-season,
html[data-theme="dark"] .season-year,
html[data-theme="dark"] .bb-host-info span,
html[data-theme="dark"] .bb-language-meta {
  color: #94a3b8;
}

html[data-theme="dark"] .bb-season-poster img,
html[data-theme="dark"] .bb-host-photo img {
  filter: brightness(.92) contrast(1.05);
}


/* ============================================================
   FUTURE COMMENT BOX
   ------------------------------------------------------------
   Add ONLY small tweaks below this line:
   - badges (LIVE / WINNER)
   - seasonal themes
   - A/B UI tests
   - analytics-driven spacing
   ============================================================ */
