/* ============================================================
   Deadly Crusaders - DC hero / crest layer  (EverQuest)
   Loaded AFTER the compiled stylesheet.css, so SCSS recompiles
   never clobber it. Accent driven by the vars below - the only
   thing that changes per game when this becomes the shared base.
   ============================================================ */
:root{
  --dc-primary:#5bbccc;   /* EQ deep teal  */
  --dc-accent:#4a8fb5;    /* EQ sea-green  */
  --dc-glow:#8fdcef;
  --dc-gold:#aebfc7;
  --dc-ink:#070b0d;
}

/* ---------- 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:#05080a url('header-bg.jpg') center 30% / cover no-repeat;
  border-bottom:1px solid rgba(201,162,74,.55);
}
#page-header .headerbar::before{   /* full-width atmospheric wash */
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(80% 80% at 50% 26%, rgba(91,188,204,.34), transparent 62%),
    radial-gradient(135% 125% at 50% 48%, transparent 52%, rgba(7,11,13,.62) 100%),
    linear-gradient(180deg, rgba(7,11,13,.45) 0%, transparent 26%, transparent 56%, rgba(7,11,13,.94) 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(22,27,30,.84), rgba(10,14,16,.9));
  border:1px solid rgba(201,162,74,.35);
  box-shadow:0 0 0 1px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05), 0 12px 34px rgba(0,0,0,.55);
}
.dc-crest .dc-banner::before, .dc-crest .dc-banner::after{   /* ornamental scroll curls */
  content:""; position:absolute; top:50%; width:26px; height:56px; transform:translateY(-50%);
  background:radial-gradient(circle at 60% 50%, var(--dc-gold), rgba(201,162,74,.12) 60%, transparent 70%);
  opacity:.5; border-radius:50%;
}
.dc-crest .dc-banner::before{ left:-13px; }
.dc-crest .dc-banner::after{ right:-13px; }

.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:.05em;
  background:linear-gradient(180deg,#eef6f8 45%, var(--dc-glow));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  filter:drop-shadow(0 2px 5px rgba(0,0,0,.85)) drop-shadow(0 0 16px rgba(143,220,239,.4));
}
.dc-crest .dc-sub{
  display:block; margin-top:8px;
  font-family:'Cinzel',serif; font-size:11px; letter-spacing:.34em; text-transform:uppercase; color:#9fb4bc;
}
.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%, #2f7d8f 100%);
  border:1px solid var(--dc-glow);
  box-shadow:0 4px 14px rgba(91,188,204,.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.dc-crest .dc-login:hover{ transform:translateY(-1px); filter:brightness(1.12); box-shadow:0 8px 22px rgba(74,143,181,.5); }

/* 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; }
}
