/* ============================================================
   log-in.css
   ============================================================ */

:root {
    --bg: #050505;
    --fg: rgba(255, 255, 255, 0.95);
    --muted: rgba(255, 255, 255, 0.7);
    --card: rgba(14, 14, 16, 0.55);
    --stroke: rgba(255, 255, 255, 0.08);
    --shadow: 0 16px 50px rgba(0, 0, 0, 0.55);
    --radius: 22px;
    --gold: rgba(212, 174, 104, 0.9);
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
    overflow-x: hidden;
}

.bg-cover {
    position: fixed;
    inset: 0;
    background:
            radial-gradient(1200px 800px at 30% 20%, rgba(255, 255, 255, 0.06), transparent 60%),
            radial-gradient(900px 700px at 70% 80%, rgba(212, 174, 104, 0.08), transparent 60%),
            linear-gradient(180deg, #050505, #070707);
    z-index: -3;
}

.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    filter: blur(22px);
    opacity: 0.9;
}

.orb {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(212, 174, 104, 0.22), transparent 65%);
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    top: -120px;
    left: -120px;
}

.orb-2 {
    right: -140px;
    bottom: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 70%);
    animation-duration: 10s;
}

.orb-3 {
    top: 45%;
    left: 60%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle at 30% 30%, rgba(212, 174, 104, 0.12), transparent 70%);
    animation-duration: 12s;
}

@keyframes float {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -18px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.glass {
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.login-container {
    width: min(440px, 92vw);
    padding: 28px;
}

.login-form h2 {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.form-control {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    color: var(--fg);
    padding: 12px 14px;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.30);
    color: var(--fg);
    border-color: rgba(212, 174, 104, 0.55);
    box-shadow: 0 0 0 4px rgba(212, 174, 104, 0.10);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.btn-login {
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 650;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, rgba(212, 174, 104, 0.95), rgba(255, 255, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(212, 174, 104, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(212, 174, 104, 0.16);
}

.register-link {
    color: rgba(212, 174, 104, 0.95);
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.small {
    color: var(--muted);
}

.tinyFooter {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.homeBtn {
    position: fixed;
    top: 18px;
    left: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(14, 14, 16, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
    z-index: 5;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.homeBtn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
