/* ═══════════════════════════════════════════════════
   BFT THEME — MAIN STYLES
   Fiel ao design original: fundo escuro, dourado, cinema
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --gold:   #c9a84c;
  --gold-l: #e8c97b;
  --dark:   #080808;
  --card:   #141414;
  --text:   #f0ece4;
  --muted:  #7a7570;
  --border: rgba(201,168,76,.13);
  --r:      4px;
  --rlg:    12px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
input, textarea { -webkit-user-select: text; -moz-user-select: text; user-select: text; }
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,8,8,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.75rem;
  letter-spacing: 4px;
  background: linear-gradient(120deg, var(--gold-l), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  flex-shrink: 0;
}
.header-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 380px;
  position: relative;
  margin: 0 1rem;
}
.header-search::before {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: .8rem;
  pointer-events: none;
  z-index: 2;
}
.header-search input {
  width: 100%;
  padding: .62rem 1rem .62rem 2.6rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  border-radius: 3px;
  outline: none;
  transition: all .25s;
}
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus {
  border-color: rgba(201,168,76,.45);
  background: rgba(255,255,255,.06);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-nav { display: flex; gap: 1.1rem; align-items: center; }
.header-nav a {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .5px;
  transition: color .2s;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--gold-l); }

/* ── HERO ── */
.site-hero {
  margin-top: 64px;
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 55% at 50% -5%, rgba(201,168,76,.08) 0%, transparent 65%),
    linear-gradient(180deg, #0d0d0d 0%, var(--dark) 100%);
  border-bottom: 1px solid var(--border);
}
.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 56px, rgba(201,168,76,.018) 56px, rgba(201,168,76,.018) 57px),
    repeating-linear-gradient(90deg, transparent, transparent 72px, rgba(201,168,76,.012) 72px, rgba(201,168,76,.012) 73px);
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.09);
  border: 1px solid rgba(201,168,76,.22);
  color: var(--gold);
  font-size: .68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  animation: fadeUp .6s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.06;
  background: linear-gradient(155deg, var(--text) 0%, var(--gold-l) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .7rem;
  animation: fadeUp .6s .1s ease both;
}
.hero-sub {
  color: var(--muted);
  font-size: .83rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 2.2rem;
  animation: fadeUp .6s .2s ease both;
}
.hero-search {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  animation: fadeUp .6s .3s ease both;
}
.hero-search::before {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: .9rem;
  pointer-events: none;
  z-index: 2;
}
.hero-search input {
  width: 100%;
  padding: 1.05rem 1.5rem 1.05rem 3.2rem;
  border: 1px solid rgba(201,168,76,.22);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 300;
  border-radius: 3px;
  outline: none;
  transition: all .3s;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search input:focus {
  border-color: rgba(201,168,76,.45);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,.06), 0 8px 32px rgba(0,0,0,.4);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  animation: fadeUp .6s .4s ease both;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--gold-l);
  letter-spacing: 2px;
  line-height: 1;
}
.stat-lbl {
  font-size: .65rem;
  color: var(--muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* ── SECTIONS ── */
.cat-section {
  padding: 2.5rem 0 2rem;
  position: relative;
  z-index: 1;
}
.cat-section + .cat-section { border-top: 1px solid rgba(255,255,255,.05); }
.sec-head {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.sec-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sec-icon { font-size: 1.3rem; }
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--text), var(--gold-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.sec-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.tab-btn {
  padding: 5px 15px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Bebas Neue', cursive;
  font-size: .82rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
}
.tab-btn:hover { color: var(--gold); border-color: rgba(201,168,76,.32); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--gold), #a07820);
  color: #080808;
  border-color: var(--gold);
}
.see-all-link {
  margin-left: auto;
  flex-shrink: 0;
  padding: 7px 18px;
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: 'Bebas Neue', cursive;
  font-size: .85rem;
  letter-spacing: 2px;
  border-radius: 2px;
  transition: all .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
}
.see-all-link:hover {
  background: rgba(201,168,76,.08);
  border-color: rgba(201,168,76,.38);
}

/* ── GRID ── */
.bft-container { max-width: 1440px; margin: 0 auto; padding: .5rem 2rem 1rem; }
.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  transition: opacity .2s;
}

/* ── CARD ── */
.movie-card {
  background: var(--card);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.04);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s;
  animation: fadeUp .45s ease both;
  text-decoration: none;
  display: block;
  color: inherit;
}
.movie-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,.7), 0 0 0 1px rgba(201,168,76,.2);
}
.movie-card:hover .movie-overlay { opacity: 1; }
.movie-card:hover .movie-poster img { transform: scale(1.07); }
.movie-poster { position: relative; overflow: hidden; }
.movie-poster img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.movie-poster::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(8,8,8,.75));
  pointer-events: none;
}
.movie-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,.45);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .3s;
  z-index: 2;
}
.movie-overlay::after {
  content: '▶';
  width: 50px;
  height: 50px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--gold);
  transition: all .2s;
}
.movie-card:hover .movie-overlay::after {
  background: var(--gold);
  color: #080808;
  transform: scale(1.1);
}
.movie-rating {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(8px);
  padding: 3px 9px;
  border-radius: 2px;
  border: 1px solid rgba(201,168,76,.28);
  color: var(--gold-l);
  font-size: .72rem;
  font-weight: 500;
  z-index: 3;
}
.media-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(30,80,200,.88);
  backdrop-filter: blur(6px);
  padding: 3px 8px;
  border-radius: 2px;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  z-index: 3;
}
.movie-info { padding: 11px 12px 13px; background: var(--card); }
.movie-title {
  font-size: .84rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
  line-height: 1.3;
}
.movie-year { color: var(--muted); font-size: .7rem; letter-spacing: .5px; }
.empty-msg { color: var(--muted); padding: 3rem; text-align: center; grid-column: 1/-1; }

