/* ==========================================
   CYBERMUSE — AUTH
   LOGIN / SIGNUP / FORGOT PASSWORD
========================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{
--black:#080808;
--dark:#17141c;
--violet:#8d76ff;
--gold:#d4af37;
--champagne:#eadfcf;
--white:#fff;
--muted:rgba(255,255,255,.65);
--line:rgba(255,255,255,.13);
}

body{
min-height:100vh;
font-family:'Poppins',sans-serif;
color:white;

background:
linear-gradient(
135deg,
rgba(7,7,10,.94),
rgba(19,15,24,.90),
rgba(47,40,37,.86)
),
url("../assets/images/cybermuse-bg.jpg");

background-size:cover;
background-position:center;
background-attachment:fixed;
}

a{
color:inherit;
text-decoration:none;
}

button,
input{
font:inherit;
}


/* ==========================================
   GLOWS
========================================== */

.glow{
position:fixed;
border-radius:50%;
filter:blur(130px);
pointer-events:none;
z-index:-1;
}

.glowViolet{
width:400px;
height:400px;
background:rgba(141,118,255,.2);
top:-150px;
left:-120px;
}

.glowGold{
width:450px;
height:450px;
background:rgba(212,175,55,.14);
right:-170px;
bottom:-170px;
}


/* ==========================================
   HEADER
========================================== */

.loginHeader,
.authHeader{
height:80px;

display:flex;
align-items:center;
justify-content:space-between;

padding:0 6%;

background:rgba(8,7,12,.9);
backdrop-filter:blur(18px);

border-bottom:1px solid var(--line);
}

.brand{
display:flex;
align-items:center;
gap:7px;

font-family:'Space Grotesk',sans-serif;
font-size:1.05rem;
font-weight:700;

letter-spacing:4px;
}

.brand img{
width:52px;
height:52px;
object-fit:contain;
}

.backLink{
padding:11px 16px;

border:1px solid var(--line);

font-size:.65rem;
font-weight:600;

letter-spacing:1.5px;
text-transform:uppercase;

background:rgba(255,255,255,.05);
}


/* ==========================================
   PAGE
========================================== */

.loginPage,
.authPage{
width:min(1050px,92%);

margin:auto;

padding:70px 0 90px;

display:grid;

grid-template-columns:1fr 430px;

align-items:center;

gap:80px;
}


/* ==========================================
   INTRO
========================================== */

.loginIntro,
.authIntro{
max-width:580px;
}

.smallTitle{
font-size:.65rem;
font-weight:600;

letter-spacing:5px;
text-transform:uppercase;

color:#f5d98d;

margin-bottom:18px;
}

.loginIntro h1,
.authIntro h1{
font-family:'Space Grotesk',sans-serif;

font-size:clamp(4rem,8vw,7rem);

line-height:.86;

letter-spacing:-4px;

text-transform:uppercase;

margin-bottom:28px;
}

.loginIntro h1 span,
.authIntro h1 span{
display:block;

color:transparent;

-webkit-text-stroke:
1px rgba(255,255,255,.72);
}

.loginIntro > p:not(.smallTitle),
.authIntro > p:not(.smallTitle){
max-width:520px;

font-size:.95rem;
line-height:1.85;

color:var(--muted);
}


/* ==========================================
   CARD
========================================== */

.loginCard,
.authCard{
padding:36px;

background:
linear-gradient(
135deg,
rgba(255,255,255,.10),
rgba(255,255,255,.045)
);

border:1px solid var(--line);

backdrop-filter:blur(22px);

box-shadow:
0 30px 80px rgba(0,0,0,.25);
}

.cardHeading{
margin-bottom:27px;
}

.cardHeading h2{
font-family:'Space Grotesk',sans-serif;

font-size:2rem;

text-transform:uppercase;
letter-spacing:-1px;
}

.cardHeading p{
margin-top:8px;

font-size:.82rem;
line-height:1.6;

color:var(--muted);
}


/* ==========================================
   GOOGLE
========================================== */

.googleBtn{
width:100%;
height:56px;

display:flex;
align-items:center;
justify-content:center;

gap:12px;

border:1px solid rgba(255,255,255,.18);

background:rgba(255,255,255,.07);

color:white;

font-size:.7rem;
font-weight:600;

letter-spacing:1.5px;
text-transform:uppercase;

cursor:pointer;

transition:.3s;
}

.googleBtn:hover{
background:white;
color:#111;
}

.googleIcon{
width:28px;
height:28px;

display:grid;
place-items:center;

border-radius:50%;

background:white;
color:#4285f4;

font-size:1rem;
font-weight:700;
}


/* ==========================================
   DIVIDER
========================================== */

.divider{
display:grid;

grid-template-columns:1fr auto 1fr;

align-items:center;

gap:12px;

margin:25px 0;
}

.divider span{
height:1px;
background:var(--line);
}

