:root{
    --bg:#090909;
    --surface:rgba(15,15,15,0.9);
    --surface-strong:#171717;
    --border:rgba(255,255,255,0.12);
    --text:#f8f8f8;
    --muted:#a9a9a9;
    --primary:#f5c542;
    --primary-strong:#ffd86a;
    --danger:#ff6b6b;
}

*{
    box-sizing:border-box;
}

html,
body{
    min-height:100%;
}

body{
    margin:0;
    min-height:100vh;
    font-family:Arial, sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

.banner{
    position:fixed;
    inset:0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.9), rgba(0,0,0,0.68)),
        url("../img/banner.png");
    background-size:cover;
    background-position:center;
    z-index:-1;
}

.container{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.card{
    width:100%;
    max-width:420px;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:8px;
    padding:30px;
    box-shadow:0 24px 70px rgba(0,0,0,0.48);
    backdrop-filter:blur(14px);
}

.card h1,
.card h2{
    margin:0 0 8px;
    font-size:28px;
    line-height:1.15;
    color:var(--text);
}

.card p{
    margin:0 0 18px;
    color:var(--muted);
    font-size:14px;
    line-height:1.6;
}

.form{
    display:grid;
    gap:12px;
}

.input{
    width:100%;
    min-height:46px;
    padding:12px 14px;
    border-radius:8px;
    border:1px solid var(--border);
    background:rgba(255,255,255,0.04);
    color:var(--text);
    outline:none;
    font-size:15px;
    transition:border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input::placeholder{
    color:#777;
}

.input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(245,197,66,0.16);
    background:rgba(255,255,255,0.06);
}

.btn{
    width:100%;
    min-height:48px;
    padding:13px 18px;
    border:none;
    border-radius:8px;
    background:var(--primary);
    color:#0b0b0b;
    font-weight:700;
    font-size:15px;
    cursor:pointer;
    transition:background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover{
    background:var(--primary-strong);
    transform:translateY(-1px);
}

.btn:disabled,
.btn.loading{
    opacity:0.68;
    cursor:not-allowed;
    transform:none;
}

.btn.secondary{
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:10px;
    background:var(--surface-strong);
    border:1px solid var(--border);
    color:var(--text);
    text-decoration:none;
}

.btn.secondary:hover{
    background:#1d1d1d;
    border-color:rgba(245,197,66,0.42);
}

.form-footer{
    margin-top:16px;
    text-align:center;
}

.form-footer a{
    color:var(--primary);
    text-decoration:none;
    font-size:14px;
}

.form-footer a:hover{
    text-decoration:underline;
}

.status-text{
    margin-top:14px;
    min-height:20px;
    color:var(--muted);
    font-size:13px;
}

.status-text.error{
    color:var(--danger);
}

.plan-status{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:10px;
    margin:18px 0;
}

.plan-status div{
    padding:12px;
    border-radius:8px;
    background:var(--surface-strong);
    border:1px solid var(--border);
}

.plan-status span,
.plan-status strong{
    display:block;
}

.plan-status span{
    color:var(--muted);
    font-size:11px;
    margin-bottom:6px;
}

.plan-status strong{
    color:var(--text);
    font-size:14px;
}

@media (max-width:560px){
    .container{
        align-items:flex-end;
        padding:18px;
    }

    .card{
        padding:24px 20px;
    }

    .plan-status{
        grid-template-columns:1fr;
    }
}
