/* OtakuMinds — Main Stylesheet v2 */
/* Bright, clean, monetization-ready */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Serif+JP:wght@400;700&family=Bebas+Neue&display=swap');

:root {
  /* Bright palette */
  --bg-page:    #f5f6fa;
  --bg-white:   #ffffff;
  --bg-soft:    #f0f1f8;
  --bg-card:    #ffffff;
  --border:     #e2e4f0;
  --border-dark:#c8cbe0;

  --text-primary:   #0f0f23;
  --text-secondary: #5a5c7a;
  --text-muted:     #9395b0;

  --accent-red:    #e8284a;
  --accent-red-lt: #fff0f2;
  --accent-blue:   #3d5afe;
  --accent-blue-lt:#f0f3ff;
  --accent-gold:   #f59e0b;
  --accent-gold-lt:#fffbeb;
  --accent-green:  #10b981;
  --accent-purple: #7c3aed;

  /* Dark hero strip */
  --hero-bg:    #0f0f23;
  --hero-card:  #1a1a3a;
  --hero-border:#2a2a50;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-jp:      'Noto Serif JP', serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --shadow-red:  0 4px 20px rgba(232,40,74,.25);
  --shadow-blue: 0 4px 20px rgba(61,90,254,.25);

  --transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-page); color: var(--text-primary); font-family: var(--font-body); font-size: 15px; line-height: 1.6; overflow-x: hidden; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--accent-red); border-radius: 3px; }

h1,h2,h3,h4 { line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; transition: var(--transition); }

