:root {
    --al-ink: #0b1120;
    --al-muted: #8a94ad;
    --al-teal: #ffc107;
    --al-teal-dark: #e6ac00;
    --al-navy: #0b1120;
    --al-gold: #d4a017;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
* {
    scrollbar-width: thin;
    scrollbar-color: #1c253b transparent;
}
*::-webkit-scrollbar { width: 2px; height: 2px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #1c253b; border-radius: 99px; }
*::-webkit-scrollbar-thumb:hover { background: var(--al-teal); }

.al-page {
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    color: var(--al-ink);
    background:
        radial-gradient(ellipse 70% 55% at 0% 0%, rgba(255, 193, 7, 0.18), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(212, 160, 23, 0.12), transparent 50%),
        linear-gradient(165deg, #f6f5f1 0%, #fbf8ef 48%, #ece8dc 100%);
    -webkit-font-smoothing: antialiased;
}

.al-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
}

.al-brand {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 3.5rem clamp(2rem, 5vw, 4.5rem);
    background: linear-gradient(145deg, #0b1120 0%, #12182a 42%, #1c253b 100%);
    color: #fff;
}

.al-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.al-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.al-orb-a {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.4), transparent 70%);
    animation: alFloat 9s ease-in-out infinite;
}

.al-orb-b {
    width: 180px;
    height: 180px;
    bottom: 8%;
    left: 12%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.32), transparent 70%);
    animation: alFloat 11s ease-in-out infinite reverse;
}

.al-brand-inner {
    position: relative;
    z-index: 1;
    max-width: 440px;
    animation: alRise 0.7s ease-out both;
}

.al-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    font-weight: 800;
    background: rgba(255, 193, 7, 0.95);
    color: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    margin-bottom: 1.6rem;
}

.al-kicker {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.al-brand h1 {
    margin: 0 0 0.9rem;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
}

.al-tagline {
    margin: 0 0 1.6rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
    max-width: 34ch;
}

.al-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.al-chips li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.al-chips svg {
    width: 15px;
    height: 15px;
}

.al-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    animation: alRise 0.75s 0.08s ease-out both;
}

.al-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(230, 226, 214, 0.95);
    border-radius: 24px;
    padding: 2.15rem 2rem 1.75rem;
    box-shadow:
        0 18px 50px rgba(16, 36, 44, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(10px);
}

.al-card-head h2 {
    margin: 0 0 0.3rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.al-card-head p {
    margin: 0 0 1.45rem;
    color: var(--al-muted);
    font-size: 0.92rem;
}

.al-alert {
    padding: 11px 14px;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #9b2c22;
    background: #fde8e6;
    border: 1px solid #f5c6c2;
}

.al-form { display: grid; gap: 1rem; }

.al-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #475569;
}

.al-input {
    position: relative;
    display: flex;
    align-items: center;
}

.al-ico {
    position: absolute;
    left: 0.9rem;
    color: #94a3b8;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.al-ico svg { width: 18px; height: 18px; }

.al-input input {
    width: 100%;
    padding: 0.88rem 1rem 0.88rem 2.7rem;
    border: 1.5px solid #e6e2d6;
    border-radius: 14px;
    font: inherit;
    font-size: 0.95rem;
    background: #fbf8ef;
    color: var(--al-ink);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.al-password input { padding-right: 2.85rem; }

.al-input input::placeholder { color: #94a3b8; }

.al-input input:focus {
    outline: none;
    border-color: var(--al-teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.22);
}

.al-toggle {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    border-radius: 10px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.al-toggle:hover { color: var(--al-teal-dark); background: #fff8e8; }
.al-toggle svg { width: 18px; height: 18px; }
.al-toggle .eye-closed { display: none; }
.al-toggle.is-visible .eye-open { display: none; }
.al-toggle.is-visible .eye-closed { display: block; }

.al-submit {
    margin-top: 0.35rem;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0b1120;
    background: linear-gradient(135deg, var(--al-teal-dark), var(--al-teal));
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.28);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.al-submit svg { width: 18px; height: 18px; }

.al-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(255, 193, 7, 0.34);
}

.al-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 1.25rem;
}

.al-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #5b6478;
    text-decoration: none;
    border: 1px solid #e6e2d6;
    background: #fbf8ef;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.al-links a svg { width: 15px; height: 15px; flex-shrink: 0; }

.al-links a:hover {
    color: var(--al-teal-dark);
    border-color: #f5d76e;
    background: #fff8e8;
}

.al-copy {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.78rem;
    color: #8a94ad;
}

@keyframes alRise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@keyframes alFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
}

@media (max-width: 900px) {
    .al-shell { grid-template-columns: 1fr; }
    .al-brand { min-height: auto; padding: 2.2rem 1.5rem 1.8rem; }
    .al-brand h1 { font-size: 2rem; }
    .al-tagline { font-size: 0.95rem; max-width: none; margin-bottom: 1.1rem; }
    .al-panel { padding: 1.5rem 1.15rem 2rem; }
    .al-card { padding: 1.65rem 1.35rem 1.4rem; border-radius: 20px; }
}

@media (max-width: 480px) {
    .al-links { grid-template-columns: 1fr; }
}
