:root{
  --gold:#f1d77e;
  --gold-border:#c8a95a;
  --panel:#1d3275;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  min-height:100vh;
  font-family:"Be Vietnam Pro",Arial,sans-serif;
  color:#fff;
  background:#081224;
}

.dl-bg{
  position:fixed;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(to bottom, rgba(9,13,25,.66), rgba(30,116,190,.50)),
    url("./background/backgroundnew.png") center/cover no-repeat;
  filter:saturate(1.12) brightness(.88);
}

.dl-overlay{
  position:fixed;
  inset:0;
  z-index:-1;
  background:linear-gradient(to bottom, rgba(15,20,32,.10), rgba(33,123,206,.26));
}

.topbar{
  position:fixed;
  top:0;left:0;right:0;
  height:82px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-bottom:2px solid rgba(241,215,126,.62);
  background:linear-gradient(to bottom, rgba(0,0,0,.66), rgba(0,0,0,.38));
  z-index:30;
}

.top-logo{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:auto;
  height:48px;
  max-width:min(240px,42vw);
  display:flex;
  align-items:center;
}
.top-logo img{
  height:100%;
  width:auto;
  max-width:100%;
  object-fit:contain;
}

.top-nav{display:flex;gap:28px}
.top-nav a{
  color:#fff4d5;
  text-decoration:none;
  font-family:"Cinzel",serif;
  font-size:22px;
  font-weight:700;
  letter-spacing:.8px;
  text-shadow:0 2px 8px rgba(0,0,0,.5);
}
.top-nav a.active,.top-nav a:hover{color:var(--gold)}

.menu-toggle{
  position:absolute;
  right:14px;
  top:20px;
  width:36px;
  height:36px;
  border:1px solid rgba(241,215,126,.6);
  border-radius:8px;
  background:rgba(0,0,0,.35);
  color:#fff;
  display:none;
}

.page{
  width:min(1040px,92vw);
  margin:0 auto;
  padding:124px 0 90px;
}

.title-pill{
  width:min(330px,88vw);
  margin:0 auto 14px;
  text-align:center;
  padding:10px 16px;
  border:3px solid var(--gold-border);
  border-radius:999px;
  background:linear-gradient(to bottom,#24518e,#14407d);
  color:#f7e8b7;
  font-family:"Cinzel",serif;
  font-size:54px;
  line-height:1;
  font-weight:700;
  text-shadow:0 2px 0 #614a13;
}

.board{
  border:4px solid var(--gold-border);
  border-radius:12px;
  background:linear-gradient(to bottom, rgba(28,51,115,.96), rgba(19,43,101,.96));
  box-shadow:0 20px 38px rgba(0,0,0,.45);
  padding:26px;
}

.download-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.dl-load-err{
  text-align:center;
  color:#ffc9c9;
  font-size:14px;
  margin:0 0 10px;
}

.dl-empty{
  margin:0;
  text-align:center;
  color:#bfd0ff;
  font-size:15px;
  padding:12px;
}

.dl-img-slot{
  display:block;
  min-width:20px;
  min-height:1px;
}

.dl-img-slot--end{
  justify-self:end;
}

.client-card{
  border:2px solid #d7c174;
  border-radius:6px;
  background:linear-gradient(to bottom, #1e3f89, #142f6c);
  display:grid;
  grid-template-columns:minmax(120px,150px) minmax(0,1fr) minmax(120px,160px);
  gap:18px;
  align-items:center;
  padding:14px 18px;
  min-height:190px;
}

.client-card--no-left{
  grid-template-columns:minmax(0,1fr) minmax(120px,160px);
}

.client-card--no-right{
  grid-template-columns:minmax(120px,150px) minmax(0,1fr);
}

.client-card--text-only{
  grid-template-columns:1fr;
  justify-items:center;
  text-align:center;
}

.client-card--no-left .dl-img-slot:not(.dl-img-slot--end),
.client-card--no-right .dl-img-slot--end,
.client-card--text-only .dl-img-slot{
  display:none;
}

.mascot{
  width:132px;
  height:132px;
  object-fit:contain;
}
.ghost{
  width:100px;
  height:100px;
  object-fit:contain;
  justify-self:end;
}

.client-info h3{
  margin:0 0 6px;
  font-family:"Cinzel",serif;
  font-size:32px;
  color:#ffebb4;
  max-width:100%;
  word-break:normal;
  overflow-wrap:normal;
  text-wrap:balance;
}
.client-info p{margin:0;color:#dbe6ff}
.client-info .small{font-size:13px;color:#bfd0ff;margin-top:4px}

.client-card--text-only .client-info{
  justify-self:center;
  width:min(620px,100%);
}

.dl-btn{
  margin-top:12px;
  display:inline-block;
  min-width:220px;
  text-align:center;
  text-decoration:none;
  border:1px solid #bda65a;
  border-radius:8px;
  background:linear-gradient(to bottom,#f8e8a7,#debe5a);
  color:#2f2208;
  font-family:"Cinzel",serif;
  font-size:34px;
  font-weight:800;
  padding:8px 14px;
}

.spec{
  margin-top:22px;
  border:4px solid #e1cb7a;
  background:rgba(21,47,108,.92);
  border-radius:8px;
  padding:16px;
}
.spec h4{
  margin:0 0 8px;
  font-family:"Cinzel",serif;
  color:#ffe9ab;
  font-size:36px;
}

.spec-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.spec ul{
  margin:0;
  padding-left:18px;
  color:#d9e7ff;
}
.spec li{margin-bottom:6px}

@media (max-width:980px){
  .menu-toggle{display:block}
  .top-nav{
    position:absolute;top:82px;left:0;right:0;
    display:none;flex-direction:column;gap:10px;
    background:rgba(0,0,0,.92);
    border-bottom:1px solid rgba(241,215,126,.52);
    padding:12px 14px;
  }
  .top-nav.show{display:flex}
  .top-nav a{font-size:17px}
  .title-pill{font-size:40px}
  .board{padding:14px}
  .client-card{
    grid-template-columns:1fr;
    text-align:center;
    justify-items:center;
  }
  .client-card--no-left,
  .client-card--no-right,
  .client-card--text-only{
    grid-template-columns:1fr;
  }
  .mascot,.ghost,.client-info{justify-self:center}
  .dl-btn{font-size:28px}
  .spec h4{font-size:28px}
  .spec-grid{grid-template-columns:1fr}
}