.divider p{
font-size:.6rem;

letter-spacing:1px;
text-transform:uppercase;

color:rgba(255,255,255,.42);
}


/* ==========================================
   INPUTS
========================================== */

.inputGroup{
margin-bottom:19px;
}

.inputGroup label{
display:block;

margin-bottom:8px;

font-size:.65rem;
font-weight:600;

letter-spacing:1.7px;
text-transform:uppercase;

color:rgba(255,255,255,.75);
}

.inputGroup input{
width:100%;
height:56px;

padding:0 16px;

border:1px solid var(--line);
border-radius:0;

outline:none;

background:rgba(255,255,255,.055);

color:white;

transition:.25s;
}

.inputGroup input::placeholder{
color:rgba(255,255,255,.3);
}

.inputGroup input:focus{
border-color:var(--champagne);

background:rgba(255,255,255,.085);
}


/* ==========================================
   PASSWORD
========================================== */

.passwordLabel{
display:flex;
align-items:center;
justify-content:space-between;
gap:15px;
}

.passwordLabel a{
margin-bottom:8px;

font-size:.62rem;

color:var(--champagne);
}

.passwordField{
position:relative;
}

.passwordField input{
padding-right:65px;
}

.passwordField button{
position:absolute;

right:5px;
top:50%;

transform:translateY(-50%);

height:42px;

padding:0 10px;

border:0;

background:transparent;

color:var(--champagne);

font-size:.62rem;
font-weight:600;

text-transform:uppercase;

cursor:pointer;
}


/* ==========================================
   MAIN AUTH BUTTON
========================================== */

.loginBtn,
.authBtn,
.signupBtn,
.resetBtn{
width:100%;
height:58px;

border:1px solid white;

background:white;
color:#111;

font-size:.72rem;
font-weight:700;

letter-spacing:2px;
text-transform:uppercase;

cursor:pointer;

transition:.3s;
}

.loginBtn:hover,
.authBtn:hover,
.signupBtn:hover,
.resetBtn:hover{
transform:translateY(-3px);

box-shadow:
0 18px 40px rgba(0,0,0,.3);
}

.loginBtn:disabled,
.authBtn:disabled,
.signupBtn:disabled,
.resetBtn:disabled,
.googleBtn:disabled{
opacity:.55;
cursor:not-allowed;
transform:none;
}


/* ==========================================
   STATUS
========================================== */

.loginStatus,
.authStatus{
min-height:22px;

margin-top:15px;

text-align:center;

font-size:.75rem;
line-height:1.6;

color:var(--muted);
}

.loginStatus.error,
.authStatus.error{
color:#ff9aad;
}

.loginStatus.success,
.authStatus.success{
color:#9ef0b4;
}


/* ==========================================
   SWITCH LOGIN / SIGNUP
========================================== */

.signupPrompt,
.authSwitch{
margin-top:28px;

padding-top:23px;

border-top:1px solid var(--line);

text-align:center;
}

.signupPrompt p,
.authSwitch p{
font-size:.75rem;
color:var(--muted);
}

.signupPrompt a,
.authSwitch a{
display:inline-block;

margin-top:7px;

font-size:.7rem;
font-weight:600;

letter-spacing:1.5px;
text-transform:uppercase;

color:var(--champagne);
}


/* ==========================================
   FORGOT PASSWORD PAGE
========================================== */

.forgotMessage{
margin-bottom:25px;

font-size:.85rem;
line-height:1.75;

color:var(--muted);
}

.backToLogin{
display:block;

margin-top:22px;

text-align:center;

font-size:.68rem;
font-weight:600;

letter-spacing:1.5px;
text-transform:uppercase;

color:var(--champagne);
}


/* ==========================================
   MOBILE
========================================== */

@media(max-width:750px){

body{
background-attachment:scroll;
}

.loginHeader,
.authHeader{
height:72px;
padding:0 18px;
}

.brand{
font-size:.85rem;
letter-spacing:3px;
}

.brand img{
width:45px;
height:45px;
}

.backLink{
padding:9px 11px;
font-size:.58rem;
}

.loginPage,
.authPage{
width:auto;

display:block;

padding:48px 18px 70px;
}

.loginIntro,
.authIntro{
margin-bottom:40px;
}

.loginIntro h1,
.authIntro h1{
font-size:clamp(3.5rem,16vw,5rem);

letter-spacing:-3px;

margin-bottom:20px;
}

.loginIntro > p:not(.smallTitle),
.authIntro > p:not(.smallTitle){
font-size:.88rem;
line-height:1.7;
}

.loginCard,
.authCard{
padding:28px 20px;
}

.cardHeading h2{
font-size:1.7rem;
}

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media(max-width:400px){

.loginPage,
.authPage{
padding-left:15px;
padding-right:15px;
}

.loginCard,
.authCard{
padding:25px 16px;
}

.loginIntro h1,
.authIntro h1{
font-size:3.35rem;
}

}