/* ============================================================
   AnimeVault – Main Stylesheet
   Dark cinematic anime theme
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Barlow+Condensed:wght@400;600;700&display=swap');

:root {
  --bg:        #080810;
  --bg2:       #0e0e1a;
  --bg3:       #141428;
  --bg4:       #1c1c35;
  --accent:    #f5a623;
  --accent2:   #e07b0a;
  --blue:      #4f8ef7;
  --red:       #ef4444;
  --green:     #22c55e;
  --text:      #e4e4f0;
  --muted:     #7777aa;
  --border:    #252540;
  --radius:    8px;
  --radius-lg: 12px;
  font-size: 15px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Barlow', sans-serif; min-height: 100vh; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Bebas Neue', cursive; letter-spacing: .06em; }
.font-bebas { font-family: 'Bebas Neue', cursive; letter-spacing: .06em; }

/* ── Utility ── */
.truncate    { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,8,16,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}
.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 20px;
  height: 100%; display: flex; align-items: center; gap: 20px;
}
.nav-logo {
  font-family: 'Bebas Neue', cursive; font-size: 28px; letter-spacing: .1em;
  color: var(--accent); flex-shrink: 0;
}
.nav-logo span { color: var(--text); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 500;
  color: var(--muted); transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg3); color: var(--text); }
.nav-search {
  flex: 1; max-width: 380px; position: relative; margin-left: auto;
}
.nav-search input {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 8px 14px 8px 38px; border-radius: 8px;
  font-size: 13px; outline: none; transition: border-color .2s;
}
.nav-search input::placeholder { color: var(--muted); }
.nav-search input:focus { border-color: var(--accent); }
.nav-search-icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); }

/* Search dropdown */
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-lg);
  z-index: 300; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.6);
  display: none;
}
.search-results.show { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  cursor: pointer; transition: background .15s;
}
.search-result-item:hover { background: var(--bg4); }
.search-result-item img { width: 36px; height: 52px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sri-title { font-size: 13px; font-weight: 500; }
.sri-meta  { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ============================================================
   HERO / FEATURED BANNER
   ============================================================ */
.hero {
  position: relative; height: 520px; overflow: hidden;
  background: var(--bg2);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  filter: brightness(.35) saturate(1.3);
  transition: background-image .8s;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,16,.92) 35%, transparent 75%),
              linear-gradient(180deg, transparent 40%, rgba(8,8,16,.98) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  max-width: 1440px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: flex-end; padding-bottom: 60px;
}
.hero-text { max-width: 520px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #000; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 14px;
}
.hero-title {
  font-family: 'Bebas Neue', cursive; font-size: 52px; letter-spacing: .04em;
  line-height: 1; color: #fff; margin-bottom: 12px;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap;
}
.hero-meta span { font-size: 13px; color: #aaa; }
.hero-score { color: var(--accent) !important; font-weight: 600; }
.hero-synopsis { font-size: 14px; color: #bbb; line-height: 1.7; margin-bottom: 22px; }
.hero-genres { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.genre-tag {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 3px 10px; border-radius: 20px; font-size: 12px; color: #ccc;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 8px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: all .2s;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent2); }
.btn-outline {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

/* Hero dots nav */
.hero-dots {
  position: absolute; bottom: 22px; right: 40px; z-index: 3;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); cursor: pointer; transition: all .2s;
}
.hero-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ============================================================
   SECTION / CONTENT GRID
   ============================================================ */
.section { max-width: 1440px; margin: 0 auto; padding: 36px 20px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.section-title {
  font-family: 'Bebas Neue', cursive; font-size: 24px; letter-spacing: .06em; color: #fff;
}
.section-title span { color: var(--accent); }
.section-more {
  font-size: 12px; color: var(--muted); font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--border); padding: 5px 14px; border-radius: 6px;
  transition: all .2s;
}
.section-more:hover { border-color: var(--accent); color: var(--accent); }

.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px;
}

/* ── Anime Card ── */
.anime-card {
  background: var(--bg2); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.anime-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5), 0 0 0 1px var(--accent);
  border-color: var(--accent);
}
.card-poster-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 2/3;
}
.card-poster-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.anime-card:hover .card-poster-wrap img { transform: scale(1.06); }
.card-type-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--accent); color: #000;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px;
}
.card-type-badge.movie { background: var(--blue); color: #fff; }
.card-type-badge.ova   { background: #7c3aed; color: #fff; }
.card-score {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,.75); color: var(--accent);
  font-size: 12px; font-weight: 600; padding: 3px 7px; border-radius: 5px;
  display: flex; align-items: center; gap: 3px;
}
.card-score svg { width: 10px; height: 10px; fill: var(--accent); }
.card-ep-count {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.75); color: #fff;
  font-size: 10px; padding: 2px 7px; border-radius: 4px;
}
.card-new-badge {
  position: absolute; bottom: 8px; left: 8px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
}
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.85) 100%);
  opacity: 0; transition: opacity .3s;
}
.anime-card:hover .card-overlay { opacity: 1; }
.card-body { padding: 10px 12px 12px; }
.card-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px;
  line-height: 1.3; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; align-items: center; justify-content: space-between; }
