/*
Theme Name: Bingebaaz Theme
Theme URI: https://bingebaaz.com
Author: BingeBaaz
Author URI: https://bingebaaz.com
Description: A premium, cinematic dark-mode WordPress theme for Bingebaaz – the ultimate OTT review and ending explained destination.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: bingebaaz
*/

/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --purple-bg: #0e0720;
  --purple-card: #1a0e36;
  --purple-header: #1c0c3a;
  --yellow: #FFB200;
  --orange: #FF8C00;
  --cyan: #00D2D3;
  --white: #F3F4F6;
  --muted: #9CA3AF;
  --black: #06020f;
}

/* =====================
   RESET & BASE
   ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--purple-bg);
  color: var(--white);
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--yellow);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.15;
}

/* =====================
   HEADER / NAV
   ===================== */
.site-header {
  background: var(--purple-header);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .5);
  border-bottom: 2px solid rgba(255, 178, 0, .12);
}

/* Circular logo image — bundled inside theme folder */
.site-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-img,
.custom-logo-link img,
.custom-logo {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--yellow) !important;
  box-shadow: 0 0 12px rgba(255, 178, 0, .45) !important;
}

/* Wordmark next to logo */
.site-title-text {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--yellow);
  text-decoration: none;
}

.site-title-text span {
  color: var(--cyan);
}

/* Fallback text-only logo (no image) */
.site-title {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.site-title a {
  color: var(--yellow);
}

.site-title a span {
  color: var(--cyan);
}

/* Logo icon circle fallback */
.logo-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple-bg);
  border: 2px solid var(--yellow);
  box-shadow: 0 0 10px rgba(255, 178, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Nav menu */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  color: var(--white);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: color .2s;
}

.main-navigation a:hover {
  color: var(--yellow);
}

.main-navigation .current-menu-item>a {
  color: var(--yellow);
}

/* =====================
   PLATFORM STRIP
   ===================== */
.platform-strip {
  background: var(--purple-card);
  padding: .75rem 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  scrollbar-width: none;
}

.platform-strip::-webkit-scrollbar {
  display: none;
}

.platform-strip__label {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.platform-badge:hover {
  background: rgba(255, 178, 0, .15);
  border-color: var(--yellow);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red {
  background: #E50914;
}

.dot-blue {
  background: #00A8E1;
}

.dot-purple {
  background: #9B59B6;
}

.dot-teal {
  background: #00D2D3;
}

/* =====================
   HERO
   ===================== */
.hero {
  background: linear-gradient(135deg, #1c0646 0%, #0e0720 60%);
  padding: 5rem 5% 4rem;
  text-align: center;
  border-bottom: 3px solid rgba(255, 178, 0, .18);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 210, 211, .08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  color: #000;
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: .9rem;
}

.hero h1 .highlight {
  color: var(--yellow);
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================
   BUTTONS
   ===================== */
.btn-primary {
  background: var(--yellow);
  color: #000;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 178, 0, .35);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  transition: all .2s;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--cyan);
  color: #000;
}

.btn-read-more {
  font-size: .78rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.btn-read-more:hover {
  color: var(--yellow);
}

/* =====================
   MAIN CONTENT WRAPPER
   ===================== */
.site-main {
  width: 100%;
}

section {
  padding: 3rem 5%;
}

/* =====================
   SECTION HEADER
   ===================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: .7rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 5px;
  height: 22px;
  background: var(--cyan);
  border-radius: 3px;
}

.view-all {
  color: var(--yellow);
  font-size: .82rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}

.view-all:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* =====================
   CARDS
   ===================== */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.post-card {
  background: var(--purple-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .25s, box-shadow .25s;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 210, 211, .14);
}

.post-thumbnail {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 3px solid var(--yellow);
}

.post-thumb-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, #2a1657 0%, #0e1a2e 100%);
  border-bottom: 3px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.post-body {
  padding: 1.1rem 1.2rem 1.4rem;
}

.cat-tag {
  display: inline-block;
  background: var(--cyan);
  color: #000;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: .5rem;
}

.cat-tag.yellow {
  background: var(--yellow);
}

.cat-tag.orange {
  background: var(--orange);
}

.post-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .35rem;
}

.post-title a {
  color: var(--white);
}

.post-title a:hover {
  color: var(--cyan);
}

.post-meta {
  font-size: .76rem;
  color: var(--muted);
  margin-bottom: .8rem;
}

.star-rating {
  color: var(--yellow);
  font-size: .9rem;
  letter-spacing: 1px;
  margin-bottom: .5rem;
}

/* =====================
   FEATURED GRID
   ===================== */
.featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.featured-card {
  background: var(--purple-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 178, 0, .18);
  transition: transform .25s, box-shadow .25s;
  grid-row: span 2;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(255, 178, 0, .12);
}

.featured-thumb {
  width: 100%;
  height: 280px;
  background: linear-gradient(160deg, #2d1266 0%, #0e162e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border-bottom: 4px solid var(--yellow);
}

.featured-body {
  padding: 1.5rem;
}

.featured-title {
  font-size: 1.3rem;
  margin-bottom: .5rem;
}

.featured-excerpt {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* =====================
   YOUTUBE SECTION
   ===================== */
.yt-wrap {
  background: var(--purple-card);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .07);
}

.yt-embed-box {
  background: linear-gradient(135deg, #1a0e36, #0d0d1a);
  border-radius: 10px;
  width: 100%;
  max-width: 700px;
  height: 360px;
  margin: 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid rgba(255, 0, 0, .25);
  cursor: pointer;
  transition: border-color .2s;
}

.yt-embed-box:hover {
  border-color: rgba(255, 0, 0, .6);
}

.yt-play-btn {
  width: 70px;
  height: 70px;
  background: #FF0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

/* =====================
   INSTAGRAM STRIP
   ===================== */
.insta-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scrollbar-width: none;
}

.insta-strip::-webkit-scrollbar {
  display: none;
}

.insta-post {
  min-width: 130px;
  height: 130px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #2a1657, #1a2e1a);
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s, transform .2s;
}

.insta-post:hover {
  border-color: var(--cyan);
  transform: scale(1.05);
}

/* =====================
   SINGLE POST
   ===================== */
.single-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 5%;
}

.single-header {
  text-align: center;
  margin-bottom: 2rem;
}

.single-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--yellow);
  margin-bottom: .5rem;
}

.single-meta {
  color: var(--muted);
  font-size: .85rem;
}

.single-thumbnail {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 2px solid var(--purple-card);
}

.single-content {
  font-size: 1.08rem;
  line-height: 1.8;
}

.single-content h2 {
  color: var(--cyan);
  margin: 2rem 0 .75rem;
}

.single-content p {
  margin-bottom: 1.2rem;
}

.single-content img {
  border-radius: 8px;
  margin: 1.5rem 0;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--black);
  border-top: 3px solid var(--purple-card);
  padding: 3rem 5% 2rem;
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.footer-logo .binge {
  color: var(--yellow);
}

.footer-logo .baaz {
  color: var(--cyan);
}

.social-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  transition: transform .2s, box-shadow .2s;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.yt-btn {
  background: #FF0000;
  color: #fff;
}

.ig-btn {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--muted);
  font-size: .82rem;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--yellow);
}

.site-info {
  color: var(--muted);
  font-size: .78rem;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    height: auto;
    padding: 1rem 5%;
    gap: .75rem;
  }

  .main-navigation ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }
}