/* player.css */
/* adaptive-tablet.css */
/* main.css */
/* library.css */
/* navigation.css */
/* adaptive-mobile.css */
/* login.css — amusic login v2 */

/* ══ PAGE ══ */
html.lt_mc-login { background: #050508; }
html.lt_mc-login body {
    margin: 0;
    padding: 0;
    background: #050508;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ══ ROOT ══ */
.alogin {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #eee;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ══════════════════════════════════════
   BACKGROUND
   ══════════════════════════════════════ */
.amusicbackgr-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #050508;
}

/* — Animated gradient orbs — */
.amusicbackgr-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.amusicbackgr-bg__orb--1 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(232,98,44,0.22) 0%, transparent 60%);
    top: -30%; right: -15%;
    animation: al-drift1 16s ease-in-out infinite;
}
.amusicbackgr-bg__orb--2 {
    width: 650px; height: 650px;
    background: radial-gradient(circle, rgba(180,45,25,0.18) 0%, transparent 60%);
    bottom: -25%; left: -10%;
    animation: al-drift2 20s ease-in-out infinite;
}
.amusicbackgr-bg__orb--3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(120,30,60,0.16) 0%, transparent 60%);
    top: 50%; left: 55%;
    animation: al-drift3 24s ease-in-out infinite;
}
.amusicbackgr-bg__orb--4 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232,140,60,0.1) 0%, transparent 60%);
    top: 10%; left: 15%;
    animation: al-drift2 18s ease-in-out infinite reverse;
}
.amusicbackgr-bg__orb--5 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,80,50,0.08) 0%, transparent 60%);
    bottom: 20%; right: 25%;
    animation: al-drift1 22s ease-in-out infinite reverse;
}

/* — Grid overlay — */
.amusicbackgr-bg__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232,98,44,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,98,44,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask: radial-gradient(ellipse 70% 60% at center, rgba(0,0,0,0.6) 0%, transparent 100%);
    -webkit-mask: radial-gradient(ellipse 70% 60% at center, rgba(0,0,0,0.6) 0%, transparent 100%);
    animation: al-gridPulse 8s ease-in-out infinite;
}

/* — Film grain noise — */
.amusicbackgr-bg__noise {
    position: absolute;
    inset: -50%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    opacity: 0.5;
    animation: al-noiseMove 0.5s steps(3) infinite;
    pointer-events: none;
}

/* — Vignette — */
.amusicbackgr-bg__vig {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at center, transparent 20%, rgba(0,0,0,0.65) 100%);
}

/* ══════════════════════════════════════
   PARTICLES
   ══════════════════════════════════════ */
.amusicbackgr-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.amusicbackgr-p {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(232,98,44,0.4);
    animation: al-float linear infinite;
    will-change: transform, opacity;
}

