@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;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: #120201;
}

.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: 100px;
  width: 70%;
  line-height: 50px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  margin-top: -6.7rem;
}

/* ── STANDARD WRAPPER ── */
.standard-wrapper {
  padding: 1rem 5% 3rem;
  margin-top: -12.5rem;
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ── TABS ── */
.tabs-wrapper {
  padding: 0;
  padding-bottom: 0;
}

.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; }

/* ── STANDARD GRID ── */
.standard-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  padding: 0;
}

.standard-card {
  text-decoration: none;
  color: #fff;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.standard-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);
}

.standard-card-wrapper:hover {
  border-color: #e11e16;
}

.standard-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border-radius: 8px 8px 0 0;
}

.standard-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.standard-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;
}

.standard-options-icon {
  height: 25px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.8));
}

.standard-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));
}

.standard-options-dropdown {
  position: absolute;
  top: 38px;
  right: 8px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.standard-watched-btn {
  background: #2A1A17;
  border: 2px solid #e11e16;
  border-radius: 5px;
  padding: 0.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.standard-watched-btn:hover { background: #1d1210; }
.standard-watched-btn.active { background: #2A1A17; border-color: #2ecc71; }
.standard-watched-btn.active:hover { background: #1d1210; }
.standard-watched-btn.disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

.standard-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%);
}

.standard-watched-btn.active .pill-status-icon {
  filter: brightness(0) saturate(100%) invert(67%) sepia(60%) saturate(495%) hue-rotate(84deg) brightness(92%) contrast(88%);
}

.standard-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;
}

.standard-watchlist-btn:hover { background: #1d1210; }
.standard-watchlist-btn.active { background: #2A1A17; border-color: #2ecc71; }
.standard-watchlist-btn.active:hover { background: #1d1210; }

.standard-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%);
}

.standard-watchlist-btn.active .pill-status-icon {
  filter: brightness(0) saturate(100%) invert(67%) sepia(60%) saturate(495%) hue-rotate(84deg) brightness(92%) contrast(88%);
}

.standard-info {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.75rem;
}

.standard-item-title {
  font-size: 0.7rem;
  color: #fff;
  line-height: 12px;
}

.standard-item-date {
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 15px;
  color: rgba(255,255,255,0.5);
}