body.league-login-page{
  min-height:100vh;
  overflow-x:hidden;
  color:#1d160b!important;
  background:
    radial-gradient(circle at 78% 18%,rgba(220,176,65,.24),transparent 28rem),
    radial-gradient(circle at 15% 8%,rgba(255,255,255,.98),transparent 32rem),
    linear-gradient(180deg,#fffdf8 0%,#f7f1e6 58%,#eee2ce 100%)!important;
}
.league-login-page:before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:
    linear-gradient(118deg,transparent 0 61%,rgba(177,123,19,.06) 61.2% 61.7%,transparent 62%),
    linear-gradient(62deg,transparent 0 74%,rgba(177,123,19,.045) 74.2% 74.7%,transparent 75%),
    linear-gradient(rgba(120,83,14,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(120,83,14,.025) 1px,transparent 1px);
  background-size:auto,auto,54px 54px,54px 54px;
}
.league-login-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);
  align-items:stretch;
  padding:0;
  box-sizing:border-box;
}
.league-login-shell:before{
  content:"ZORYX\A VIRTUAL\A LEAGUE";
  white-space:pre;
  display:flex;
  align-items:center;
  padding:8vw;
  font-family:Rajdhani,Inter,sans-serif;
  font-size:clamp(4.2rem,8vw,9rem);
  font-weight:900;
  line-height:.78;
  letter-spacing:-.055em;
  color:#181209;
  background:
    radial-gradient(circle at 74% 50%,rgba(215,169,54,.24),transparent 24rem),
    linear-gradient(135deg,rgba(255,255,255,.55),rgba(247,235,211,.32));
}
.league-login-card{
  position:relative;
  width:100%;
  min-height:100vh;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(42px,7vw,110px);
  text-align:left;
  border:0;
  border-left:1px solid rgba(132,91,14,.16);
  border-radius:0;
  background:rgba(255,253,248,.84);
  box-shadow:-28px 0 80px rgba(88,59,7,.08);
  backdrop-filter:blur(18px);
  overflow:hidden;
}
.league-login-card:before{
  content:"";position:absolute;right:-160px;top:-120px;width:420px;height:420px;border-radius:50%;
  border:1px solid rgba(183,129,24,.14);
  box-shadow:0 0 0 74px rgba(205,158,49,.03),0 0 0 148px rgba(205,158,49,.018);
}
.league-login-logo{
  width:86px;height:86px;object-fit:contain;margin:0 0 34px;
  filter:drop-shadow(0 16px 28px rgba(126,84,8,.18));
}
.league-login-badge{display:none!important}
.league-login-card .eyebrow{
  margin:0 0 15px!important;
  color:#96650b!important;
  font-size:.62rem!important;
  font-weight:900!important;
  letter-spacing:.32em!important;
}
.league-login-card h1{
  max-width:620px;
  margin:0;
  color:#17120a!important;
  font-size:clamp(3rem,6vw,6rem);
  font-weight:950;
  line-height:.88;
  letter-spacing:-.055em;
  text-transform:uppercase;
}
.league-login-card h1 span{
  display:block;
  color:#b37a10!important;
  background:linear-gradient(180deg,#d5a13a 0%,#9d6608 88%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.league-login-copy{
  max-width:580px;
  margin:24px 0 30px;
  color:#716654!important;
  font-size:.92rem;
  line-height:1.75;
}
.league-discord-login{
  width:min(100%,520px);
  min-height:56px;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:28px 1fr 28px;
  align-items:center;
  gap:10px;
  padding:0 20px;
  border:1px solid #a8730f;
  border-radius:3px;
  text-decoration:none;
  background:linear-gradient(135deg,#8b5d08,#bd8620 50%,#dfb854);
  color:#fffdf8;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:0 14px 30px rgba(131,87,7,.18);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.league-discord-login:hover{transform:translateY(-2px);filter:brightness(1.03);box-shadow:0 18px 36px rgba(131,87,7,.25)}
.league-discord-login .fa-discord{font-size:1.2rem}.league-discord-login .fa-arrow-right{font-size:.85rem}
.league-login-features{
  display:flex;justify-content:flex-start;gap:8px;flex-wrap:wrap;margin:22px 0 0;
}
.league-login-features span{
  display:inline-flex;align-items:center;gap:7px;padding:7px 10px;
  border:1px solid rgba(128,89,17,.15);border-radius:999px;
  background:rgba(255,255,255,.66);color:#756850;font-size:.7rem;font-weight:700;
}
.league-login-features i{color:#a56f0c}
.league-login-note{max-width:560px;margin:20px 0 0;color:#978a75;font-size:.72rem;line-height:1.55}
.league-login-error{
  display:flex;align-items:center;gap:9px;max-width:520px;margin:0 0 18px;padding:12px 14px;
  border:1px solid rgba(184,64,47,.22);border-radius:10px;background:rgba(184,64,47,.06);
  color:#9e3e31;text-align:left;font-size:.82rem;
}
.league-access-card h1 span{display:inline;background:none;-webkit-text-fill-color:initial;color:#b37a10!important}
.league-access-steps{display:grid;gap:8px;max-width:580px;margin:0 0 22px}
.league-access-steps>div{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;border:1px solid rgba(128,89,17,.13);border-radius:10px;background:rgba(255,255,255,.58)}
.league-access-steps>div>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(183,129,24,.12);color:#91600a;font-weight:900;font-size:.72rem}
.league-access-steps p{margin:0;display:grid;gap:2px}.league-access-steps strong{color:#251b0f}.league-access-steps small{color:#83745e;font-size:.72rem}
.league-recheck-button{display:inline-flex;align-items:center;gap:7px;margin-top:10px;color:#81580b;text-decoration:none;font-size:.76rem;font-weight:900}
@media(max-width:980px){
  .league-login-shell{grid-template-columns:1fr}
  .league-login-shell:before{display:none}
  .league-login-card{min-height:100vh;border-left:0;padding:clamp(32px,8vw,70px);background:rgba(255,253,248,.9)}
}
@media(max-width:600px){
  .league-login-card{padding:34px 20px}
  .league-login-logo{width:70px;height:70px;margin-bottom:26px}
  .league-login-card h1{font-size:clamp(2.7rem,15vw,4.3rem)}
  .league-login-copy{font-size:.86rem}
  .league-discord-login{min-height:52px}
  .league-login-features{gap:6px}
}
@media(prefers-reduced-motion:reduce){.league-discord-login{transition:none}}


/* Keep login/access screens fixed and vertically centered without page scroll */
body.league-login-page{
  height:100vh!important;
  min-height:100vh!important;
  overflow:hidden!important;
}
.league-login-shell{
  height:100vh!important;
  min-height:100vh!important;
  overflow:hidden!important;
}
.league-login-shell:before{
  min-height:100vh!important;
}
.league-login-card{
  height:100vh!important;
  min-height:0!important;
  overflow:hidden!important;
  padding-top:clamp(28px,4.4vh,54px)!important;
  padding-bottom:clamp(24px,3.8vh,46px)!important;
}
.league-login-logo{
  margin-bottom:clamp(14px,2vh,24px)!important;
  width:clamp(62px,6vh,82px)!important;
  height:clamp(62px,6vh,82px)!important;
}
.league-login-card .eyebrow{
  margin-bottom:clamp(8px,1.2vh,13px)!important;
}
.league-login-card h1{
  font-size:clamp(2.8rem,5.2vw,5.35rem)!important;
  line-height:.86!important;
}
.league-login-copy{
  margin:clamp(14px,2vh,20px) 0 clamp(18px,2.5vh,26px)!important;
  line-height:1.58!important;
}
.league-discord-login{
  min-height:52px!important;
}
.league-login-features{
  margin-top:clamp(12px,1.8vh,18px)!important;
}
.league-login-note{
  margin-top:clamp(12px,1.6vh,17px)!important;
}
.league-access-steps{
  margin-bottom:clamp(12px,1.8vh,18px)!important;
  gap:6px!important;
}
.league-access-steps>div{
  padding:8px 10px!important;
}
@media(max-height:760px){
  .league-login-card{
    padding-top:22px!important;
    padding-bottom:20px!important;
  }
  .league-login-logo{
    width:58px!important;
    height:58px!important;
    margin-bottom:12px!important;
  }
  .league-login-card h1{
    font-size:clamp(2.45rem,4.5vw,4.45rem)!important;
  }
  .league-login-copy{
    margin:11px 0 16px!important;
    font-size:.82rem!important;
    line-height:1.45!important;
  }
  .league-discord-login{min-height:48px!important}
  .league-login-features{margin-top:10px!important}
  .league-login-features span{padding:5px 8px!important;font-size:.64rem!important}
  .league-access-steps{gap:5px!important;margin-bottom:12px!important}
  .league-access-steps>div{padding:7px 9px!important}
  .league-login-note{margin-top:10px!important}
}
@media(max-width:980px){
  body.league-login-page{overflow:hidden!important}
  .league-login-card{
    height:100vh!important;
    min-height:100vh!important;
    justify-content:center!important;
  }
}

/* Public language control stays visible before Discord authentication. */
.league-login-language{
  position:absolute;top:20px;right:24px;z-index:5;
  display:flex;align-items:center;gap:12px;
  padding:9px 12px;border:1px solid rgba(132,91,14,.2);border-radius:10px;
  background:#fffdf8;color:#715017;box-shadow:0 4px 18px rgba(88,59,7,.06);
}
.league-login-language label{display:flex;align-items:center;gap:7px;font-size:.78rem;font-weight:700}
.league-login-language select{
  max-width:160px;min-height:36px;padding:6px 30px 6px 10px;border:1px solid rgba(132,91,14,.24);
  border-radius:6px;background:#fffdf8;color:#251b0f;font:inherit;font-size:.8rem;cursor:pointer;
}
.league-login-language select:focus-visible{outline:3px solid #b37a10;outline-offset:3px}
@media(max-width:600px){
  .league-login-language{top:12px;right:12px;gap:8px;padding:6px 9px}
}
@media(max-height:680px){
  body.league-login-language-page{height:auto!important;overflow-y:auto!important}
  .league-login-language-page .league-login-shell{height:auto!important;min-height:100svh!important;overflow:visible!important}
  .league-login-language-page .league-login-card{height:auto!important;min-height:100svh!important;padding-top:90px!important;padding-bottom:28px!important;overflow:visible!important}
}