.amusicbackgr-p--1 { width: 3px; height: 3px; left: 10%; bottom: -5%; animation-duration: 12s; animation-delay: 0s; opacity: 0.6; }
.amusicbackgr-p--2 { width: 2px; height: 2px; left: 25%; bottom: -5%; animation-duration: 15s; animation-delay: 2s; opacity: 0.4; }
.amusicbackgr-p--3 { width: 4px; height: 4px; left: 40%; bottom: -5%; animation-duration: 10s; animation-delay: 4s; opacity: 0.5; }
.amusicbackgr-p--4 { width: 2px; height: 2px; left: 55%; bottom: -5%; animation-duration: 18s; animation-delay: 1s; opacity: 0.3; }
.amusicbackgr-p--5 { width: 3px; height: 3px; left: 70%; bottom: -5%; animation-duration: 14s; animation-delay: 3s; opacity: 0.5; }
.amusicbackgr-p--6 { width: 2px; height: 2px; left: 85%; bottom: -5%; animation-duration: 16s; animation-delay: 5s; opacity: 0.4; }
.amusicbackgr-p--7 { width: 3px; height: 3px; left: 35%; bottom: -5%; animation-duration: 20s; animation-delay: 7s; opacity: 0.3; }
.amusicbackgr-p--8  { width: 2px; height: 2px; left: 60%; bottom: -5%; animation-duration: 13s; animation-delay: 6s;   opacity: 0.5; }
.amusicbackgr-p--9  { width: 2px; height: 2px; left: 5%;  bottom: -5%; animation-duration: 17s; animation-delay: 1.5s; opacity: 0.35; }
.amusicbackgr-p--10 { width: 3px; height: 3px; left: 18%; bottom: -5%; animation-duration: 11s; animation-delay: 3.5s; opacity: 0.55; }
.amusicbackgr-p--11 { width: 2px; height: 2px; left: 32%; bottom: -5%; animation-duration: 19s; animation-delay: 0.5s; opacity: 0.3; }
.amusicbackgr-p--12 { width: 4px; height: 4px; left: 48%; bottom: -5%; animation-duration: 14s; animation-delay: 5.5s; opacity: 0.45; }
.amusicbackgr-p--13 { width: 2px; height: 2px; left: 65%; bottom: -5%; animation-duration: 16s; animation-delay: 2.5s; opacity: 0.4; }
.amusicbackgr-p--14 { width: 3px; height: 3px; left: 78%; bottom: -5%; animation-duration: 12s; animation-delay: 4.5s; opacity: 0.5; }
.amusicbackgr-p--15 { width: 2px; height: 2px; left: 92%; bottom: -5%; animation-duration: 21s; animation-delay: 6.5s; opacity: 0.3; }
.amusicbackgr-p--16 { width: 3px; height: 3px; left: 50%; bottom: -5%; animation-duration: 15s; animation-delay: 8s;   opacity: 0.45; }
.amusicbackgr-p--17 { width: 2px; height: 2px; left: 3%;  bottom: -5%; animation-duration: 13s; animation-delay: 0.8s; opacity: 0.4; }
.amusicbackgr-p--18 { width: 3px; height: 3px; left: 8%;  bottom: -5%; animation-duration: 18s; animation-delay: 4.2s; opacity: 0.35; }
.amusicbackgr-p--19 { width: 2px; height: 2px; left: 15%; bottom: -5%; animation-duration: 11s; animation-delay: 7.5s; opacity: 0.5; }
.amusicbackgr-p--20 { width: 4px; height: 4px; left: 22%; bottom: -5%; animation-duration: 16s; animation-delay: 2.8s; opacity: 0.3; }
.amusicbackgr-p--21 { width: 2px; height: 2px; left: 28%; bottom: -5%; animation-duration: 14s; animation-delay: 5.2s; opacity: 0.45; }
.amusicbackgr-p--22 { width: 3px; height: 3px; left: 37%; bottom: -5%; animation-duration: 20s; animation-delay: 1.2s; opacity: 0.35; }
.amusicbackgr-p--23 { width: 2px; height: 2px; left: 43%; bottom: -5%; animation-duration: 12s; animation-delay: 6.8s; opacity: 0.5; }
.amusicbackgr-p--24 { width: 3px; height: 3px; left: 52%; bottom: -5%; animation-duration: 17s; animation-delay: 3.2s; opacity: 0.4; }
.amusicbackgr-p--25 { width: 2px; height: 2px; left: 58%; bottom: -5%; animation-duration: 15s; animation-delay: 8.5s; opacity: 0.3; }
.amusicbackgr-p--26 { width: 4px; height: 4px; left: 68%; bottom: -5%; animation-duration: 13s; animation-delay: 1.8s; opacity: 0.45; }
.amusicbackgr-p--27 { width: 2px; height: 2px; left: 73%; bottom: -5%; animation-duration: 19s; animation-delay: 5.8s; opacity: 0.35; }
.amusicbackgr-p--28 { width: 3px; height: 3px; left: 82%; bottom: -5%; animation-duration: 11s; animation-delay: 3.8s; opacity: 0.5; }
.amusicbackgr-p--29 { width: 2px; height: 2px; left: 88%; bottom: -5%; animation-duration: 16s; animation-delay: 7.2s; opacity: 0.4; }
.amusicbackgr-p--30 { width: 3px; height: 3px; left: 95%; bottom: -5%; animation-duration: 14s; animation-delay: 0.3s; opacity: 0.35; }
.amusicbackgr-p--31 { width: 2px; height: 2px; left: 45%; bottom: -5%; animation-duration: 22s; animation-delay: 9s;   opacity: 0.3; }
.amusicbackgr-p--32 { width: 3px; height: 3px; left: 75%; bottom: -5%; animation-duration: 10s; animation-delay: 4.8s; opacity: 0.55; }


