#site-search, nav { margin-left: auto }
footer, header { background: linear-gradient(180deg, #191010 0, rgb(85 85 85 / 92%) 100%) }
header { backdrop-filter: saturate(120%) blur(6px) }
#search-type, .back-to-top.show, .custom-close, .ss-submit, .tab, summary.btn { cursor: pointer }

/* ---- DOAR PALETA DE CULORI (actualizată) ---- */
:root {
  --bg: #0a0a0a;             /* mai negru */
  --bg-soft: #0e0e10;         /* panouri ușor ridicate */
  --primary: #ef4444;         /* roșu plăcut */
  --text: #f6f6f6;            /* text principal */
  --muted: #b0b0b0;           /* text secundar */
  --border: #1c1c1c;          /* borduri discrete */
  --radius: 18px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
/* -------------------------------------------- */

header { border-bottom: 1px solid var(--border) }
.h-wrap { display: flex; align-items: center; gap: 16px; padding: 14px 0; flex-wrap: wrap }
.logo { display: flex; align-items: center }
/* mic retuș cromatic (NUMAI CULOARE): glow-ul punctului devine roșu */
.logo .dot { box-shadow: 0 0 0 4px rgba(239, 68, 68, .15) !important; }

nav { margin-right: auto }
.btn:hover { background: #7f1d1d }
.menu { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow) }
.btn, .tab { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) }
.account { float: left }
.menu-toggle { display: none; margin-left: 8px }
.menu-open-btn button, .menu-toggle button { border: 1px solid var(--border); background: linear-gradient(180deg, #0b0b0b, #0a0a0a); padding: 8px 10px; color: var(--text) }

@media (max-width:820px) {
  details, nav { width: 100% }
  nav { order: 3 }
  .nav { display: none; flex-direction: column; gap: 8px; padding: 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px }
  header.open .nav { display: flex }
  .account { order: 2 }
  .menu-toggle { display: block; order: 1; margin-left: auto }
  .menu { position: static; min-width: unset; margin-top: 8px }
}

.swiper, .tab { border: 1px solid var(--border) }
.page-title { padding: 22px 0 10px }
h1 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; margin-bottom: 5px }
.subtitle { color: var(--muted); font-size: 14px; margin-top: 4px }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 6px }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: linear-gradient(180deg, #0b0b0b, #0a0a0a); color: var(--text); transition: transform .08s, border-color .2s, box-shadow .2s }
#site-search .site-search-btn:hover, .btn:hover, .site-search-btn:hover, .ss-submit:hover, .tab:hover { border-color: #27272a; transform: translateY(-1px) }
.tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px }
.tab.active, .tab[aria-current=true], .tab[aria-pressed=true] { background: rgba(239, 68, 68, .12); border-color: var(--primary); box-shadow: 0 0 0 2px rgba(239, 68, 68, .25) inset }
.swiper-wrap, details { position: relative }
.swiper { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 12px; scroll-snap-type: x mandatory; background: linear-gradient(180deg, #0a0a0a, #0a0a0a); scrollbar-color: var(--primary) #0b0b0b; scrollbar-width: thin }
.card, .card .poster, .menu, .site-search-suggest .thumb, .site-search-suggest.show, .title a, body.menu-locked, body.modal-open, body.search-locked { overflow: hidden }
.quality, .status { top: 10px; padding: 4px 8px; font-size: 12px }
.slide { flex: 0 0 12.5%; min-width: 12.5%; scroll-snap-align: start }
@media (max-width:900px) { .slide { flex-basis: 25%; min-width: 25% } }
@media (max-width:640px) { .slide { flex-basis: 50%; min-width: 50% } }
.meta, footer .f-wrap { align-items: center; gap: 10px }
.nav-arrows { position: absolute; inset: 0; pointer-events: none }
#site-search, .poster, header { position: relative }
.nav-arrows button { pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%); border: none; background: rgb(239 68 68); backdrop-filter: blur(4px); border: 1px solid var(--border); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff }
.meta, footer .copy { color: var(--muted) }
.nav-arrows .prev { left: -8px }
.nav-arrows .next { right: -8px }
.icon-search, .nav-arrows svg { width: 18px; height: 18px; display: block }
.card { background: var(--bg-soft); border: 1px solid var(--border); text-align: center }
.poster { width: 185px; height: 278px; margin: 0 auto; background: #0a0a0a; display: block }
.flags, .quality, .status { position: absolute }
.flags, .meta { display: flex }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; margin-top: 6px }
.quality { left: 2px; border-radius: 999px; border: 1px solid var(--border); background: rgba(0, 0, 0, .55) }
.flags img, .pill, .year { border: 1px solid var(--border) }
.quality.hd { background: rgb(79 22 22) }
.quality.cam { background: rgb(0 0 0 / 80%) }
.flags { bottom: 8px; left: 8px; gap: 6px }
.flags img { width: 20px; height: 14px; border-radius: 3px }
.status { left: 2px; border-radius: 999px; border: 1px solid var(--border); background: rgb(220 38 38 / 85%) }
.meta { justify-content: space-between; padding: 10px 12px; font-size: 13px }
.pill, .year { padding: 3px 8px; border-radius: 999px; background: linear-gradient(180deg, #0b0b0b, #0a0a0a); color: var(--text); font-weight: 600 }
.title { display: block; padding: 0 12px 12px; font-weight: 700; line-height: 1.2; max-width: 185px }
.title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px }
@media (max-width:1200px) { .grid { grid-template-columns: repeat(5, 1fr) } }
@media (max-width:900px) { .grid { grid-template-columns: repeat(4, 1fr) } }
@media (max-width:700px) { .grid { grid-template-columns: repeat(3, 1fr) } }
@media (max-width:520px) { .grid { grid-template-columns: repeat(2, 1fr) } }
.swiper::-webkit-scrollbar { height: 10px }
.swiper::-webkit-scrollbar-track { background: linear-gradient(180deg, #0b0b0b, #0a0a0a); border: 1px solid var(--border); border-radius: 999px; margin: 4px 40px }
.swiper::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), #f87171); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box }
.menu a, .site-search-suggest .s-item, header { border-bottom: 1px solid var(--border) }
.swiper::-webkit-scrollbar-thumb:hover { filter: brightness(1.1) }
#grid-filme .card { padding-bottom: 12px }
footer { margin-top: 28px; border-top: 1px solid var(--border) }
footer .f-wrap { display: grid; padding: 24px 0; grid-template-columns: 1fr auto 1fr }
footer .brand { display: flex; align-items: center; gap: 10px }
footer .brand .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12) }
footer .f-nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap }
footer .f-nav a { padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px }
#site-search .site-search-btn, .btn, .site-search-btn { border: 1px solid var(--border); color: var(--text); background: linear-gradient(180deg, #0b0b0b, #0a0a0a) }
footer .copy { text-align: right; font-size: 14px }
@media(max-width:700px) {
  footer .copy, footer .f-wrap { text-align: center }
  footer .f-wrap { grid-template-columns: 1fr }
}
#row-ep-subtitrate .poster, #row-ep-ultimele .poster { width: 190px; height: 285px }
#row-ep-subtitrate .title, #row-ep-ultimele .title { max-width: 190px; margin-top: 15px }
#row-ep-subtitrate .slide, #row-ep-ultimele .slide { flex: 0 0 auto; min-width: 210px }
.is-hidden, .sidebar-top, a.btn.btn-primary.w-100 i { display: none !important }
#site-search { display: flex; align-items: center }
#site-search .site-search-btn, .site-search-btn { display: none; padding: 8px 10px }
.site-search-suggest .meta { display: flex; flex-direction: column; gap: 2px }
#search-input:focus-visible, #search-type:focus-visible, .ss-submit:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px }
* { box-sizing: border-box; margin: 0; padding: 0 }
body, html { background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial }
a { color: inherit; text-decoration: none }
.container { max-width: 1300px; margin: 0 auto; padding: 0 16px }
header { top: 0; z-index: 1000 }
.header-wrap { gap: 10px; padding: 12px 0 }
.btn, .menu a { padding: 10px 14px }
.topbar { display: flex; gap: 14px; align-items: center }
.btn, .logo { align-items: center }
.menu-open-btn, .ss-backdrop { display: none }
@media (max-width:900px) {
  #site-search { margin-left: 0; width: 40px !important }
  #openModalBtn span { display: none }
  #site-search .site-search-btn, #site-search .ss-close { display: inline-flex }
  .site-search-inner { display: none; position: fixed; inset: 10% 4% auto 4%; z-index: 1001; width: auto; max-width: none; padding: 10px }
  #site-search.search-open .site-search-inner { display: flex }
  #site-search .ss-backdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 1000 }
  #site-search.search-open .ss-backdrop { display: block }
  .ss-form { grid-template-columns: 1fr auto; gap: 8px }
  #search-type { grid-column: 1/-1 }
  .topbar { grid-template-columns: auto auto 1fr auto; gap: 10px; display: grid }
  .menu-open-btn { display: block; margin-left: 5px }
}
.logo { display: flex; gap: 10px; font-weight: 800; font-size: 23px; white-space: nowrap }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); /* glow schimbat mai sus */ }
.btn { display: inline-flex; gap: 8px; border-radius: 0 !important; transition: transform .08s, border-color .2s }
#search-input, #search-type, .ss-submit { height: 40px; border: 1px solid var(--border) }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px }
#site-search { display: flex; align-items: center; gap: 10px }
.site-search-inner { display: flex; flex-direction: column; width: 100%; padding: 8px }
.ss-form { display: grid; grid-template-columns: 350px 1fr auto; gap: 8px; align-items: center }
#search-type { background: #0a0a0a; color: var(--text); padding: 0 10px }
#search-input { background: #0a0a0a; color: var(--text); padding: 0 12px }
#search-input::placeholder { color: var(--muted) }
#block-result .film, .back-to-top, .ss-close, .ss-submit { color: var(--text) }
.ss-submit { min-width: 44px; display: grid; place-items: center; background: linear-gradient(180deg, #0b0b0b, #0a0a0a) }
#search-loading[aria-hidden=false]::after { content: ""; width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: .9s linear infinite sspin; position: absolute; top: 14px; right: 14px }
@keyframes sspin { to { transform: rotate(360deg) } }
.site-search-suggest { border: 1px solid var(--border) }
.site-search-suggest .s-item { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 10px 12px }
#block-result .film:last-child, .menu a:last-child, .site-search-suggest .s-item:last-child { border-bottom: none }
.site-search-suggest .thumb { width: 48px; height: 64px; border-radius: 8px; background: #0a0a0a; border: 1px solid var(--border) }
.menu, .ss-close { border: 1px solid var(--border) }
#block-result .film .film-poster img, .site-search-suggest .thumb img { width: 100%; height: 100%; object-fit: cover; display: block }
.site-search-suggest .title { font-weight: 700; line-height: 1.25 }
.site-search-suggest .sub { font-size: 12px; color: var(--muted) }
.ss-close { display: none; position: absolute; top: 8px; right: 8px; background: #0b0b0b; padding: 4px 8px }
.menubar, .nav { display: flex; gap: 10px }
.account, .auth-cta { display: flex; align-items: center; justify-content: flex-end; cursor: pointer }
.menubar { align-items: center; flex-wrap: wrap }
.nav { flex-wrap: wrap }
.dd-arrow, summary.btn { display: inline-flex }
summary.btn { list-style: none; align-items: center; gap: 8px }
summary::-webkit-details-marker { display: none }
.dd-arrow svg { width: 14px; height: 14px; transition: transform .2s }
details[open] .dd-arrow svg { transform: rotate(180deg) }
.menu { position: absolute; left: 0; top: calc(100% + 8px); background: var(--bg-soft); box-shadow: var(--shadow); min-width: 220px; z-index: 10 }
.menu a { display: block }
.menu a:hover { border-color: #27272a; transform: translateY(-1px); background: #7f1d1d }
.menu a.active { background: rgba(239, 68, 68, .12); border-left: 3px solid var(--primary) }
.back-to-top { position: fixed; right: 16px !important; left: auto !important; inset-inline-end: 16px; inset-inline-start: auto; bottom: 16px; z-index: 1200; width: 58px; height: 58px; border: 1px solid #27272a; background: radial-gradient(120% 120% at 30% 20%, rgba(239, 68, 68, .22), transparent 60%), linear-gradient(180deg, #0b0b0b, #0a0a0a); display: grid; place-items: center; box-shadow: 0 12px 34px rgba(0, 0, 0, .5), 0 0 0 2px rgba(239, 68, 68, .22) inset, inset 0 1px 0 rgba(255, 255, 255, .08); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s, border-color .2s, background .2s, box-shadow .2s }
.back-to-top svg { width: 22px; height: 22px }
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto }
.back-to-top:hover { border-color: var(--primary); transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px rgba(239, 68, 68, .25), 0 12px 34px rgba(0, 0, 0, .55), 0 0 0 2px rgba(31, 111, 235, .28) inset }
.back-to-top:active { transform: translateY(-1px) scale(.98) }
.back-to-top:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px }
#block-result.site-search-suggest, .site-search-suggest { top: calc(100% + 8px); left: 0; right: 0; z-index: 1002; overflow: auto }
#block-result .film .quality { border: 1px solid var(--border); color: var(--text) }
.site-search-suggest { position: absolute; max-height: 150vh; border: 1px solid var(--border); background: #0a0a0a; margin: 0; display: none }
.site-search-suggest.show { display: block }
@media (max-width:900px) {
  .site-search-inner { display: none; position: fixed; inset: 10% 4% auto 4%; z-index: 1001; width: auto; max-width: none; padding: 10px }
  .site-search-btn, .ss-close { display: inline-flex }
  .ss-backdrop { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 1000 }
  .ss-form { grid-template-columns: 1fr auto; gap: 8px }
  #search-type { grid-column: 1/-1 }
  .back-to-top { right: 12px !important; inset-inline-end: 12px; width: 54px; height: 54px; bottom: 12px }
  .back-to-top svg { width: 20px; height: 20px }
  #site-search.search-open .site-search-suggest { position: fixed; left: 4%; right: 4%; top: calc(10% + 60px); max-height: 78vh; z-index: 1002 }
  body.search-locked { overflow: hidden }
  #site-search.search-open .site-search-inner { display: flex; display: flex; top: var(--searchTop, 72px); box-sizing: border-box; display: flex !important; position: fixed; left: 4%; right: 4%; top: var(--searchTop, 72px); z-index: 1002; gap: 8px; max-width: none; width: auto; transform: none }
  #site-search .site-search-suggest { position: static !important; max-height: calc(80vh - 100px); overflow: auto; margin: 0 }
  body, html { overflow-x: hidden }
  #site-search .ss-close { order: -1; align-self: flex-end; display: inline-flex; position: static !important; order: -1; align-self: flex-end; display: inline-flex !important; margin-top: 2px }
  #site-search .ss-form { grid-template-columns: 1fr auto !important; gap: 8px !important }
  #site-search.search-open #block-result.site-search-suggest { position: fixed !important; left: 4%; right: 4%; top: var(--suggestTop, calc(var(--searchTop, 72px) + 64px)); max-height: 70vh; display: none; z-index: 1002 }
  #site-search.search-open #block-result.site-search-suggest.show { display: block }
  #site-search.search-open .ss-backdrop { display: block !important; position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 1001 }
}
#block-result.site-search-suggest { position: absolute; max-height: 150vh; margin: 0; display: none }
#block-result.site-search-suggest.show { display: block }
#block-result .film { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--border) }
#block-result .film .film-poster { order: -1 }
#block-result .film .film-poster, #block-result .film .film-poster>div { width: 48px; height: 64px; flex: 0 0 48px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #0a0a0a }
#block-result .film .film-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px }
#block-result .film .film-name { font-weight: 800; line-height: 1.25 }
#block-result .film .film-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 12px }
#block-result .film .quality { padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px; background: linear-gradient(180deg, #0b0b0b, #0a0a0a); font-weight: 700; font-size: 11px }
#block-result .film .rating { padding: 2px 6px; border: 1px solid var(--border); border-radius: 6px; background: rgba(220, 38, 38, .1); font-weight: 600 }
.custom-close, .custom-modal .custom-modal__box { border: 1px solid var(--border); color: var(--text) }
#block-result .film .dot { display: inline-flex; align-items: center; gap: 6px }
#block-result .film:hover { background: #2f1212; border-color: #27272a }
.site-search-inner { position: relative; overflow: visible }
.custom-modal, .menu-backdrop { display: none; position: fixed; inset: 0 }
.menu-backdrop { background: rgba(0, 0, 0, .55); z-index: 1090 }
@media (max-width:900px) {
  .menubar { position: fixed; top: 0; right: 0; height: 100vh; width: min(86vw, 360px); padding: 16px; gap: 12px; background: var(--bg-soft); border-left: 1px solid var(--border); transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; align-items: stretch; z-index: 1100 }
  header.menu-open .menubar { transform: translateX(0) }
  .sidebar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px }
  .sidebar-close { border: 1px solid var(--border); background: linear-gradient(180deg, #0b0b0b, #0a0a0a); color: var(--text); padding: 6px 10px; font-weight: 700; cursor: pointer }
  .sidebar-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px }
  header.menu-open .menubar .sidebar-top { display: flex !important; align-items: center; justify-content: space-between; margin-bottom: 6px }
}
.card .poster { position: relative }
.card .poster::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .18s; pointer-events: none }
.card .poster::after { content: ""; position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%) scale(.95); opacity: 0; background-repeat: no-repeat; background-size: contain; pointer-events: none; transition: opacity .22s, transform .22s; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><filter id='s' x='-50%' y='-50%' width='200%' height='200%'><feDropShadow dx='0' dy='2' stdDeviation='3' flood-color='black' flood-opacity='.35'/></filter></defs><circle cx='50' cy='50' r='42' fill='%23dc2626' filter='url(%23s)'/><polygon points='40,32 72,50 40,68' fill='white'/></svg>") }
.card .poster:active::before, .card .poster:focus-visible::before, .card .poster:hover::before { opacity: 1 }
.card .poster:active::after, .card .poster:focus-visible::after, .card .poster:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1) }
.card .poster .flags, .card .poster .quality, .card .poster .status { position: absolute; z-index: 3 }
@media (prefers-reduced-motion:reduce) {
  .card .poster::after { transition: none; transform: translate(-50%, -50%) }
  .card .poster::before { transition: none }
}
.title a:visited { color: var(--muted) }
.title a.is-visited { color: #b3b3b3; opacity: .95 }
.custom-modal { z-index: 1400; background: rgba(0, 0, 0, .65); align-items: center; justify-content: center }
.custom-modal.show, .modal-head { display: flex }
.custom-modal .custom-modal__box { width: min(560px, 92vw); max-height: 86vh; overflow: auto; background: var(--bg-soft); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05); transform: scale(.98); opacity: 0; transition: transform .16s, opacity .16s }
.custom-modal.show .custom-modal__box { transform: scale(1); opacity: 1 }
.custom-modal.fade .custom-modal__box { transition: transform .2s, opacity .2s }
.modal-head { align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border) }
.modal-title { font-weight: 800; font-size: 16px }
.custom-close { background: linear-gradient(180deg, #0b0b0b, #0a0a0a); padding: 6px 10px }
#modal-body { padding: 14px }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: .8s linear infinite spin; margin: 24px auto }
@keyframes spin { to { transform: rotate(360deg) } }
@media (max-width:1199.98px) { .menu-acc { left: -140px } }
a.btn.btn-primary.w-100 { display: block; width: 100% !important; box-sizing: border-box; padding: .75rem 3rem .75rem 1rem; border: 1px solid #262626; background: linear-gradient(180deg, #111, #0a0a0a); color: #f5f5f5; font-weight: 700; text-align: center; text-decoration: none; position: relative; transition: transform .06s, box-shadow .2s, border-color .2s, background .2s }
a.btn.btn-primary.w-100::after { content: ""; position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='none' stroke='%23f59e0b' stroke-width='1.8'/><path d='M10 7l5 5-5 5' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .06)) }
a.btn.btn-primary.w-100:hover { border-color: #3f3f46; background: linear-gradient(180deg, #111, #0d0d0d); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transform: translateY(-1px) }
a.btn.btn-primary.w-100:active { transform: translateY(0); box-shadow: none }
a.btn.btn-primary.w-100:focus-visible { outline: #f59e0b solid 2px; outline-offset: 2px }
/* ==== HEADER & FOOTER COLOR OVERRIDES (append at end) ==== */

/* Solid black with a soft red sheen */
header,
footer {
  background: linear-gradient(180deg, #0b0b0b 0%, #0a0a0a 100%) !important;
}

/* Thin red accent lines + gentle inner glow */
header {
  border-bottom: 1px solid #2a0f0f !important;
  box-shadow:
    0 1px 0 0 rgba(239, 68, 68, .18) inset,   /* red inner edge */
    0 10px 30px rgba(0,0,0,.25);               /* keep depth */
}

/* Footer gets a top red accent and a slight inner glow */
footer {
  border-top: 1px solid #2a0f0f !important;
  box-shadow:
    0 -1px 0 0 rgba(239, 68, 68, .18) inset,
    0 -10px 30px rgba(0,0,0,.25);
}

/* Optional: very subtle red vignette (purely visual, no layout impact) */
header::after,
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(239,68,68,.06), transparent 60%);
}
footer::before {
  background:
    radial-gradient(60% 100% at 50% 100%, rgba(239,68,68,.06), transparent 60%);
}

/* Make sure header can show the vignette */
header { position: relative; overflow: visible; }
footer { position: relative; overflow: visible; }
