:root{
    --bg1:linear-gradient(180deg,#8b2df5,#22b3b3);
    --card:#fff;
    --muted:#666;
}

*{
  box-sizing:border-box;
  font-family:Inter,Arial,Helvetica,sans-serif;
}

body{
    margin:0;
    background:var(--bg1);
    min-height:100vh;
    color:#fff;
    padding-bottom:60px;
}

/* ====== H1 Huruf Sambung ====== */
h1{
    font-family:'Great Vibes', cursive;
    font-size:60px;
    text-align:center;
    margin:20px 0 0;
    color:#ffffff;
    font-weight:normal;
}

@media(max-width:768px){
    h1{
        font-size:42px;
    }
}

/* ====== Background Blur Layer ====== */
.bg-layer{
    position:fixed;
    inset:0;
    background:radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1), transparent 25%), rgba(0,0,0,0.15);
    filter:blur(10px);
    z-index:0;
}

/* ====== CARD ====== */
.modal-card{
    position:relative;
    z-index:2;
    max-width:1100px;
    margin:40px auto;
    display:flex;
    background:rgba(255,255,255,0.16);
    backdrop-filter:blur(35px);
    border-radius:26px;
    overflow:hidden;
    padding:40px;
    box-shadow:0 20px 40px rgba(0,0,0,0.28);
}

@media(max-width:820px){
    .modal-card{
        flex-direction:column;
        padding:25px;
        text-align:center;
    }
}

.left{
    flex:1;
}

.right{
    width:420px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.right img{
    max-width:100%;
    height:auto;
    border-radius:12px;
}

/* ====== AUTH BUTTONS (DIPERBAIKI — VERTICAL) ====== */
.auth-buttons{
    display:flex;
    flex-direction:column;   /* tombol ke bawah */
    gap:14px;
    margin-top:20px;
    width:260px;             /* biar ukuran tombol konsisten */
}

.auth-btn{
    padding:12px 20px;
    border-radius:12px;
    border:none;
    cursor:pointer;
    font-size:15px;
    display:flex;
    align-items:center;
    justify-content:center;  /* teks tengah */
    gap:10px;
    transition:.25s;
    font-weight:600;
    width:100%;
}

/* GOOGLE */
.auth-btn.google{
    background:#ffffff;
    color:#333;
}

.auth-btn.google:hover{
    background:#e4e4e4;
}

/* EMAIL */
.auth-btn.email{
    background:#ffffff33;
    color:#fff;
    border:1px solid #ffffff60;
}

.auth-btn.email:hover{
    background:#ffffff55;
}

/* ====== FORM EMAIL ====== */
#loginForm{
    margin-top:22px;
    display:none;
    animation:fadeIn .4s ease;
}

#loginForm label{
    display:block;
    margin:10px 0 4px;
}

#loginForm input{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:none;
    margin-bottom:10px;
}

.btn-submit{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    margin-top:10px;
    background:#5a2df5;
    color:#fff;
    cursor:pointer;
    font-size:16px;
    transition:.25s;
}

.btn-submit:hover{
    background:#4a23d8;
}

/* ====== TEXT MUTED ====== */
.muted{
    color:#e5e5e5;
    margin-top:15px;
    font-size:14px;
}

.muted a{
    color:#fff;
    font-weight:600;
}

/* ====== ANIMASI ====== */
@keyframes fadeIn{
    from{ opacity:0; transform:translateY(8px); }
    to{ opacity:1; transform:translateY(0); }
}