/* ══════════════════════════════════════
   CARD
   ══════════════════════════════════════ */
.alogin-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(50px) saturate(1.3);
    -webkit-backdrop-filter: blur(50px) saturate(1.3);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 48px 40px 36px;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

/* Animated top-shine on card */
.alogin-card__shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,98,44,0.6), transparent);
    animation: al-shine 4s ease-in-out infinite;
}

/* Gradient border overlay */
.alogin-card__border {
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: linear-gradient(
        170deg,
        rgba(232,98,44,0.3) 0%,
        rgba(232,98,44,0.06) 20%,
        transparent 40%,
        transparent 70%,
        rgba(180,50,30,0.08) 100%
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

/* ══════════════════════════════════════
   LOGO
   ══════════════════════════════════════ */
.alogin-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    animation: al-fadeIn 0.8s 0.3s both;
}

.alogin-logo__ring {
    position: relative;
    width: 80px; height: 80px;
    margin-bottom: 16px;
}

.alogin-logo__ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: conic-gradient(
        from 0deg,
        rgba(232,98,44,0.5),
        rgba(180,50,30,0.3),
        rgba(255,140,60,0.5),
        rgba(232,98,44,0.1),
        rgba(180,50,30,0.5)
    );
    animation: al-ringRotate 6s linear infinite;
    filter: blur(3px);
    opacity: 0.7;
}

.alogin-logo__ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: inherit;
    filter: blur(16px);
    opacity: 0.3;
    animation: al-ringRotate 6s linear infinite;
}

.alogin-logo__img {
    position: relative;
    width: 80px; height: 80px;
    border-radius: 20px;
    object-fit: cover;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(232,98,44,0.25);
}

.alogin-logo__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    color: #fff;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 30%, rgba(232,140,80,0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.alogin-logo__sub {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

/* ══════════════════════════════════════
   EQUALIZER decoration
   ══════════════════════════════════════ */
.alogin-eq {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    height: 24px;
    margin-bottom: 32px;
    opacity: 0.15;
    animation: al-fadeIn 1s 0.5s both;
}

.alogin-eq span {
    display: block;
    width: 2px;
    border-radius: 1px;
    background: linear-gradient(to top, rgba(232,98,44,0.8), rgba(255,160,80,0.6));
    animation: al-eq 1.4s ease-in-out infinite;
}

