/* ============================================================
   Deadly Crusaders - DC hero / crest layer  (DEFAULT "Forums")
   Dark, edgy, RGB gamer-PC treatment. Loaded AFTER the compiled
   stylesheet.css so SCSS recompiles never clobber it.
   ============================================================ */
:root{
  --dc-primary:#7c5cff;   /* neon violet */
  --dc-accent:#ff3b6b;    /* neon pink/red */
  --dc-glow:#22d3ee;      /* neon cyan */
  --dc-gold:#5b6cff;      /* neon-blue ornament */
  --dc-ink:#04060a;
}

/* ---------- full-bleed hero ---------- */
#page-header .headerbar{
  position:relative;
  left:50%; right:50%;
  width:100vw;
  margin-left:-50vw; margin-right:-50vw;
  height:auto !important;
  min-height:340px;
  padding:0 !important;
  overflow:hidden;
  border-radius:0 !important;
  box-shadow:none !important;
  display:flex; align-items:center; justify-content:center;
  background:
    linear-gradient(rgba(4,6,10,.50), rgba(4,6,10,.64)),
    #04060a url('header-bg.jpg') center 30% / cover no-repeat;
  border-bottom:1px solid rgba(124,92,255,.55);
}
#page-header .headerbar::before{   /* RGB corner-glow wash + vignette */
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(58% 80% at 12% 16%, rgba(255,59,107,.32), transparent 60%),
    radial-gradient(58% 80% at 88% 14%, rgba(34,211,238,.30), transparent 60%),
    radial-gradient(70% 95% at 50% 96%, rgba(124,92,255,.36), transparent 62%),
    radial-gradient(120% 120% at 50% 50%, transparent 46%, rgba(2,4,8,.74) 100%),
    linear-gradient(180deg, rgba(2,4,8,.52) 0%, transparent 30%, transparent 54%, rgba(2,4,8,.96) 100%);
}
#page-header .headerbar > .inner{
  position:relative; z-index:2;
  width:100%; max-width:1180px; margin:0 auto; padding:26px 16px;
  display:flex; align-items:center; justify-content:center;
  background:none !important;
}

/* ---------- crest ---------- */
.dc-crest{
  float:none !important; width:auto !important; max-width:100% !important;
  margin:0 auto !important; padding:0 !important;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
}
.dc-crest .dc-banner{
  position:relative;
  padding:20px 48px 16px;
  border-radius:6px;
  background:linear-gradient(180deg, rgba(10,12,18,.84), rgba(6,8,12,.9));
  border:1px solid rgba(124,92,255,.40);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.05),
    0 0 30px rgba(124,92,255,.28),
    0 12px 34px rgba(0,0,0,.6);
}
.dc-crest .dc-banner::before, .dc-crest .dc-banner::after{   /* neon edge glints */
  content:""; position:absolute; top:50%; width:26px; height:56px; transform:translateY(-50%);
  background:radial-gradient(circle at 60% 50%, var(--dc-glow), rgba(34,211,238,.12) 60%, transparent 70%);
  opacity:.55; border-radius:50%;
}
.dc-crest .dc-banner::before{ left:-13px; }
.dc-crest .dc-banner::after{ right:-13px; background:radial-gradient(circle at 40% 50%, var(--dc-accent), rgba(255,59,107,.12) 60%, transparent 70%); }

.dc-crest .dc-logo{
  float:none !important; display:block !important;
  width:auto !important; padding:0 !important; margin:0 auto !important;
}
.dc-crest .dc-logo img{
  display:block; width:210px; max-width:58vw; height:auto; margin:0 auto;
  filter:drop-shadow(0 6px 16px rgba(0,0,0,.7));
}
.dc-crest .dc-game{
  display:block; margin-top:8px;
  font-family:'Cinzel Decorative',serif; font-weight:900; font-size:33px; line-height:1; letter-spacing:.06em;
  background:linear-gradient(90deg,#ff3b6b,#ff8a3b,#ffe14d,#34d399,#22d3ee,#7c5cff,#ff3b6b);
  background-size:220% auto;
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.9)) drop-shadow(0 0 18px rgba(124,92,255,.45));
  animation:dc-rgb 9s linear infinite;
}
@keyframes dc-rgb{ to{ background-position:220% center; } }
@media (prefers-reduced-motion: reduce){ .dc-crest .dc-game{ animation:none; } }

.dc-crest .dc-sub{
  display:block; margin-top:8px;
  font-family:'Cinzel',serif; font-size:11px; letter-spacing:.34em; text-transform:uppercase; color:#aeb4c2;
}
.dc-crest .dc-login{
  margin-top:18px;
  display:inline-flex; align-items:center; gap:9px;
  font-family:'Cinzel',serif; font-weight:600; letter-spacing:.14em; text-transform:uppercase; font-size:13px;
  color:#eafcff !important; padding:11px 30px; border-radius:4px; text-decoration:none !important;
  background:linear-gradient(180deg,var(--dc-primary) 0%, #4f46e5 100%);
  border:1px solid var(--dc-glow);
  box-shadow:0 4px 14px rgba(124,92,255,.5), inset 0 1px 0 rgba(255,255,255,.25), 0 0 18px rgba(34,211,238,.35);
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.dc-crest .dc-login:hover{ transform:translateY(-1px); filter:brightness(1.14); box-shadow:0 8px 22px rgba(34,211,238,.55), 0 0 22px rgba(255,59,107,.4); }

/* hide leftover prosilver header text inside the crest */
.dc-crest .sitename, .dc-crest > p:not(.skiplink){ display:none !important; }
.dc-crest .skiplink{ position:absolute; left:-9999px; }

/* ---------- search box: tuck to hero top-right ---------- */
#page-header .headerbar .search-header{
  position:absolute; top:16px; right:18px; z-index:3; margin:0; width:auto;
}

/* ---------- light forum-index polish (accent bands + zebra) ---------- */
.forabg .header dl.row-item dt .list-inner a,
.forabg .header dl.row-item dt .list-inner{
  font-family:'Cinzel',serif; letter-spacing:.06em;
}
ul.topiclist.forums li.row:nth-child(even) dl.row-item{ background:rgba(255,255,255,.018); }
.forumtitle{ font-family:'Cinzel',serif !important; letter-spacing:.02em; }

/* ---------- responsive ---------- */
@media(max-width:900px){
  #page-header .headerbar{ min-height:250px; }
  #page-header .headerbar .search-header{ display:none; }
  .dc-crest .dc-banner{ padding:16px 26px 12px; }
  .dc-crest .dc-game{ font-size:26px; }
  .dc-crest .dc-logo img{ width:170px; }
}
