/* PeraSignage Login Experience V8
   Görsel katmandır; mevcut auth API ve form davranışlarına dokunmaz. */

body.auth-pending,
body.auth-required {
    background: #06162d;
}

.auth-gate {
    --login-blue: #1f7cff;
    --login-cyan: #20d7ff;
    --login-violet: #7656ff;
    --login-purple: #9b4dff;
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    display: block !important;
    overflow: auto !important;
    padding: 0 !important;
    background:
        radial-gradient(circle at 21% 20%, rgba(24, 110, 255, .18), transparent 28%),
        radial-gradient(circle at 57% 72%, rgba(113, 62, 255, .20), transparent 32%),
        radial-gradient(circle at 82% 32%, rgba(20, 177, 255, .08), transparent 26%),
        linear-gradient(120deg, #031226 0%, #071a38 48%, #0a1e43 100%) !important;
    color: #fff;
    isolation: isolate;
}

.auth-gate[hidden] {
    display: none !important;
}

.auth-gate::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    pointer-events: none !important;
    opacity: .32 !important;
    background-image:
        linear-gradient(rgba(96, 147, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 147, 255, .04) 1px, transparent 1px) !important;
    background-size: 56px 56px !important;
    mask-image: linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.2) 68%, transparent 88%);
}

.auth-gate::after {
    content: "";
    position: fixed;
    left: -12vw;
    bottom: -30vh;
    width: 78vw;
    height: 62vh;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(76, 64, 255, .20), transparent 58%),
        radial-gradient(ellipse at 62% 40%, rgba(10, 149, 255, .12), transparent 52%);
    filter: blur(20px);
}

.pera-login-shell {
    position: relative;
    z-index: 2;
    width: min(1640px, calc(100vw - 72px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: clamp(42px, 5vw, 92px);
    padding: 48px 0;
}

.pera-login-hero {
    position: relative;
    min-width: 0;
    min-height: 660px;
    display: grid;
    grid-template-columns: minmax(330px, .84fr) minmax(430px, 1.16fr);
    align-items: center;
    gap: clamp(18px, 3vw, 58px);
}

.pera-login-copy {
    position: relative;
    z-index: 5;
    align-self: center;
    padding-left: clamp(4px, 1.4vw, 22px);
}

.pera-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 44px;
    color: #fff;
    font-size: clamp(28px, 2.2vw, 40px);
    font-weight: 850;
    letter-spacing: -.04em;
}

.pera-login-brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(6, 19, 49, .98), rgba(14, 28, 66, .86));
    border: 1px solid rgba(112, 150, 255, .24);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .26), 0 0 34px rgba(76, 103, 255, .13);
}

.pera-login-brand-mark::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(24, 216, 255, .55), rgba(129, 69, 255, .65));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.pera-login-brand-mark img {
    width: 49px;
    height: 49px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(87, 76, 255, .22));
}

.pera-login-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #90a8d4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .20em;
}

.pera-login-eyebrow span {
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, var(--login-cyan), var(--login-violet));
    box-shadow: 0 0 12px rgba(62, 162, 255, .8);
}

.pera-login-copy h1 {
    max-width: 610px;
    margin: 0;
    color: #f8fbff;
    font-size: clamp(42px, 4.2vw, 72px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 860;
}

.pera-login-copy h1 em {
    font-style: normal;
    color: transparent;
    background: linear-gradient(100deg, #64b6ff 2%, #5268ff 47%, #9a55ff 96%);
    -webkit-background-clip: text;
    background-clip: text;
}

.pera-login-copy > p {
    max-width: 590px;
    margin: 24px 0 0;
    color: #b6c5e0;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.75;
}

.pera-login-features {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
}

.pera-login-features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(122, 158, 226, .18);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(20, 47, 91, .62), rgba(10, 31, 66, .54));
    color: #dce7fa;
    font-size: 11px;
    font-weight: 720;
    box-shadow: inset 0 1px rgba(255, 255, 255, .035);
    backdrop-filter: blur(10px);
}