.alogin-eq span:nth-child(1)  { height: 6px;  animation-delay: 0s; }
.alogin-eq span:nth-child(2)  { height: 14px; animation-delay: 0.08s; }
.alogin-eq span:nth-child(3)  { height: 9px;  animation-delay: 0.16s; }
.alogin-eq span:nth-child(4)  { height: 18px; animation-delay: 0.24s; }
.alogin-eq span:nth-child(5)  { height: 7px;  animation-delay: 0.32s; }
.alogin-eq span:nth-child(6)  { height: 22px; animation-delay: 0.12s; }
.alogin-eq span:nth-child(7)  { height: 11px; animation-delay: 0.28s; }
.alogin-eq span:nth-child(8)  { height: 16px; animation-delay: 0.04s; }
.alogin-eq span:nth-child(9)  { height: 8px;  animation-delay: 0.36s; }
.alogin-eq span:nth-child(10) { height: 20px; animation-delay: 0.2s; }
.alogin-eq span:nth-child(11) { height: 12px; animation-delay: 0.1s; }
.alogin-eq span:nth-child(12) { height: 24px; animation-delay: 0.3s; }
.alogin-eq span:nth-child(13) { height: 10px; animation-delay: 0.18s; }
.alogin-eq span:nth-child(14) { height: 15px; animation-delay: 0.06s; }
.alogin-eq span:nth-child(15) { height: 19px; animation-delay: 0.26s; }
.alogin-eq span:nth-child(16) { height: 7px;  animation-delay: 0.34s; }
.alogin-eq span:nth-child(17) { height: 21px; animation-delay: 0.14s; }
.alogin-eq span:nth-child(18) { height: 13px; animation-delay: 0.22s; }
.alogin-eq span:nth-child(19) { height: 17px; animation-delay: 0.02s; }
.alogin-eq span:nth-child(20) { height: 9px;  animation-delay: 0.38s; }
.alogin-eq span:nth-child(21) { height: 23px; animation-delay: 0.15s; }
.alogin-eq span:nth-child(22) { height: 11px; animation-delay: 0.25s; }
.alogin-eq span:nth-child(23) { height: 16px; animation-delay: 0.07s; }
.alogin-eq span:nth-child(24) { height: 8px;  animation-delay: 0.33s; }
.alogin-eq span:nth-child(25) { height: 20px; animation-delay: 0.19s; }
.alogin-eq span:nth-child(26) { height: 14px; animation-delay: 0.09s; }
.alogin-eq span:nth-child(27) { height: 18px; animation-delay: 0.29s; }
.alogin-eq span:nth-child(28) { height: 6px;  animation-delay: 0.37s; }
.alogin-eq span:nth-child(29) { height: 22px; animation-delay: 0.11s; }
.alogin-eq span:nth-child(30) { height: 10px; animation-delay: 0.21s; }

/* — error state (replaces equalizer bars) — */
.alogin-eq--error {
    height: auto;
    min-height: 24px;
    opacity: 1;
    gap: 0;
    padding: 8px 14px;
    margin-bottom: 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,82,82,0.12), rgba(232,98,44,0.08));
    border: 1px solid rgba(255,82,82,0.35);
    box-shadow: 0 0 18px rgba(255,82,82,0.18);
    animation: al-errShake 0.45s ease;
}
.alogin-eq--error span { display: none; }
.alogin-eq__msg {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #ff8a8a;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    line-height: 1.3;
}
@keyframes al-errShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* — layer hold (loading) state — */
layer[name="login"].hold .alogin-card {
    pointer-events: none;
}
layer[name="login"].hold .alogin-btn {
    opacity: 0.6;
    cursor: progress;
}
layer[name="login"].hold .alogin-btn__text {
    opacity: 0.7;
}
layer[name="login"].hold .alogin-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent);
    animation: al-holdSlide 1.1s linear infinite;
    z-index: 2;
}
@keyframes al-holdSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ══════════════════════════════════════
   FORM
   ══════════════════════════════════════ */
#aloginForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: al-fadeIn 0.8s 0.5s both;
}

/* ══ FIELD ══ */
.alogin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alogin-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    transition: color 0.3s;
}

.alogin-field:focus-within .alogin-label {
    color: rgba(232,140,80,0.7);
}

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

.alogin-ico {
    position: absolute;
    left: 16px;
    width: 18px; height: 18px;
    color: rgba(255,255,255,0.25);
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s;
}

.alogin-field:focus-within .alogin-ico {
    color: rgba(232,130,60,0.7);
}

/* mcFields overrides inside login card */
#aloginPhone,
#aloginPass {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
}

.alogin-card field {
    width: 100% !important;
    display: block !important;
    min-width: 0 !important;
}

.alogin-card field > row {
    padding: 0 !important;
}

.alogin-card field > row > st {
    display: none !important;
}

.alogin-card field > row > f > d > name {
    display: none !important;
}

.alogin-card field > row > f > d > name:before {
    display: none !important;
}