/* ── BUSCA / TODOS ── */
#bft-sec-todos { display: none; }
.all-header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: .5rem;
}
.all-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--text), var(--gold-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 1;
}
.back-btn {
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Bebas Neue', cursive;
  font-size: .85rem;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.back-btn:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
#bft-all-tabs { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── PAGINAÇÃO ── */
.bft-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 2.5rem 0 .5rem;
  flex-wrap: wrap;
}
.bft-pagination button {
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all .2s;
}
.bft-pagination button:hover { border-color: var(--gold); color: var(--gold); }
.bft-pagination button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #080808;
  font-weight: 600;
}

/* ── LOADING ── */
.bft-loading {
  text-align: center;
  padding: 2.5rem;
  font-family: 'Bebas Neue', cursive;
  font-size: .9rem;
  letter-spacing: 4px;
  color: var(--muted);
  display: none;
  grid-column: 1/-1;
}
.bft-loading::after {
  content: '';
  display: block;
  width: 30px; height: 30px;
  margin: .7rem auto 0;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

/* ── PÁGINA INDIVIDUAL (SINGLE) ── */

/* Breadcrumb */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: .7rem 2rem; font-size: .78rem; color: var(--muted); position: relative; z-index: 2; }
.breadcrumb a { color: var(--gold); text-decoration: none; }

/* Hero com backdrop */
.bd-hero { position: relative; margin-top: 64px; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.bd-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; filter: blur(2px); transform: scale(1.05); }
.bd-over { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,.25) 0%, rgba(8,8,8,.92) 70%, var(--dark) 100%); }
.bd-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 2.5rem; display: flex; gap: 2rem; align-items: flex-end; flex-wrap: wrap; width: 100%; }
.bd-poster { flex-shrink: 0; width: 200px; }
.bd-poster img { width: 100%; border-radius: var(--rlg); box-shadow: 0 20px 60px rgba(0,0,0,.9); pointer-events: none; display: block; }
.bd-info { flex: 1; min-width: 250px; }
.bd-tag { font-family: 'Bebas Neue', cursive; font-size: .7rem; letter-spacing: 3px; color: var(--gold); margin-bottom: .5rem; text-transform: uppercase; }
.bd-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 900; line-height: 1.05; margin-bottom: .7rem; background: linear-gradient(155deg, var(--text), var(--gold-l)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bd-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 1.2rem; }
.bd-meta span { background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.18); padding: 5px 13px; border-radius: 3px; display: inline-flex; align-items: center; gap: 6px; font-size: .79rem; color: #c8c4bc; }
.bd-meta span i { color: var(--gold); font-size: .7rem; }