/* ─── AD SLOT STYLES ─── */
.ad-slot {
  background: var(--bg-soft);
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
  position: relative;
}
.ad-slot.leaderboard  { width: 100%; height: 90px; }
.ad-slot.rectangle    { width: 300px; height: 250px; min-width: 300px; }
.ad-slot.wide-rect    { width: 100%; height: 250px; }
.ad-slot.inline-banner { width: 100%; height: 100px; margin: 2rem 0; }
/* Replace the dashed border with real ads when connected to AdSense/etc */

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--hero-border);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo .accent { color: var(--accent-red); }
.nav-logo .jp { font-family: var(--font-jp); font-size: 0.65rem; color: #9090c0; margin-left: 4px; font-weight: 400; align-self: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: #b0b0d0;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.nav-links a.active { color: var(--accent-red); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.nav-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  gap: 0.4rem;
  transition: var(--transition);
}
.nav-search:focus-within { background: rgba(255,255,255,0.12); border-color: var(--accent-red); }
.nav-search input { background: none; border: none; outline: none; color: #fff; font-family: var(--font-body); font-size: 0.82rem; width: 180px; }
.nav-search input::placeholder { color: #8080a0; }
.nav-search svg { color: #8080a0; flex-shrink: 0; }

.nav-cta {
  background: var(--accent-red);
  color: #fff !important;
  padding: 0.4rem 1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
}
.nav-cta:hover { background: #c41e38 !important; color: #fff !important; transform: none; }

/* ─── TOP AD BAR ─── */
.top-ad-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
  display: flex;
  justify-content: center;
}

/* ─── HERO ─── */
.hero {
  background: var(--hero-bg);
  padding: 3rem 0 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg-page));
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(232,40,74,0.15);
  color: #ff6b86;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(232,40,74,0.3);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.95;
  color: #fff;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}
.hero-title .red { color: var(--accent-red); }
.hero-desc { color: #9090b8; font-size: 1rem; max-width: 480px; line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-red { background: var(--accent-red); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { background: #c41e38; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232,40,74,.35); }
.btn-blue { background: var(--accent-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { background: #2a42d4; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-outline-red { background: transparent; color: var(--accent-red); border: 1.5px solid var(--accent-red); }
.btn-outline-red:hover { background: var(--accent-red-lt); }
.btn-light { background: var(--bg-white); color: var(--text-primary); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.btn-light:hover { border-color: var(--border-dark); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }

.hero-stats {
  display: flex; gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hero-border);
}
.hero-stat-val { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent-red); line-height: 1; }
.hero-stat-lbl { font-size: 0.72rem; color: #7070a0; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

/* Hero featured card */
.hero-card {
  background: var(--hero-card);
  border: 1px solid var(--hero-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.hero-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.hero-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
  padding: 2rem 1.25rem 1.25rem;
}
.hero-card-badge {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hero-card-title { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 0.2rem; }
.hero-card-meta { font-size: 0.75rem; color: #a0a0c0; }

/* ─── LAYOUT ─── */
.site-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ─── SECTION HEADERS ─── */
.section { padding: 3rem 0; }
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title .jp { font-family: var(--font-jp); font-size: 0.65rem; color: var(--text-muted); font-weight: 400; letter-spacing: 0.15em; display: block; }
.section-link { font-size: 0.8rem; font-weight: 700; color: var(--accent-red); display: flex; align-items: center; gap: 0.2rem; white-space: nowrap; }
.section-link:hover { color: #c41e38; }

/* ─── ANIME CARDS ─── */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1.25rem;
}
.anime-grid-5 { grid-template-columns: repeat(5, 1fr); }

.anime-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: block;
}
.anime-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-red);
}
.anime-card-poster {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.anime-card-poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.anime-card:hover .anime-card-poster img { transform: scale(1.06); }
.anime-card-poster-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--border-dark);
}
.card-score-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  display: flex; align-items: center; gap: 2px;
}
.card-status-badge {
  position: absolute;
  top: 8px; left: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
}
.status-ongoing   { background: #e8284a; color: #fff; }
.status-completed { background: #10b981; color: #fff; }
.status-upcoming  { background: #f59e0b; color: #fff; }

.anime-card-body { padding: 0.75rem; }
.anime-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}
.anime-card-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: space-between;
}
.anime-genres { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.4rem; }
.genre-tag {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.12rem 0.4rem;
  background: var(--accent-blue-lt);
  color: var(--accent-blue);
  border-radius: 3px;
  letter-spacing: 0.03em;
}

/* ─── SIDEBAR WIDGETS ─── */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.widget-hd {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  background: var(--bg-soft);
}
.widget-body { padding: 1rem; }

/* Top list widget */
.top-list { display: flex; flex-direction: column; gap: 0.75rem; }
.top-list-item {
  display: flex; align-items: center; gap: 0.75rem;
  cursor: pointer; transition: var(--transition);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
}
.top-list-item:hover { background: var(--bg-soft); }
.top-list-rank {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--border-dark);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}
.top-list-rank.gold { color: var(--accent-gold); }
.top-list-rank.silver { color: #94a3b8; }
.top-list-rank.bronze { color: #cd7c3a; }
.top-list-thumb {
  width: 40px; height: 56px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.top-list-info {}
.top-list-title { font-size: 0.82rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.15rem; }
.top-list-meta  { font-size: 0.7rem; color: var(--text-muted); }

/* Newsletter widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--hero-bg), #1a0a2e);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}
.newsletter-widget h4 { font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
.newsletter-widget p { font-size: 0.8rem; color: #9090b8; margin-bottom: 1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; }
.newsletter-input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 0.6rem 0.875rem;
  outline: none;
  width: 100%;
}
.newsletter-input::placeholder { color: #6060a0; }
.newsletter-input:focus { border-color: var(--accent-red); }

/* Affiliate widget */
.affiliate-widget {
  background: linear-gradient(135deg, #fff7ed, #fff);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.affiliate-widget h4 { font-size: 0.85rem; font-weight: 800; color: #92400e; margin-bottom: 0.25rem; }
.affiliate-widget p  { font-size: 0.75rem; color: #a16207; margin-bottom: 0.875rem; line-height: 1.5; }
.affiliate-btn {
  display: block;
  text-align: center;
  background: #f59e0b;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.affiliate-btn:hover { background: #d97706; color: #fff; }

/* ─── FILTER BAR ─── */
.filter-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.filter-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); white-space: nowrap; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.filter-pill {
  padding: 0.3rem 0.75rem;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--accent-red); color: var(--accent-red); }
.filter-pill.active { background: var(--accent-red); border-color: var(--accent-red); color: #fff; }
.filter-select {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.filter-select:focus { border-color: var(--accent-red); }

/* ─── ANIME DETAIL ─── */
.detail-banner-wrap {
  height: 380px;
  overflow: hidden;
  position: relative;
  background: var(--hero-bg);
}
.detail-banner {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.detail-banner-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,15,35,0.95) 35%, transparent 100%),
              linear-gradient(to top, var(--bg-page) 0%, transparent 30%);
}
.detail-header-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}
.detail-poster {
  width: 140px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  border: 3px solid var(--accent-red);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2/3;
  object-fit: cover;
  background: var(--hero-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.detail-poster img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.detail-header-text { color: #fff; flex: 1; }
.detail-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin-bottom: 0.25rem; }
.detail-title-jp { font-family: var(--font-jp); font-size: 0.9rem; color: #7070a0; margin-bottom: 0.75rem; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.detail-score-big {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.5rem; font-weight: 900; color: var(--accent-gold);
}

/* Detail body */
.detail-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

/* ─── TABS ─── */
.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 2rem; }
.tab-btn {
  padding: 0.7rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--accent-red); border-bottom-color: var(--accent-red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ─── CHARACTERS ─── */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.25rem;
}
.char-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  transition: var(--transition);
  cursor: pointer;
}
.char-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-red); }
.char-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  border: 2.5px solid var(--border);
  margin: 0 auto 0.6rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: var(--border-dark);
}
.char-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.char-card:hover .char-avatar { border-color: var(--accent-red); }
.char-name  { font-size: 0.8rem; font-weight: 700; margin-bottom: 0.15rem; }
.char-role  { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.role-main        { color: var(--accent-red); }
.role-supporting  { color: var(--accent-blue); }
.role-antagonist  { color: var(--accent-purple); }

/* ─── REVIEWS ─── */
.reviews-list { display: flex; flex-direction: column; gap: 1.25rem; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}
.review-card:hover { border-color: var(--border-dark); box-shadow: var(--shadow-sm); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.875rem; }
.review-author-row { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-purple));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.9rem; color: #fff; flex-shrink: 0;
}
.review-author { font-weight: 700; font-size: 0.9rem; }
.review-date   { font-size: 0.72rem; color: var(--text-muted); }
.score-pill {
  background: var(--accent-gold-lt);
  color: var(--accent-gold);
  border: 1px solid #fde68a;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}
.review-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.review-body  { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }

/* Review form */
.review-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-top: 2rem;
}
.review-form-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: 0.4rem; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.6rem 0.875rem;
  outline: none;
  transition: var(--transition);
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent-red); box-shadow: 0 0 0 3px rgba(232,40,74,.1); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ─── INFO TABLE ─── */
.info-table { width: 100%; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 0.65rem 0; font-size: 0.88rem; }
.info-table td:first-child { font-weight: 700; color: var(--text-secondary); width: 140px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── SYNOPSIS CARD ─── */
.synopsis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.synopsis-card h3 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 0.75rem; }
.synopsis-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; }

/* ─── STREAMING CTA ─── */
.streaming-cta {
  background: linear-gradient(135deg, #1a0a2e, #0f0f23);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}
.streaming-cta h4 { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #7070b0; margin-bottom: 0.75rem; }
.streaming-btn {
  display: flex; align-items: center; gap: 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.875rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.82rem;
  color: #fff;
}
.streaming-btn:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.25); color: #fff; }
.streaming-icon { font-size: 1.2rem; }
.streaming-name { font-weight: 700; flex: 1; }
.streaming-sub  { font-size: 0.7rem; color: #7070a0; }
.streaming-arrow { color: #5050a0; }

/* ─── PAGINATION ─── */
.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2.5rem; }
.page-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
  color: var(--text-secondary);
  text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--accent-red); border-color: var(--accent-red); color: #fff; }

/* ─── FOOTER ─── */
.footer {
  background: var(--hero-bg);
  color: #9090b8;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-top: 0.75rem; max-width: 250px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent-red); margin-bottom: 0.875rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a { font-size: 0.82rem; color: #7070a0; transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--hero-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #5050a0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── TOAST ─── */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.75rem; }
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-red);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.875rem 1.25rem;
  font-size: 0.88rem;
  animation: slideIn 0.3s ease;
  min-width: 260px;
  max-width: 360px;
}
.toast.success { border-left-color: var(--accent-green); }
@keyframes slideIn { from { transform: translateX(100%); opacity:0; } to { transform: translateX(0); opacity:1; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .content-with-sidebar, .detail-body { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .anime-grid-5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .anime-grid { grid-template-columns: repeat(3, 1fr); }
  .anime-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .detail-banner-wrap { height: 260px; }
  .detail-header-content { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .detail-poster { width: 100px; }
}
@media (max-width: 480px) {
  .anime-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
}
