:root {
  --bg:#0d0d0d;
  --card:#151515;
  --muted:#b7b7b7;
  --text:#eaeaea;
  --accent:#df992c;
}

/* ===== Reset & Base ===== */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:Poppins,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  background:url("/static/images/mvm_bg.jpg") no-repeat center center fixed;
  background-size:cover;
  color:var(--text);
  position:relative;
}
body::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.85));
  backdrop-filter:blur(4px);
  z-index:0;
}
.landing-wrap, .landing-footer, .logo-wrap, .secondary-actions{position:relative;z-index:1}

/* ===== Layout ===== */
.landing-wrap{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  gap:18px;
  padding:32px 20px;
}

.logo-hero{
  width:min(220px,40vw);
  height:auto;
  border-radius:16px;
  filter:drop-shadow(0 0 22px rgba(223,153,44,.35));
  transition:transform .3s ease;
}
.logo-hero:hover{transform:scale(1.05)}

.glow{
  filter:drop-shadow(0 0 25px rgba(223,153,44,.25))
         drop-shadow(0 0 50px rgba(223,153,44,.15));
}

.headline{
  font-size:clamp(22px,4vw,34px);
  font-weight:600;
  color:#f2f2f2;
}
.subhead{
  font-size:clamp(14px,2.6vw,16px);
  color:var(--muted);
  margin-top:-4px;
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  border-radius:12px;
  border:1px solid transparent;
  transition:.2s ease;
  cursor:pointer;
  user-select:none;
  text-decoration:none;
}
.btn-login{
  background:var(--accent);
  color:#000;
  padding:10px 24px;
  min-width:180px;
}
.btn-login:hover{filter:brightness(1.1);transform:translateY(-2px)}
.btn-ghost{
  background:transparent;
  color:#fff;
  border:1px solid rgba(223,153,44,.45);
  padding:8px 18px;
}
.btn-ghost:hover{border-color:var(--accent);box-shadow:0 0 12px rgba(223,153,44,.25)}
.secondary-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}

/* ===== Footer ===== */
.landing-footer{
  position:fixed;
  left:0;right:0;bottom:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  padding:14px 10px;
  font-size:13px;
  color:#cfcfcf;
  background:linear-gradient(to top,rgba(0,0,0,.45),rgba(0,0,0,0));
}
.landing-footer .brand-link{color:var(--accent);text-decoration:none}
.landing-footer .brand-link:hover{text-decoration:underline}

/* ===== Modal ===== */
.modal-bg{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  display:none;
  justify-content:center;
  align-items:center;
  backdrop-filter:blur(5px);
  z-index:999;
}
.modal-bg.show{display:flex}
.modal-box{
  background:var(--card);
  border:1px solid #232323;
  border-radius:16px;
  padding:26px;
  width:320px;
  color:var(--text);
  box-shadow:0 0 20px rgba(223,153,44,.15);
  position:relative;
}
.modal-box h2{color:var(--accent);margin-bottom:14px;text-align:center}
.modal-box input{
  width:100%;
  background:#0f0f0f;
  border:1px solid #2b2b2b;
  color:var(--text);
  border-radius:6px;
  padding:10px;
  margin-bottom:12px;
}
.modal-box input:focus{
  border-color:var(--accent);
  outline:none;
}
.btn-discord{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#5865F2;
  color:#fff;
  border:none;
  border-radius:8px;
  padding:10px;
  transition:.3s;
}
.btn-discord:hover{background:#4752C4}
.btn-close{
  position:absolute;
  top:8px;right:12px;
  background:none;border:none;
  color:#aaa;
  font-size:22px;
  cursor:pointer;
}
.btn-close:hover{color:#fff}
.sep{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#9a9a9a;
  font-size:12px;
  margin:10px 0 14px;
}
.sep::before,.sep::after{content:"";flex:1;height:1px;background:#2c2c2c}
.w-full{width:100%}

/* Responsive */
@media(max-width:480px){
  .logo-hero{width:48vw}
  .btn-login{min-width:140px}
}