.alogin-card field[type="phone"] d.flag {
    left: 16px;
    border: none;
    border-radius: 3px;
    overflow: hidden;
    z-index: 6;
}

.alogin-card field[type="phone"] d.tel {
    width: 100%;
}

.alogin-card field[type="phone"] > row > f,
.alogin-card field[type="phone"] > row > f > d {
    width: 100%;
}

.alogin-card field input,
.alogin-card field[type="phone"] > row input {
    display: block;
    width: 100% !important;
    height: 52px !important;
    padding: 0 18px 0 48px !important;
    background: rgba(255,255,255,0.04) !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 14px !important;
    color: #f0f0f0 !important;
    font-size: 15px !important;
    font-family: inherit !important;
    outline: none !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: none !important;
    letter-spacing: normal !important;
}

.alogin-card field[type="phone"] > row input {
    padding: 0 18px 0 52px !important;
}

.alogin-card field input::placeholder {
    color: rgba(255,255,255,0.18) !important;
    font-weight: 400 !important;
    font-size: 15px !important;
}

.alogin-card field input:hover {
    border-color: rgba(255,255,255,0.14) !important;
    background: rgba(255,255,255,0.06) !important;
}

.alogin-card field input:focus {
    border-color: rgba(232,98,44,0.45) !important;
    background: rgba(255,255,255,0.07) !important;
    box-shadow:
        0 0 0 3px rgba(232,98,44,0.08),
        0 0 30px -5px rgba(232,98,44,0.1),
        inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.alogin-field--pass field input {
    font-size: 22px !important;
    letter-spacing: 0.15em !important;
}

/* Animated underline on focus */
.alogin-input__line {
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232,98,44,0.6), transparent);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.alogin-input input:focus ~ .alogin-input__line,
.alogin-field:focus-within .alogin-input__line {
    width: 80%;
    left: 10%;
}

/* ══ ERROR ══ */
.alogin-err {
    font-size: 13px;
    color: #ff5252;
    text-align: center;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s, opacity 0.3s, margin 0.3s;
}
.alogin-err.visible {
    max-height: 50px;
    opacity: 1;
    margin-top: -6px;
}

/* ══════════════════════════════════════
   BUTTON
   ══════════════════════════════════════ */
.alogin-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin-top: 8px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(135deg, #c06830 0%, #8b2a1a 50%, #2a1428 100%);
    transition: transform 0.2s, box-shadow 0.3s;
}

.alogin-btn__text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.alogin-btn__glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,180,100,0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.alogin-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(232,98,44,0.35),
        0 2px 8px rgba(232,98,44,0.2);
}

.alogin-btn:hover .alogin-btn__glow {
    opacity: 1;
}

.alogin-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(232,98,44,0.25);
}

/* Shimmer effect on button */
.alogin-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: al-btnShimmer 3s ease-in-out infinite;
}

/* ══════════════════════════════════════
   WAVE BARS (bottom decoration)
   ══════════════════════════════════════ */
.alogin-wave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 20px;
    margin-top: 32px;
    opacity: 0.2;
    animation: al-fadeIn 1.2s 0.8s both;
}

.alogin-wave span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(to top, #e8622c, #ff9a5c);
    animation: al-wave 1.3s ease-in-out infinite;
}

.alogin-wave span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.alogin-wave span:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.alogin-wave span:nth-child(3) { height: 9px;  animation-delay: 0.2s; }
.alogin-wave span:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.alogin-wave span:nth-child(5) { height: 12px; animation-delay: 0.15s; }
.alogin-wave span:nth-child(6) { height: 18px; animation-delay: 0.25s; }
.alogin-wave span:nth-child(7) { height: 8px;  animation-delay: 0.35s; }
.alogin-wave span:nth-child(8) { height: 15px; animation-delay: 0.05s; }
.alogin-wave span:nth-child(9) { height: 10px; animation-delay: 0.4s; }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.alogin-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    animation: al-fadeIn 1.2s 1s both;
}

.alogin-footer__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.alogin-footer__text {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.15);
    white-space: nowrap;
}