/* Botões de download */
.dl-box { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-dl { padding: 11px 24px; font-size: .82rem; font-weight: 600; color: #fff; border-radius: 3px; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: all .25s; letter-spacing: 1px; text-transform: uppercase; border: none; cursor: pointer; }
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.5); filter: brightness(1.15); }
.btn-720  { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.btn-1080 { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.btn-4k   { background: linear-gradient(135deg, #4a148c, #6a1b9a); }

/* Corpo do detalhe */
.detail-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 3rem; position: relative; z-index: 1; display: flex; gap: 3rem; flex-wrap: wrap; }
.detail-main { flex: 1; min-width: 280px; }
.detail-side { width: 280px; flex-shrink: 0; }
.det-h3 { font-family: 'Bebas Neue', cursive; font-size: .8rem; letter-spacing: 3px; color: var(--gold); margin: 1.6rem 0 .5rem; padding-bottom: 5px; border-bottom: 1px solid var(--border); }
.det-p { color: var(--muted); font-size: .86rem; line-height: 1.7; }
.overview-txt { font-size: .96rem; line-height: 1.85; color: #b0aca5; font-weight: 300; }
.overview-txt strong { color: var(--gold); font-weight: 600; font-style: italic; font-family: 'Playfair Display', serif; margin-right: 4px; }

/* Trailer */
.trailer-wrap { margin-top: 1.5rem; }
.trailer-wrap iframe { width: 100%; height: 360px; border: none; border-radius: var(--rlg); border: 1px solid var(--border); }

/* Aside */
.rating-big { text-align: center; padding: 1.2rem 1rem; background: rgba(201,168,76,.07); border: 1px solid rgba(201,168,76,.2); border-radius: var(--rlg); margin-bottom: 1rem; }
.rating-num { font-family: 'Bebas Neue', cursive; font-size: 3rem; color: var(--gold); line-height: 1; }
.rating-lbl { font-size: .7rem; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.side-card { background: rgba(20,20,20,.85); border: 1px solid var(--border); border-radius: var(--rlg); padding: 1.2rem; margin-bottom: 1rem; }
.side-row { display: flex; justify-content: space-between; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: .82rem; }
.side-row:last-child { border-bottom: none; }
.side-lbl { color: var(--muted); flex-shrink: 0; margin-right: .5rem; }
.side-val { color: var(--text); font-weight: 500; text-align: right; }

/* Similares */
.related-section { position: relative; z-index: 1; }

/* Responsivo */
@media (max-width: 900px) {
  .bd-poster { width: 150px; }
  .detail-side { width: 100%; }
}
@media (max-width: 640px) {
  .bd-hero { margin-top: 56px; }
  .bd-content { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1rem 2rem; }
  .bd-meta { justify-content: center; }
  .dl-box { justify-content: center; }
  .btn-dl { flex: 1; min-width: 90px; justify-content: center; padding: 10px 12px; }
  .detail-wrap { padding: 1.5rem 1rem 2rem; gap: 1.5rem; }
  .trailer-wrap iframe { height: 210px; }
  .breadcrumb { padding: .5rem 1rem; }
}

/* ── PÁGINA DE LISTAGEM ── */
.archive-header {
  margin-top: 64px;
  padding: 3rem 2rem 2rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.archive-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--text), var(--gold-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex: 1;
}

/* ── FOOTER ── */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}
.site-footer a { color: var(--gold); }
.site-footer a:hover { opacity: .7; }
.footer-links { margin-top: .4rem; letter-spacing: .5px; }
.tmdb-note { font-size: .68rem; opacity: .4; margin-top: .6rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── DESKTOP GRID ── */
@media (min-width: 1100px) { .movies-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 900px) and (min-width: 641px) { .movies-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }
@media (max-width: 900px) {
  .header-search { max-width: 240px; margin: 0 .6rem; }
  .sec-head { gap: .8rem; }
  .see-all-link { margin-left: 0; }
  .single-content { flex-direction: column; align-items: flex-start; }
  .single-poster { width: 150px; }
}
@media (max-width: 640px) {
  .site-header { height: 56px; }
  .header-inner { padding: .7rem 1rem; gap: .5rem; height: 56px; }
  .site-logo { font-size: 1.35rem; letter-spacing: 2px; }
  .header-search { display: flex; flex: 1; max-width: none; margin: 0 .4rem; background: rgba(255,255,255,.05); border-radius: 6px; border: 1px solid var(--border); }
  .header-search input { font-size: .82rem; padding: .5rem .8rem .5rem 2.2rem; }
  .header-search::before { left: .7rem; font-size: .75rem; }
  .header-nav { display: none; }
  .site-hero { margin-top: 56px; padding: 2.2rem 1rem 1.8rem; }
  .hero-badge { font-size: .6rem; letter-spacing: 3px; padding: 4px 14px; margin-bottom: .8rem; }
  .hero-title { font-size: 1.75rem; line-height: 1.1; margin-bottom: .5rem; }
  .hero-sub { font-size: .72rem; letter-spacing: 1.5px; margin-bottom: 1.4rem; }
  .hero-search { display: none; }
  .hero-stats { gap: 1.2rem; margin-top: 1.4rem; }
  .stat-num { font-size: 1.5rem; }
  .stat-lbl { font-size: .58rem; letter-spacing: 2px; }
  .cat-section { padding: 1.6rem 0 1rem; }
  .sec-head { padding: 0 1rem .9rem; gap: .6rem; flex-wrap: wrap; }
  .sec-icon { font-size: 1.1rem; }
  .sec-title { font-size: 1.25rem; }
  .sec-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 5px; flex: none; width: 100%; scrollbar-width: none; padding-bottom: 2px; }
  .sec-tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; padding: 5px 13px; font-size: .75rem; letter-spacing: 1px; white-space: nowrap; }
  .see-all-link { margin-left: 0; width: 100%; justify-content: center; padding: 8px; font-size: .78rem; }
  .bft-container { padding: .4rem 0 1rem; }
  .movies-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .7rem; padding: 0 1rem 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .movies-grid::-webkit-scrollbar { display: none; }
  .movie-card { flex: 0 0 42vw; max-width: 160px; min-width: 130px; scroll-snap-align: start; border-radius: 6px; transform: none !important; }
  .movie-card:active { opacity: .85; transform: scale(.97) !important; transition: transform .15s, opacity .15s; }
  .movie-card:hover { box-shadow: none; }
  .movie-poster img { aspect-ratio: 2/3; }
  .movie-info { padding: 8px 9px 10px; }
  .movie-title { font-size: .76rem; }
  .movie-year { font-size: .64rem; }
  .movie-rating { font-size: .65rem; padding: 2px 7px; top: 6px; right: 6px; }
  .media-badge { font-size: .55rem; padding: 2px 6px; top: 6px; left: 6px; }
  .single-hero { min-height: 360px; }
  .single-content { padding: 1.5rem 1rem; }
  .single-poster { width: 120px; }
  .single-title { font-size: 1.4rem; }
  .single-body { padding: 1.5rem 1rem; }
  .trailer-wrap iframe { height: 210px; }
  .site-footer { padding: 1.5rem 1rem; font-size: .72rem; line-height: 1.8; }
}
@media (max-width: 360px) {
  .site-logo { font-size: 1.15rem; }
  .movie-card { flex: 0 0 44vw; min-width: 120px; }
  .hero-title { font-size: 1.55rem; }
  .stat-num { font-size: 1.3rem; }
}