.card-year { font-size: 11px; color: var(--muted); }
.card-genres { font-size: 11px; color: var(--muted); }

/* ── Episode Card (latest) ── */
.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.ep-card {
  display: flex; gap: 12px; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 10px;
  transition: border-color .2s, background .2s; cursor: pointer;
}
.ep-card:hover { border-color: var(--accent); background: var(--bg3); }
.ep-card img { width: 80px; height: 110px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.ep-info { min-width: 0; flex: 1; }
.ep-anime-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.ep-number { font-size: 11px; color: var(--accent); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; }
.ep-title  { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ep-time   { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   ANIME DETAIL PAGE
   ============================================================ */
.anime-hero {
  position: relative; min-height: 340px; background: var(--bg2); overflow: hidden;
}
.anime-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  filter: blur(20px) brightness(.25) saturate(1.4);
}
.anime-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,16,.4) 0%, rgba(8,8,16,.98) 90%);
}
.anime-hero-inner {
  position: relative; z-index: 2; max-width: 1440px; margin: 0 auto;
  padding: 50px 40px 40px; display: flex; gap: 36px; align-items: flex-start;
}
.anime-poster {
  width: 200px; flex-shrink: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
}
.anime-poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.anime-info { flex: 1; min-width: 0; }
.anime-title-en {
  font-family: 'Bebas Neue', cursive; font-size: 46px; letter-spacing: .04em;
  line-height: 1; color: #fff; margin-bottom: 4px;
}
.anime-title-jp { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.anime-stats {
  display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 16px;
}
.stat-pill {
  background: var(--bg4); border: 1px solid var(--border);
  padding: 5px 14px; border-radius: 20px;
  font-size: 13px; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.stat-pill .label { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.anime-genres-wrap { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.anime-genre-tag {
  background: rgba(245,166,35,.12); border: 1px solid rgba(245,166,35,.3);
  color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 12px;
  transition: background .2s;
}
.anime-genre-tag:hover { background: rgba(245,166,35,.22); }
.anime-synopsis { font-size: 14px; color: #bbb; line-height: 1.75; max-width: 700px; }

/* ── Episode List (below player) ── */
.episode-list-wrap {
  max-width: 1440px; margin: 0 auto; padding: 30px 20px;
  display: grid; grid-template-columns: 1fr 340px; gap: 30px;
}
.ep-list-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.ep-list-title { font-family: 'Bebas Neue', cursive; font-size: 22px; letter-spacing: .06em; }
.ep-search-input {
  background: var(--bg3); border: 1px solid var(--border); color: var(--text);
  padding: 7px 12px; border-radius: 6px; font-size: 13px; outline: none; width: 200px;
}
.ep-search-input:focus { border-color: var(--accent); }
.ep-list-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px;
}
.ep-item {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px; text-align: center;
  cursor: pointer; transition: all .2s;
}
.ep-item:hover, .ep-item.active {
  background: var(--accent); border-color: var(--accent); color: #000;
}
.ep-item.filler { border-color: var(--muted); opacity: .7; }
.ep-item-num { font-family: 'Bebas Neue', cursive; font-size: 20px; }
.ep-item-title { font-size: 10px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-item.active .ep-item-title, .ep-item:hover .ep-item-title { color: #000; }

/* ── Sidebar ── */
.sidebar {}
.sidebar-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 20px;
}
.sidebar-card-title {
  font-family: 'Bebas Neue', cursive; font-size: 16px; letter-spacing: .08em;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.sidebar-item {
  display: flex; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--border); cursor: pointer;
  transition: background .2s;
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item:hover { background: var(--bg3); }
.sidebar-item img { width: 48px; height: 68px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sidebar-item-title { font-size: 13px; font-weight: 500; line-height: 1.4; }
.sidebar-item-meta  { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   WATCH PAGE / PLAYER
   ============================================================ */
.watch-layout {
  max-width: 1440px; margin: 0 auto; padding: 20px 20px 40px;
  display: grid; grid-template-columns: 1fr 360px; gap: 24px;
}
.player-area { min-width: 0; }
.player-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #000; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.player-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.player-no-source {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; color: var(--muted);
}
.player-no-source svg { width: 56px; height: 56px; opacity: .4; }
.player-no-source p { font-size: 14px; text-align: center; }

/* Source tabs */
.source-tabs {
  display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap;
}
.source-tab {
  background: var(--bg3); border: 1px solid var(--border); color: var(--muted);
  padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.source-tab:hover { border-color: var(--accent); color: var(--text); }
.source-tab.active { background: var(--accent); border-color: var(--accent); color: #000; }

/* Episode nav bar */
.ep-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 14px 16px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
}
.ep-nav-title { font-size: 15px; font-weight: 600; }
.ep-nav-meta  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.ep-nav-btns  { display: flex; gap: 8px; }
.ep-nav-btn {
  background: var(--bg3); border: 1px solid var(--border); color: var(--text);
  padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block;
}
.ep-nav-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.ep-nav-btn:disabled, .ep-nav-btn.disabled {
  opacity: .3; cursor: not-allowed; pointer-events: none;
}

/* Anime info strip */
.watch-anime-strip {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  margin-top: 14px;
}
.watch-anime-strip img { width: 64px; height: 90px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.watch-strip-title { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.watch-strip-meta  { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   BROWSE / FILTER PAGE
   ============================================================ */
.browse-layout {
  max-width: 1440px; margin: 0 auto; padding: 30px 20px;
  display: grid; grid-template-columns: 240px 1fr; gap: 28px;
}
.filter-panel {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px; height: fit-content;
  position: sticky; top: 76px;
}
.filter-section { margin-bottom: 24px; }
.filter-section:last-child { margin-bottom: 0; }
.filter-section-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; cursor: pointer; }
.filter-check input[type=checkbox] { accent-color: var(--accent); cursor: pointer; }
.filter-check label { font-size: 13px; color: var(--text); cursor: pointer; }
.filter-select {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 8px 12px; border-radius: 6px; font-size: 13px; outline: none;
}
.filter-select:focus { border-color: var(--accent); }
.filter-year-inputs { display: flex; gap: 8px; }
.filter-year-inputs input {
  flex: 1; background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 8px; border-radius: 6px; font-size: 13px; outline: none;
  text-align: center;
}
.filter-apply {
  width: 100%; background: var(--accent); color: #000; border: none;
  padding: 10px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer;
  margin-top: 8px; transition: background .2s;
}
.filter-apply:hover { background: var(--accent2); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 40px; flex-wrap: wrap;
}
.page-link {
  background: var(--bg2); border: 1px solid var(--border); color: var(--muted);
  padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block;
}
.page-link:hover { border-color: var(--accent); color: var(--accent); }
.page-link.active { background: var(--accent); border-color: var(--accent); color: #000; }
.page-link.disabled { opacity: .3; pointer-events: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  margin-top: 60px; padding: 40px 20px 24px;
}
.footer-inner { max-width: 1440px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-logo { font-family: 'Bebas Neue', cursive; font-size: 28px; letter-spacing: .1em; color: var(--accent); margin-bottom: 10px; }
.footer-logo span { color: var(--text); }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }
.footer-col-title { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: #888; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-disclaimer { font-size: 11px; color: #555; text-align: right; max-width: 500px; }

/* ============================================================
   ADMIN – basic styles (full admin.css in admin/)
   ============================================================ */
.tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.tag-green  { background: rgba(34,197,94,.15);  color: var(--green); }
.tag-red    { background: rgba(239,68,68,.15);   color: var(--red); }
.tag-orange { background: rgba(245,166,35,.15);  color: var(--accent); }
.tag-blue   { background: rgba(79,142,247,.15);  color: var(--blue); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .browse-layout { grid-template-columns: 1fr; }
  .filter-panel   { position: static; }
  .episode-list-wrap { grid-template-columns: 1fr; }
  .watch-layout { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { height: 400px; }
  .hero-title { font-size: 36px; }
  .hero-content { padding: 0 20px 40px; }
  .anime-hero-inner { flex-direction: column; padding: 30px 20px; }
  .anime-poster { width: 150px; }
  .anime-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .footer-top { grid-template-columns: 1fr; }
}