.pera-login-features svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #4f94ff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pera-login-visual {
    --mx: 0px;
    --my: 0px;
    position: relative;
    z-index: 3;
    width: min(100%, 650px);
    height: 640px;
    justify-self: center;
    transform: translate3d(var(--mx), var(--my), 0);
    transition: transform .22s ease-out;
}

.pera-login-glow {
    position: absolute;
    left: 44%;
    top: 46%;
    width: 460px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 83, 255, .25), rgba(104, 55, 255, .08) 44%, transparent 70%);
    filter: blur(28px);
    pointer-events: none;
}

.pera-login-orbit {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    border: 1px solid rgba(87, 121, 255, .10);
}

.pera-login-orbit-one {
    width: 720px;
    height: 320px;
    right: -70px;
    bottom: 68px;
    transform: rotate(-14deg);
}

.pera-login-orbit-two {
    width: 500px;
    height: 500px;
    right: 80px;
    top: 58px;
    border-color: rgba(132, 80, 255, .08);
}

.pera-login-connection-lines {
    position: absolute;
    left: 30px;
    top: 180px;
    width: 540px;
    height: 330px;
    opacity: .52;
    background:
        radial-gradient(circle at 18% 18%, #28a9ff 0 2px, transparent 3px),
        radial-gradient(circle at 72% 12%, #7457ff 0 2px, transparent 3px),
        radial-gradient(circle at 94% 68%, #a34dff 0 2px, transparent 3px),
        radial-gradient(circle at 42% 78%, #147cff 0 2px, transparent 3px);
}

.pera-login-connection-lines::before,
.pera-login-connection-lines::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border-top: 1px solid rgba(66, 129, 255, .24);
    transform: rotate(18deg);
}

.pera-login-connection-lines::after {
    inset: 50px 15px -20px 70px;
    border-color: rgba(128, 78, 255, .22);
    transform: rotate(-24deg);
}

.pera-login-screen-stack,
.pera-login-screen {
    position: absolute;
    width: 386px;
    height: 246px;
    border-radius: 17px;
    border: 1px solid rgba(95, 105, 255, .42);
    background: rgba(18, 29, 73, .54);
    transform: perspective(900px) rotateY(-7deg) rotateX(1deg);
}

.pera-login-screen-stack.stack-3 {
    left: 155px;
    top: 246px;
    opacity: .30;
    transform: perspective(900px) translate(64px, -26px) rotateY(-7deg);
}

.pera-login-screen-stack.stack-2 {
    left: 155px;
    top: 246px;
    opacity: .52;
    transform: perspective(900px) translate(34px, -14px) rotateY(-7deg);
}

.pera-login-screen {
    left: 155px;
    top: 246px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(13, 30, 71, .96), rgba(9, 19, 50, .98));
    border-color: rgba(84, 109, 255, .72);
    box-shadow: 0 34px 70px rgba(0, 0, 0, .35), 0 0 50px rgba(75, 62, 255, .15);
    animation: pera-screen-float 6s ease-in-out infinite;
}

.pera-screen-top {
    height: 25px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(130, 153, 255, .12);
}

.pera-screen-top span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(150, 173, 224, .36);
}

.pera-screen-content {
    position: relative;
    overflow: hidden;
    height: 184px;
    background: linear-gradient(#121f56 0%, #28316f 44%, #192043 100%);
}

.pera-screen-sky {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 66% 18%, rgba(236, 121, 255, .62), transparent 19%),
        radial-gradient(circle at 52% 18%, rgba(82, 136, 255, .58), transparent 24%),
        linear-gradient(180deg, #10194c, #3a3278 50%, #121a3c);
}

.pera-screen-mountain {
    position: absolute;
    bottom: 34px;
    width: 72%;
    height: 88px;
    background: linear-gradient(150deg, #18234f, #070d25 72%);
    clip-path: polygon(0 100%, 14% 62%, 27% 79%, 42% 29%, 56% 67%, 71% 12%, 86% 66%, 100% 44%, 100% 100%);
}

.pera-screen-mountain.mountain-one { left: -18px; }
.pera-screen-mountain.mountain-two { right: -24px; transform: scaleX(-1); opacity: .88; }

.pera-screen-shore {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 54px;
    background:
        linear-gradient(180deg, rgba(41, 46, 101, .35), rgba(8, 14, 38, .94)),
        radial-gradient(ellipse at 52% 0%, rgba(189, 97, 255, .30), transparent 50%);
}

.pera-screen-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(8, 21, 55, .62);
    border: 1px solid rgba(157, 178, 255, .34);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24), 0 0 22px rgba(67, 91, 255, .18);
    backdrop-filter: blur(8px);
}

.pera-screen-play i {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #fff;
}

.pera-screen-bottom {
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    color: #b4c6e6;
    font-size: 9px;
}

.pera-screen-bottom b {
    color: #9fdac1;
    font-size: 8px;
    font-weight: 700;
}

.pera-screen-bottom b i,
.pera-login-stat-body b i {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 3px;
    border-radius: 50%;
    background: #35dc9a;
    box-shadow: 0 0 10px rgba(53, 220, 154, .7);
}

.pera-login-stat-card,
.pera-login-network-card,
.pera-login-schedule-card,
.pera-login-playlist-card {
    position: absolute;
    border: 1px solid rgba(99, 123, 244, .26);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(22, 40, 89, .83), rgba(13, 25, 64, .72));
    box-shadow: 0 22px 50px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .025);
    backdrop-filter: blur(14px);
}

