/* ============================
   Login / Gate Page Styling
   Matches main site theme
   ============================ */

:root{
    --bg: #0B1220;
    --bg2:#0E1A2E;
    --card:#0F203A;
    --text:#EAF0FF;
    --muted:#B7C3E6;
    --line: rgba(255,255,255,.10);

    --brand:#14B8A6;
    --brand2:#60A5FA;
    --gold:#F5C542;

    --shadow: 0 18px 50px rgba(0,0,0,.45);
    --radius: 18px;
}

*{ box-sizing: border-box; }

html, body{
    height:100%;
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
}

body{
    background:
            radial-gradient(1200px 800px at 10% 10%, rgba(20,184,166,.14), transparent 60%),
            radial-gradient(900px 700px at 90% 10%, rgba(96,165,250,.16), transparent 55%),
            linear-gradient(180deg, var(--bg2), var(--bg));
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Card */
.login-card{
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, rgba(15,32,58,.9), rgba(15,32,58,.65));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 26px 30px;
    text-align:center;
}

/* Logo / Brand */
.brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 10px;
    font-weight: 800;
    letter-spacing:.2px;
    margin-bottom: 12px;
}

.brand-badge{
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    display:grid;
    place-items:center;
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.14);
}

.brand-badge svg{
    width: 22px;
    height: 22px;
}

/* Text */
h2{
    margin: 10px 0 6px;
    font-size: 22px;
}

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

/* Input */
input[type="password"]{
    width:100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.06);
    color: var(--text);
    font-size: 15px;
    outline:none;
}

input::placeholder{
    color: var(--muted);
}

input:focus{
    border-color: rgba(20,184,166,.6);
}

/* Button */
button{
    width:100%;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: none;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    color: #07101D;
    background: linear-gradient(135deg, var(--gold), rgba(245,197,66,.85));
    box-shadow: 0 12px 30px rgba(245,197,66,.25);
}

button:hover{
    transform: translateY(-1px);
}

button:active{
    transform: translateY(0);
}

/* Error */
#error{
    margin-top: 12px;
    font-size: 14px;
    color: #FCA5A5;
}

/* Footer note */
.note{
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted);
}