/* ══ Body footer copyright ══ */
.alogin-copy {
    position: fixed;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.08);
    font-family: inherit;
    z-index: 0;
    pointer-events: none;
}

/* ══════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════ */

/* Card entrance */
@keyframes al-cardEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes al-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Background orb movement */
@keyframes al-drift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(50px, -30px) scale(1.05); }
    50%  { transform: translate(-20px, 25px) scale(0.95); }
    75%  { transform: translate(30px, 15px) scale(1.02); }
}
@keyframes al-drift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(-35px, 40px) scale(1.03); }
    50%  { transform: translate(25px, -25px) scale(0.97); }
    75%  { transform: translate(-15px, -35px) scale(1.01); }
}
@keyframes al-drift3 {
    0%, 100% { transform: translate(0, 0); }
    33%  { transform: translate(30px, -35px); }
    66%  { transform: translate(-25px, 25px); }
}

/* Grid pulse */
@keyframes al-gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Film grain movement */
@keyframes al-noiseMove {
    0%   { transform: translate(0, 0); }
    33%  { transform: translate(-5px, 3px); }
    66%  { transform: translate(3px, -2px); }
    100% { transform: translate(0, 0); }
}

/* Logo ring rotation */
@keyframes al-ringRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Card top shine */
@keyframes al-shine {
    0%, 100% { left: -100%; opacity: 0; }
    50%  { left: 100%; opacity: 1; }
}

/* Floating particles */
@keyframes al-float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-100vh) translateX(30px) scale(0.5);
        opacity: 0;
    }
}

/* Equalizer bars */
@keyframes al-eq {
    0%, 100% { transform: scaleY(0.3); }
    50%  { transform: scaleY(1); }
}

/* Wave bars */
@keyframes al-wave {
    0%, 100% { transform: scaleY(1); }
    50%  { transform: scaleY(0.3); }
}

/* Button shimmer */
@keyframes al-btnShimmer {
    0%, 70%, 100% { left: -100%; opacity: 0; }
    35%  { left: 120%; opacity: 1; }
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 480px) {
    .alogin-card {
        padding: 36px 24px 28px;
    }
    .alogin-logo__ring { width: 64px; height: 64px; }
    .alogin-logo__img { width: 64px; height: 64px; border-radius: 16px; }
    .alogin-logo__ring::before,
    .alogin-logo__ring::after { inset: -3px; border-radius: 18px; }
    .alogin-logo__title { font-size: 20px; }
    .alogin-card field input { height: 48px !important; font-size: 14px !important; }
    .alogin-btn { height: 48px; }
    .alogin-eq { height: 18px; margin-bottom: 26px; }
    .alogin-eq span { width: 1.5px; }
}

@media (max-height: 700px) {
    .alogin-logo { margin-bottom: 18px; }
    .alogin-logo__ring { width: 60px; height: 60px; }
    .alogin-logo__img { width: 60px; height: 60px; }
    .alogin-card { padding: 28px 24px 24px; }
    #aloginForm { gap: 14px; }
    .alogin-eq { height: 16px; margin-bottom: 22px; }
    .alogin-wave { margin-top: 20px; }
    .alogin-footer { margin-top: 14px; }
}

@media (max-height: 580px) {
    .alogin-eq { display: none; }
    .alogin-wave { display: none; }
    .alogin-footer { display: none; }
    .alogin-logo { margin-bottom: 14px; }
    .alogin-logo__sub { display: none; }
}

/* ══ Layer overrides ══ */
html.lt_mc-login layer wrap,
html.lt_mc-login layer content {
    background: transparent !important;
}

html.lt_mc-login layer content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

@media (max-width: 430px) {
    html.lt_mc-login layer content {
        align-items: flex-end;
        padding: 0;
    }
}

html.lt_mc-login layer[name="login"] wrap {
    align-items: flex-end;
    display: block!important;
}

@media (min-width: 431px) {
    html.lt_mc-login layer[name="login"] wrap {
        align-items: center;
    }
}

/* ══ Reduced motion ══ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