.pera-login-stat-card {
    left: 72px;
    top: 72px;
    width: 190px;
    padding: 13px;
    transform: rotate(4deg);
    animation: pera-card-float-one 6.5s ease-in-out infinite;
}

.pera-login-network-card {
    right: 36px;
    top: 90px;
    width: 166px;
    height: 116px;
    transform: rotate(4deg);
    animation: pera-card-float-two 7.2s ease-in-out infinite;
}

.pera-login-float-label {
    display: flex;
    justify-content: space-between;
    color: #d9e4fa;
    font-size: 10px;
    font-weight: 750;
}

.pera-login-float-label span {
    color: #7187b7;
    font-size: 7px;
    font-weight: 650;
}

.pera-login-stat-body {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 12px;
}

.pera-login-donut {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: conic-gradient(#2d93ff 0 47%, #6c52ff 47% 76%, rgba(90, 112, 170, .18) 76%);
}

.pera-login-donut::after {
    content: "";
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: #102657;
    box-shadow: inset 0 0 12px rgba(0,0,0,.18);
}

.pera-login-stat-body > div:last-child {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2px 7px;
}

.pera-login-stat-body small {
    color: #6e85b5;
    font-size: 7px;
}

.pera-login-stat-body strong {
    color: #fff;
    font-size: 14px;
}

.pera-login-stat-body b {
    color: #8fdcc0;
    font-size: 10px;
}

.pera-login-network-card .n {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2f8fff;
    box-shadow: 0 0 12px rgba(47,143,255,.8);
    z-index: 2;
}

.pera-login-network-card .n1 { left: 24px; top: 47px; }
.pera-login-network-card .n2 { left: 64px; top: 26px; background: #6575ff; }
.pera-login-network-card .n3 { left: 92px; top: 62px; background: #8a57ff; }
.pera-login-network-card .n4 { right: 22px; top: 32px; background: #33caff; }
.pera-login-network-card .n5 { left: 52px; bottom: 20px; background: #2ed2c0; }
.pera-login-network-card .n6 { right: 31px; bottom: 18px; background: #ab50ff; }

.pera-login-network-card .l {
    position: absolute;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(66, 143, 255, .55), rgba(126, 85, 255, .24));
}

.pera-login-network-card .l1 { left: 28px; top: 49px; width: 42px; transform: rotate(-26deg); }
.pera-login-network-card .l2 { left: 67px; top: 30px; width: 42px; transform: rotate(50deg); }
.pera-login-network-card .l3 { left: 95px; top: 62px; width: 48px; transform: rotate(-41deg); }
.pera-login-network-card .l4 { left: 56px; bottom: 23px; width: 50px; transform: rotate(-26deg); }
.pera-login-network-card .l5 { left: 95px; top: 66px; width: 50px; transform: rotate(31deg); }

.pera-login-schedule-card {
    left: 15px;
    bottom: 52px;
    width: 212px;
    padding: 14px;
    transform: rotate(-6deg);
    animation: pera-card-float-two 7.6s ease-in-out infinite reverse;
}

.schedule-row {
    display: grid;
    grid-template-columns: 34px 6px 1fr;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    color: #a8badb;
}

.schedule-row time { color: #7f95be; font-size: 8px; }
.schedule-row span { width: 5px; height: 5px; border-radius: 50%; }
.schedule-row span.green { background: #38d99c; }
.schedule-row span.orange { background: #ff8862; }
.schedule-row span.purple { background: #a254ff; }
.schedule-row b { font-size: 8px; font-weight: 650; }

.pera-login-playlist-card {
    right: 12px;
    bottom: 34px;
    width: 220px;
    padding: 14px;
    transform: rotate(3deg);
    animation: pera-card-float-one 7.4s ease-in-out infinite reverse;
}

.playlist-row {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    gap: 8px;
    align-items: center;
    margin-top: 9px;
    color: #aabadd;
    font-size: 8px;
}

.playlist-row time { color: #627aab; font-size: 7px; }
.playlist-row .thumb {
    width: 30px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(140deg, #283b86, #6a3b91 58%, #0e173f);
}
.playlist-row .thumb.t2 { background: linear-gradient(140deg, #17325b, #395794 55%, #bf5cae); }
.playlist-row .thumb.t3 { background: linear-gradient(140deg, #132949, #416ed1 45%, #772881); }

.pera-data-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3998ff;
    box-shadow: 0 0 14px rgba(57, 152, 255, .9);
    animation: pera-data-pulse 2.8s ease-in-out infinite;
}
.pera-data-dot.dot-1 { left: 44px; top: 270px; }
.pera-data-dot.dot-2 { left: 300px; top: 198px; animation-delay: .8s; }
.pera-data-dot.dot-3 { right: 18px; top: 316px; background: #9b50ff; animation-delay: 1.2s; }
.pera-data-dot.dot-4 { right: 100px; bottom: 116px; background: #37d9ca; animation-delay: 1.7s; }

/* Login kartı */
.auth-card {
    position: relative !important;
    z-index: 8 !important;
    width: 100% !important;
    max-width: 390px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 28px 28px 24px !important;
    border: 1px solid rgba(255, 255, 255, .88) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .965) !important;
    color: #172033 !important;
    box-shadow: 0 32px 90px rgba(1, 10, 31, .36), 0 1px 0 rgba(255,255,255,.7) inset !important;
    backdrop-filter: blur(20px) !important;
    transform: translateZ(0);
}

.auth-card::before,
.auth-card::after {
    display: none !important;
}

.auth-brand {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    margin: 0 0 25px !important;
}

.auth-brand img {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    object-fit: contain !important;
    box-shadow: 0 9px 22px rgba(38, 74, 160, .13) !important;
}

.auth-brand-name {
    color: #111a2c !important;
    font-size: 18px !important;
    font-weight: 850 !important;
    letter-spacing: -.035em !important;
}

.auth-tabs {
    margin: -7px 0 18px !important;
    padding: 3px !important;
    border: 1px solid #e5eaf2 !important;
    border-radius: 10px !important;
    background: #f5f7fb !important;
}

.auth-tab {
    min-height: 34px !important;
    border-radius: 8px !important;
    color: #667085 !important;
    font-weight: 750 !important;
}

.auth-tab.active {
    background: #fff !important;
    color: #182032 !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .06) !important;
}

.auth-form {
    gap: 16px !important;
}

.auth-field {
    position: relative;
}

.auth-field label {
    display: block !important;
    margin-bottom: 7px !important;
    color: #344054 !important;
    font-size: 10px !important;
    font-weight: 760 !important;
}

.auth-field input {
    width: 100% !important;
    height: 43px !important;
    padding: 0 13px !important;
    border: 1px solid #d9e0ea !important;
    border-radius: 9px !important;
    outline: none !important;
    background: #fbfcfe !important;
    color: #111827 !important;
    font-size: 13px !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .02) inset !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.auth-field input:hover {
    border-color: #c8d2df !important;
    background: #fff !important;
}

.auth-field input:focus {
    border-color: #2d7cff !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(31, 124, 255, .11) !important;
}

.pera-password-field input {
    padding-right: 44px !important;
}

.pera-password-toggle {
    position: absolute;
    right: 8px;
    bottom: 6px;
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
}

.pera-password-toggle:hover,
.pera-password-toggle.active {
    background: #f1f5fb;
    color: #347cff;
}

.pera-password-toggle svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-submit,
.auth-submit-button {
    width: 100% !important;
    min-height: 43px !important;
    margin-top: 2px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: linear-gradient(100deg, #1478ff, #236fff 55%, #5d5cff) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 820 !important;
    letter-spacing: -.01em !important;
    box-shadow: 0 10px 20px rgba(24, 110, 255, .19) !important;
    cursor: pointer !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.auth-submit:hover,
.auth-submit-button:hover {
    transform: translateY(-1px) !important;
    filter: saturate(1.08) !important;
    box-shadow: 0 13px 26px rgba(24, 110, 255, .25) !important;
}

.auth-submit:active,
.auth-submit-button:active {
    transform: translateY(0) !important;
}

.auth-support-line {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin-top: 17px !important;
    padding-top: 15px !important;
    border-top: 1px solid #edf0f5 !important;
    color: #98a2b3 !important;
    font-size: 8px !important;
    text-align: center !important;
}

.auth-support-line a,
.auth-card a {
    color: #1977ff !important;
    font-weight: 760 !important;
    text-decoration: none !important;
}

.auth-support-line a:hover,
.auth-card a:hover {
    text-decoration: underline !important;
}

.auth-message {
    margin-bottom: 13px !important;
    border-radius: 8px !important;
    font-size: 10px !important;
}

.auth-loading-copy {
    color: #667085 !important;
}

#auth-loading-view {
    color: #172033 !important;
    font-size: 13px !important;
}

@keyframes pera-screen-float {
    0%, 100% { transform: perspective(900px) translateY(0) rotateY(-7deg) rotateX(1deg); }
    50% { transform: perspective(900px) translateY(-7px) rotateY(-7deg) rotateX(1deg); }
}

@keyframes pera-card-float-one {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
}

@keyframes pera-card-float-two {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 8px; }
}

@keyframes pera-data-pulse {
    0%, 100% { opacity: .25; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1.4); }
}

@media (max-width: 1420px) {
    .pera-login-shell {
        width: min(1380px, calc(100vw - 50px));
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 34px;
    }

    .pera-login-hero {
        grid-template-columns: minmax(310px, .95fr) minmax(350px, 1.05fr);
        min-height: 610px;
    }

    .pera-login-visual {
        transform: translate3d(var(--mx), var(--my), 0) scale(.88);
        transform-origin: center;
    }
}

@media (max-width: 1160px) {
    .pera-login-shell {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 30px;
    }

    .pera-login-hero {
        display: block;
        min-height: 560px;
    }

    .pera-login-copy {
        width: min(540px, 100%);
        padding-top: 70px;
    }

    .pera-login-copy h1 {
        font-size: clamp(44px, 5vw, 60px);
    }

    .pera-login-visual {
        position: absolute;
        right: -80px;
        bottom: -80px;
        opacity: .30;
        transform: scale(.76);
        transform-origin: bottom right;
        pointer-events: none;
    }

    .pera-login-brand {
        margin-bottom: 34px;
    }
}

@media (max-width: 900px) {
    .auth-gate {
        min-height: 100svh !important;
    }

    .pera-login-shell {
        width: min(92vw, 430px);
        min-height: 100svh;
        grid-template-columns: 1fr;
        align-content: center;
        padding: 28px 0;
    }

    .pera-login-hero {
        display: none;
    }

    .auth-card {
        max-width: 430px !important;
    }
}

@media (max-width: 480px) {
    .pera-login-shell {
        width: min(94vw, 410px);
    }

    .auth-card {
        padding: 23px 20px 20px !important;
        border-radius: 17px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pera-login-screen,
    .pera-login-stat-card,
    .pera-login-network-card,
    .pera-login-schedule-card,
    .pera-login-playlist-card,
    .pera-data-dot {
        animation: none !important;
    }

    .pera-login-visual {
        transition: none !important;
    }
}
