@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/site/templates/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #120201;
  color: #fff;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4px;
}

.accent { color: #ffb7b5; }

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-color: #e11e16; }
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center 20%; mix-blend-mode: darken; opacity: 0.85; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, #120201 0%, rgba(18,2,1,0.95) 10%, rgba(18,2,1,0.5) 40%, rgba(18,2,1,0) 100%); }

.hero-content { position: relative; z-index: 10; width: 100%; padding: 4rem 5% 0.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }

.hero-title-fallback { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 600; min-height: auto; width: 100%; line-height: 1.1; display: flex; align-items: center; margin-bottom: 0; margin-top: 0; }

.hero-meta-pills { display: flex; position: relative; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.5rem; }

.pill-sublabel { color: rgba(255,255,255,0.45); padding-left: 0.25rem; font-size: 0.65rem; line-height: 5px; }

/* ── NS PROFILE ── */
.ns-profile { display: flex; align-items: center; gap: 1.5rem; width: 100%; margin-top: -3rem; }
.ns-profile-left { flex-shrink: 0; }
.ns-profile-image { width: 160px; height: 160px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.08); }
.ns-profile-image img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ns-profile-right { flex: 1; min-width: 0; }

/* ── NS WRAPPER ── */
.ns-wrapper { padding: 1rem 5% 3rem; margin-top: -10rem; position: relative; z-index: 3; max-width: 1400px; margin-left: auto; margin-right: auto; }

.pill { display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 500; padding: 0.60rem 0.7rem; border-radius: 5px; color: rgba(0, 0, 0, 0.9); background: #ffb7b5; text-decoration: none; }
a.pill { cursor: pointer; }
a.pill:hover { background: #e11e16; color: #fff; }

.pill-outline { display: flex; align-items: center; background: rgba(255,255,255,0.05); color: rgb(255, 255, 255); font-size: 0.75rem; border: none; border-left: 2px solid #ffb7b5; padding: 0.60rem 0.7rem; }

.info-col-detail { flex: 1; min-width: 0; }

/* ── STATS BAR ── */
.stats-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.stat-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 5px; padding: 1rem 0.85rem; display: flex; flex-direction: column; }
.stat-label { font-size: 0.6rem; font-weight: 500; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.8rem; }
.stat-value { font-size: 0.78rem; font-weight: 500; color: #ffb7b5; }

/* ── TABS ── */
.tabs-wrapper { padding: 0; padding-bottom: 0; margin-top: 2.5rem; }
.tabs-nav { display: flex; gap: 7px; margin-bottom: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn { display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.4); font-family: "Outfit", system-ui, sans-serif; font-size: 0.8rem; font-weight: 500; line-height: 15px; text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 5px; border: 1px solid rgba(255,255,255,0.08); cursor: pointer; white-space: nowrap; }
.tab-btn:hover { color: rgba(255,255,255,0.7); }
.tab-btn.active { color: #ffffff; background: #e11e16; border-radius: 5px; border: 1px solid #e11e16; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── NS GRID ── */
.ns-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; padding: 0; }
.ns-card { text-decoration: none; color: #fff; border: none; border-radius: 0; overflow: visible; background: transparent; }
.ns-card-wrapper { position: relative; border-radius: 10px; overflow: visible; border: 2px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.025); }
.ns-card-wrapper:hover { border-color: #e11e16; }
.ns-poster { position: relative; aspect-ratio: 2/3; overflow: hidden; background: rgba(255,255,255,0.05); border-radius: 8px 8px 0 0; }
.ns-poster-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ns-options-btn { position: absolute; top: 7px; right: 8px; z-index: 5; cursor: pointer; display: flex; align-items: center; justify-content: center; background: none; border: none; padding: 0; margin: 0; }
.ns-options-icon { height: 25px; width: auto; display: block; filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.8)); }
.ns-options-icon:hover { filter: brightness(0) saturate(100%) invert(22%) sepia(98%) saturate(3858%) hue-rotate(351deg) brightness(92%) contrast(94%) drop-shadow(0 1px 3px rgba(0,0,0,0.8)); }
.ns-options-dropdown { position: absolute; top: 38px; right: 8px; z-index: 6; display: flex; flex-direction: column; gap: 0.3rem; }

.ns-watched-btn { background: #2A1A17; border: 2px solid #e11e16; border-radius: 5px; padding: 0.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ns-watched-btn:hover { background: #1d1210; }
.ns-watched-btn.active { background: #2A1A17; border-color: #2ecc71; }
.ns-watched-btn.active:hover { background: #1d1210; }
.ns-watched-btn.disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
.ns-watched-btn .pill-status-icon { height: 13px; width: auto; display: block; margin: 0; filter: brightness(0) saturate(100%) invert(22%) sepia(98%) saturate(3858%) hue-rotate(351deg) brightness(92%) contrast(94%); }
.ns-watched-btn.active .pill-status-icon { filter: brightness(0) saturate(100%) invert(67%) sepia(60%) saturate(495%) hue-rotate(84deg) brightness(92%) contrast(88%); }

.ns-watchlist-btn { background: #2A1A17; border: 2px solid #e11e16; border-radius: 5px; padding: 0.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; margin-top: 0.3rem; }
.ns-watchlist-btn:hover { background: #1d1210; }
.ns-watchlist-btn.active { background: #2A1A17; border-color: #2ecc71; }
.ns-watchlist-btn.active:hover { background: #1d1210; }
.ns-watchlist-btn .pill-status-icon { height: 13px; width: auto; display: block; margin: 0; filter: brightness(0) saturate(100%) invert(22%) sepia(98%) saturate(3858%) hue-rotate(351deg) brightness(92%) contrast(94%); }
.ns-watchlist-btn.active .pill-status-icon { filter: brightness(0) saturate(100%) invert(67%) sepia(60%) saturate(495%) hue-rotate(84deg) brightness(92%) contrast(88%); }

.ns-info { display: flex; flex-direction: column; padding: 0.5rem 0.75rem; }
.ns-item-title { font-size: 0.7rem; color: #fff; line-height: 12px; }
.ns-item-date { font-size: 0.65rem; font-weight: 500; line-height: 15px; color: rgba(255,255,255,0.5); }