:root {
    --auth-ink: #0A0908;
    --auth-plum: #181714;
    --auth-violet: #C89B33;
    --auth-lavender: #EFDCAC;
    --auth-gold: #f0c66f;
}

body.auth-page {
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 12%, rgba(224, 198, 125, .20), transparent 30%),
        radial-gradient(circle at 86% 84%, rgba(240, 198, 111, .15), transparent 28%),
        linear-gradient(145deg, #1D1D1B 0%, #181714 52%, #1C1B19 100%) !important;
}

body.auth-page::before {
    content: '';
    position: fixed;
    z-index: -2;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(245, 237, 214, .13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 237, 214, .13) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
    pointer-events: none;
}

body.auth-page::after {
    content: '';
    position: fixed;
    z-index: -1;
    width: 460px;
    height: 460px;
    left: calc(50% - 230px);
    top: calc(50% - 230px);
    border-radius: 50%;
    background: conic-gradient(from 30deg, rgba(200, 155, 51, .18), rgba(217, 137, 208, .13), rgba(240, 198, 111, .11), rgba(200, 155, 51, .18));
    filter: blur(58px);
    animation: auth-aurora 13s ease-in-out infinite;
    pointer-events: none;
}

.auth-card {
    border-color: rgba(255, 255, 255, .84) !important;
    background: rgba(255, 255, 255, .955) !important;
    box-shadow: 0 38px 90px rgba(17, 17, 16, .46), 0 1px 0 rgba(255, 255, 255, .9) inset !important;
    animation: auth-card-enter .7s cubic-bezier(.2, .8, .2, 1) both;
}

.auth-logo {
    animation: auth-logo-float 5s ease-in-out infinite;
    filter: drop-shadow(0 12px 20px rgba(115, 94, 38, .20));
}

.auth-page input:not([type="checkbox"]):focus {
    box-shadow: 0 0 0 4px rgba(200, 155, 51, .12);
}

.auth-page .btn-shimmer {
    box-shadow: 0 16px 34px rgba(190, 156, 62, .27);
}

.auth-page .btn-shimmer:hover {
    box-shadow: 0 20px 42px rgba(190, 156, 62, .36);
}

.register-highlight-panel {
    background:
        radial-gradient(circle at 88% 10%, rgba(217, 137, 208, .20), transparent 30%),
        linear-gradient(140deg, rgba(126, 106, 52, .97), rgba(67, 62, 48, .98) 58%, rgba(36, 35, 33, .98)) !important;
    border-color: rgba(231, 210, 153, .34) !important;
    box-shadow: 0 28px 65px rgba(22, 21, 19, .32) !important;
    animation: register-panel-enter .72s .08s cubic-bezier(.2, .8, .2, 1) both;
}

.register-info-panel {
    background: linear-gradient(145deg, rgba(74, 69, 54, .96), rgba(48, 44, 34, .97)) !important;
    border-color: rgba(225, 199, 128, .30) !important;
    box-shadow: 0 24px 54px rgba(23, 22, 20, .26) !important;
    animation: register-panel-enter .72s .16s cubic-bezier(.2, .8, .2, 1) both;
}

.register-info-panel .earning-chip,
.register-info-panel .tier-card {
    border-color: rgba(245, 237, 214, .20) !important;
    background-color: rgba(255, 255, 255, .055) !important;
}

.register-info-panel .earning-chip:hover,
.register-info-panel .tier-card:hover {
    border-color: rgba(240, 198, 111, .58) !important;
    background-color: rgba(255, 255, 255, .085) !important;
}

@keyframes auth-aurora {
    0%, 100% { transform: translate3d(-14%, -7%, 0) scale(1); }
    50% { transform: translate3d(18%, 10%, 0) scale(1.2) rotate(16deg); }
}

@keyframes auth-card-enter {
    from { opacity: 0; transform: translateY(24px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes auth-logo-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-7px) rotate(.8deg); }
}

@keyframes register-panel-enter {
    from { opacity: 0; transform: translateX(22px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    body.auth-page::after,
    .auth-card,
    .auth-logo,
    .register-highlight-panel,
    .register-info-panel {
        animation: none !important;
    }
}
