/* From Uiverse.io by EddyBel */
.loader {
    position: relative;
    display: flex;
    gap: 0.3em;
}

.loader::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2em;
    filter: blur(45px);
    background-color: #e299ff;
    background-image: radial-gradient(at 52% 57%, hsla(11, 83%, 72%, 1) 0px, transparent 50%),
        radial-gradient(at 37% 57%, hsla(175, 78%, 66%, 1) 0px, transparent 50%);
}

.loader__circle {
    --size__loader: 0.6em;
    width: var(--size__loader);
    height: var(--size__loader);
    border-radius: 50%;
    animation: loader__circle__jumping 2s infinite;
    background-color: #b499ff;
}

.loader__circle:nth-child(2n) {
    animation-delay: 300ms;
    background-color: #e499ff;
}

.loader__circle:nth-child(3n) {
    animation-delay: 600ms;
}

@keyframes loader__circle__jumping {

    0%,
    100% {
        transform: translateY(0px);
    }

    25% {
        transform: translateY(-15px) scale(0.5);
    }

    50% {
        transform: translateY(0px);
    }

    75% {
        transform: translateY(5px) scale(0.9);
    }
}

/* === SEARCH BAR PREMIUM RESTORATION === */
#poda {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 15px auto;
    width: 100%;
    padding: 0 10px;
    height: 42px;
    /* Fixed height for consistency */
}

.white,
.border,
.darkBorderBg,
.glow {
    max-height: 42px;
    height: 100%;
    width: calc(100% - 20px);
    position: absolute;
    overflow: hidden;
    z-index: 1;
    /* Above background, below input */
    border-radius: 10px;
    filter: blur(2px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#main {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.input {
    background-color: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    width: 100%;
    height: 42px;
    border-radius: 10px;
    color: var(--text-primary);
    padding-left: 45px;
    padding-right: 50px;
    font-size: 15px;
    position: relative;
    z-index: 3;
}

#input-mask {
    pointer-events: none;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(90deg, transparent, #010201 90%);
    border-radius: 10px;
    z-index: 4;
}

#pink-mask {
    pointer-events: none;
    width: 30px;
    height: 100%;
    position: absolute;
    background: #cf30aa;
    filter: blur(15px);
    opacity: 0.8;
    right: 10px;
    z-index: 4;
    transition: all 2s;
}

#poda:focus-within #pink-mask {
    opacity: 0;
}

#search-icon {
    position: absolute;
    left: 15px;
    z-index: 5;
    pointer-events: none;
}

#filter-icon {
    position: absolute;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    height: 30px;
    width: 30px;
    border-radius: 8px;
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

body:not(.dark-mode) .white::before,
body:not(.dark-mode) .border::before,
body:not(.dark-mode) .darkBorderBg::before,
body:not(.dark-mode) .glow:before,
body:not(.dark-mode) #pink-mask,
body:not(.dark-mode) #input-mask,
body:not(.dark-mode) #pink-mask,
body:not(.dark-mode) #input-mask {
    display: none !important;
}

body:not(.dark-mode) #poda {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
}

body.dark-mode #input-mask {
    background: linear-gradient(90deg, transparent, var(--sidebar-bg) 90%);
}

#input-mask,
#pink-mask {
    transition: opacity 0.3s ease;
}

/* Background Gradients for Search Bar Layers */
.white::before,
.border::before,
.darkBorderBg::before,
.glow:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
}

.white::before {
    transform: translate(-50%, -50%) rotate(83deg);
    background-image: conic-gradient(rgba(0, 0, 0, 0) 0%, #a099d8, rgba(0, 0, 0, 0) 8%, rgba(0, 0, 0, 0) 50%, #dfa2da, rgba(0, 0, 0, 0) 58%);
}

.border::before {
    transform: translate(-50%, -50%) rotate(70deg);
    background-image: conic-gradient(#1c191c, #402fb5 5%, #1c191c 14%, #1c191c 50%, #cf30aa 60%, #1c191c 64%);
}

.darkBorderBg::before {
    transform: translate(-50%, -50%) rotate(82deg);
    background-image: conic-gradient(rgba(0, 0, 0, 0), #18116a, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 50%, #6e1b60, rgba(0, 0, 0, 0) 60%);
}

.glow:before {
    transform: translate(-50%, -50%) rotate(60deg);
    background-image: conic-gradient(#000, #402fb5 5%, #000 38%, #000 50%, #cf30aa 60%, #000 87%);
}

/* Premium Search Bar Loop Animation */
@keyframes rotate-premium {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

#poda:focus-within .white::before,
#poda:focus-within .border::before,
#poda:focus-within .darkBorderBg::before,
#poda:focus-within .glow::before {
    animation: rotate-premium 4s linear infinite;
}

/* === APP WALLPAPER SYSTEM === */
#app-wallpaper-bg {
    position: fixed !important;
    inset: 0;
    top: 0;
    left: 0;
    z-index: -9999 !important;
    /* Move above body but below #app */
    pointer-events: none !important;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    width: 100vw;
    height: 100vh;
}

.wallpaper-grid {
    padding: 10px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-bottom: 80px;
}

body.global-wallpaper-active {
    background: transparent !important;
    background-color: transparent !important;
}

body.global-wallpaper-active .chat-layout,
body.global-wallpaper-active .chat-main {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Base class for all wallpapers to ensure full screen coverage */
/* Base class for all wallpapers to ensure full screen coverage */
/* Base class for all wallpapers to ensure full screen coverage - REMOVED redundant/dangerous selectors */
/* #app-wallpaper-bg handles the sizing and pointer-events safely. */

/* Specific Wallpapers */
.wallpaper-strips {
    background: linear-gradient(to bottom, #fff 0%, #fff 40%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(to right, #0ed2da, #5f29c7) !important;
}

.wallpaper-strips::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, #ccc 1px, transparent 1px);
    background-size: 50px 100%;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
}

.wallpaper-choco {
    background:
        conic-gradient(from -135deg at 6.5% 90%, #996349 0 15%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from 135deg at 93.5% 90%, #2a0b00 0 37.5%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from 45deg at 93.5% 10%, #2a0b00 0 37.5%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from -180deg at 6.5% 10%, #996349 0 37.5%, #612f0e 0 75%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from 0deg at 88% 82%, #7b4028 0 75%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from -180deg at 12% 18%, #7b4028 0 75%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from -135deg at 20% 70%, #2a0b00 0 15%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from 135deg at 80% 70%, #612f0e 0 37.5%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from 45deg at 80% 30%, #c1a095 0 37.5%, #fff0 0 100%) 50% / 200px 133.3px,
        conic-gradient(from -180deg at 20% 30%, #2a0b00 0 37.5%, #4c230e 0 75%, #fff0 0 100%) 50% / 200px 133.3px,
        #693319 !important;
    background-size: 200px 133.3px !important;
}

.wallpaper-chocolite {
    background: linear-gradient(45deg, white 12%, transparent 0, transparent 88%, wheat 0),
        linear-gradient(135deg, transparent 37%, #753 0, #753 63%, transparent 0),
        linear-gradient(45deg, transparent 37%, white 0, white 63%, transparent 0) wheat !important;
    background-size: 80px 80px !important;
    animation: chocolite-ani 10s linear infinite;
    will-change: background-position;
}

@keyframes chocolite-ani {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 80px 80px;
    }
}

.wallpaper-bubble {
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%) !important;
    position: relative !important;
}

.bubble-sphere {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1) 60%);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(1px);
    animation: float-bubble linear infinite;
    pointer-events: none;
    will-change: transform;
}

@keyframes float-bubble {
    0% {
        transform: translateY(110vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-10vh) translateX(20px);
        opacity: 0;
    }
}

#stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#stars-canvas {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 501px 811px #fff, 1450px 1324px #fff, 1093px 1780px #fff, 1469px 678px #fff, 904px 741px #fff, 1160px 781px #fff, 1841px 1962px #fff, 1630px 1667px #fff, 1788px 676px #fff, 367px 1734px #fff, 1343px 156px #fff, 1283px 1142px #fff, 1062px 378px #fff, 1395px 467px #fff, 1017px 1891px #fff, 137px 1114px #fff, 1767px 1403px #fff, 1543px 11px #fff, 1078px 181px #fff, 1189px 1574px #fff, 1697px 1551px #fff, 439px 472px #fff, 1491px 677px #fff, 1364px 599px #fff;
    animation: animStar 50s linear infinite;
}

#stars-canvas:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: inherit;
}

@keyframes animStar {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-2000px);
    }
}

.wallpaper-matrix {
    background: #000 !important;
    display: flex !important;
}

.wallpaper-crossbox {
    background: linear-gradient(135deg, #0000 18.75%, #3b82f6 0 31.25%, #0000 0),
        linear-gradient(45deg, #0000 18.75%, #3b82f6 0 31.25%, #0000 0),
        linear-gradient(135deg, #0000 18.75%, #3b82f6 0 31.25%, #0000 0),
        linear-gradient(45deg, #0000 18.75%, #3b82f6 0 31.25%, #0000 0) !important;
    background-size: 60px 60px !important;
    background-position: 0 0, 0 0, 30px 30px, 30px 30px !important;
    animation: crossbox-slide 4s linear infinite;
    will-change: background-position;
}

@keyframes crossbox-slide {
    to {
        background-position: 60px 0, 60px 0, 90px 30px, 90px 30px !important;
    }
}

.wallpaper-dots {
    background-color: #000 !important;
    --c: #0f4;
    background-image: radial-gradient(4px 100px at 0px 235px, var(--c), #0000),
        radial-gradient(4px 100px at 300px 235px, var(--c), #0000),
        radial-gradient(1.5px 1.5px at 150px 117.5px, var(--c) 100%, #0000 150%),
        radial-gradient(4px 100px at 0px 252px, var(--c), #0000),
        radial-gradient(4px 100px at 300px 252px, var(--c), #0000),
        radial-gradient(1.5px 1.5px at 150px 126px, var(--c) 100%, #0000 150%),
        radial-gradient(4px 100px at 0px 150px, var(--c), #0000),
        radial-gradient(4px 100px at 300px 150px, var(--c), #0000),
        radial-gradient(1.5px 1.5px at 150px 75px, var(--c) 100%, #0000 150%) !important;
    background-size: 300px 235px, 300px 235px, 300px 235px, 300px 252px, 300px 252px, 300px 252px, 300px 150px, 300px 150px, 300px 150px !important;
    animation: dots-hi 150s linear infinite;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    will-change: background-position;
}

@keyframes dots-hi {
    0% {
        background-position: 0px 220px, 3px 220px, 151.5px 337.5px, 25px 24px, 28px 24px, 176.5px 150px, 50px 16px, 53px 16px, 201.5px 91px;
    }

    to {
        background-position: 0px 6800px, 3px 6800px, 151.5px 6917.5px, 25px 13632px, 28px 13632px, 176.5px 13758px, 50px 5416px, 53px 5416px, 201.5px 5491px !important;
    }
}

.wallpaper-dots::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle at 50% 50%, #0000 0, #0000 2px, hsl(0 0 4%) 2px);
    background-size: 8px 8px;
    --f: blur(1em) brightness(6);
    animation: dots-hii 10s linear infinite;
    will-change: backdrop-filter;
}

@media (max-width: 768px) {
    .wallpaper-dots::after {
        animation: none !important;
        backdrop-filter: blur(0.5em) brightness(1.5);
    }
}

@keyframes dots-hi {
    0% {
        background-position: 0px 220px, 3px 220px, 151.5px 337.5px, 25px 24px, 28px 24px, 176.5px 150px, 50px 16px, 53px 16px, 201.5px 91px;
    }

    to {
        background-position: 0px 6800px, 3px 6800px, 151.5px 6917.5px, 25px 13632px, 28px 13632px, 176.5px 13758px, 50px 5416px, 53px 5416px, 201.5px 5491px !important;
    }
}

@keyframes dots-hii {
    0% {
        backdrop-filter: var(--f) hue-rotate(0deg);
    }

    to {
        backdrop-filter: var(--f) hue-rotate(360deg);
    }
}

.wallpaper-eyes {
    --u: 5px;
    --c1: #ededee;
    --c2: #000000;
    --c3: #1e1e1e;
    --gp: 50% / calc(var(--u) * 16.9) calc(var(--u) * 12.8);
    background: conic-gradient(from 122deg at 50% 85.15%, var(--c2) 0 58deg, var(--c3) 0 116deg, #fff0 0 100%) var(--gp),
        conic-gradient(from 122deg at 50% 72.5%, var(--c1) 0 116deg, #fff0 0 100%) var(--gp),
        conic-gradient(from 58deg at 82.85% 50%, var(--c3) 0 64deg, #fff0 0 100%) var(--gp),
        conic-gradient(from 58deg at 66.87% 50%, var(--c1) 0 64deg, var(--c2) 0 130deg, #fff0 0 100%) var(--gp),
        conic-gradient(from 238deg at 17.15% 50%, var(--c2) 0 64deg, #fff0 0 100%) var(--gp),
        conic-gradient(from 172deg at 33.13% 50%, var(--c3) 0 66deg, var(--c1) 0 130deg, #fff0 0 100%) var(--gp),
        linear-gradient(98deg, var(--c3) 0 15%, #fff0 calc(15% + 1px) 100%) var(--gp),
        linear-gradient(-98deg, var(--c2) 0 15%, #fff0 calc(15% + 1px) 100%) var(--gp),
        conic-gradient(from -58deg at 50.25% 14.85%, var(--c3) 0 58deg, var(--c2) 0 116deg, #fff0 0 100%) var(--gp),
        conic-gradient(from -58deg at 50% 28.125%, var(--c1) 0 116deg, #fff0 0 100%) var(--gp),
        linear-gradient(90deg, var(--c2) 0 50%, var(--c3) 0 100%) var(--gp) !important;
}

.wallpaper-japan {
    background: #05050a !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    grid-auto-rows: 60px;
    min-width: 100vw;
    min-height: 100vh;
    font-size: 28px;
    color: rgba(0, 150, 255, 0.2);
    font-family: "Courier New", Courier, monospace;
    justify-content: center;
    align-content: center;
    overflow: hidden;
    will-change: opacity;
}

.wallpaper-japan>span {
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.3);
    user-select: none;
    line-height: 1.2;
    will-change: color;
}

.wallpaper-japan>span:nth-child(19n + 2) {
    animation: smooth-pulse 3.5s ease-in-out infinite 0.2s;
}

.wallpaper-japan>span:nth-child(29n + 1) {
    animation: smooth-pulse 4.1s ease-in-out infinite 0.7s;
}

.wallpaper-japan>span:nth-child(11n) {
    color: rgba(100, 200, 255, 0.7);
    animation: smooth-pulse 2.9s ease-in-out infinite 1.1s;
}

.wallpaper-japan>span:nth-child(37n + 10) {
    animation: smooth-pulse 5.3s ease-in-out infinite 1.5s;
}

.wallpaper-japan>span:nth-child(41n + 1) {
    animation: smooth-pulse 3.9s ease-in-out infinite 0.4s;
}

@keyframes smooth-pulse {

    0%,
    100% {
        color: rgba(0, 150, 255, 0.4);
        text-shadow: 0 0 5px rgba(0, 150, 255, 0.5);
    }

    30% {
        color: rgba(100, 200, 255, 1);
        text-shadow: 0 0 10px rgba(100, 200, 255, 1), 0 0 15px rgba(100, 200, 255, 1);
    }

    50% {
        color: rgba(255, 105, 180, 1);
        text-shadow: 0 0 10px rgba(255, 105, 180, 1), 0 0 15px rgba(255, 105, 180, 1);
    }

    70% {
        color: #ffffff;
        text-shadow: 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #fff;
    }
}

.wallpaper-japan-matrix {
    background: #000 !important;
    position: relative;
    width: 100%;
    height: 100%;
}

.wallpaper-japan-matrix span {
    position: absolute;
    color: #00ff41;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 8px #00ff41;
    top: -100px;
    animation: fall linear infinite;
    z-index: 10;
    will-change: transform;
}

.wallpaper-matrix {
    background: #000 !important;
    display: flex !important;
    overflow: hidden !important;
    position: relative !important;
}

.matrix-column {
    position: absolute;
    top: -100%;
    width: 20px;
    height: 100%;
    font-size: 16px;
    line-height: 18px;
    font-weight: bold;
    font-weight: bold;
    animation: fall linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.matrix-column::before {
    content: "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 5%, #00ff41 10%, #00ff41 20%, #00dd33 30%, #00bb22 40%, #009911 50%, #007700 60%, #005500 70%, #003300 80%, rgba(0, 255, 65, 0.5) 90%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    writing-mode: vertical-lr;
    letter-spacing: 1px;
}

/* 40 Columns with different delays/durations for professional look */
.matrix-column:nth-child(1) {
    left: 0%;
    animation-delay: -2.5s;
    animation-duration: 3s;
}

.matrix-column:nth-child(2) {
    left: 2.5%;
    animation-delay: -3.2s;
    animation-duration: 4s;
}

.matrix-column:nth-child(3) {
    left: 5%;
    animation-delay: -1.8s;
    animation-duration: 2.5s;
}

.matrix-column:nth-child(4) {
    left: 7.5%;
    animation-delay: -2.9s;
    animation-duration: 3.5s;
}

.matrix-column:nth-child(5) {
    left: 10%;
    animation-delay: -1.5s;
    animation-duration: 3s;
}

.matrix-column:nth-child(6) {
    left: 12.5%;
    animation-delay: -3.8s;
    animation-duration: 4.5s;
}

.matrix-column:nth-child(7) {
    left: 15%;
    animation-delay: -2.1s;
    animation-duration: 2.8s;
}

.matrix-column:nth-child(8) {
    left: 17.5%;
    animation-delay: -2.7s;
    animation-duration: 3.2s;
}

.matrix-column:nth-child(9) {
    left: 20%;
    animation-delay: -3.4s;
    animation-duration: 3.8s;
}

.matrix-column:nth-child(10) {
    left: 22.5%;
    animation-delay: -1.9s;
    animation-duration: 2.7s;
}

.matrix-column:nth-child(11) {
    left: 25%;
    animation-delay: -3.6s;
    animation-duration: 4.2s;
}

.matrix-column:nth-child(12) {
    left: 27.5%;
    animation-delay: -2.3s;
    animation-duration: 3.1s;
}

.matrix-column:nth-child(13) {
    left: 30%;
    animation-delay: -3.1s;
    animation-duration: 3.6s;
}

.matrix-column:nth-child(14) {
    left: 32.5%;
    animation-delay: -2.6s;
    animation-duration: 2.9s;
}

.matrix-column:nth-child(15) {
    left: 35%;
    animation-delay: -3.7s;
    animation-duration: 4.1s;
}

.matrix-column:nth-child(16) {
    left: 37.5%;
    animation-delay: -2.8s;
    animation-duration: 3.3s;
}

.matrix-column:nth-child(17) {
    left: 40%;
    animation-delay: -3.3s;
    animation-duration: 3.7s;
}

.matrix-column:nth-child(18) {
    left: 42.5%;
    animation-delay: -2.2s;
    animation-duration: 2.6s;
}

.matrix-column:nth-child(19) {
    left: 45%;
    animation-delay: -3.9s;
    animation-duration: 4.3s;
}

.matrix-column:nth-child(20) {
    left: 47.5%;
    animation-delay: -2.4s;
    animation-duration: 3.4s;
}

.matrix-column:nth-child(21) {
    left: 50%;
    animation-delay: -1.7s;
    animation-duration: 2.4s;
}

.matrix-column:nth-child(22) {
    left: 52.5%;
    animation-delay: -3.5s;
    animation-duration: 3.9s;
}

.matrix-column:nth-child(23) {
    left: 55%;
    animation-delay: -2s;
    animation-duration: 3s;
}

.matrix-column:nth-child(24) {
    left: 57.5%;
    animation-delay: -4s;
    animation-duration: 4.4s;
}

.matrix-column:nth-child(25) {
    left: 60%;
    animation-delay: -1.6s;
    animation-duration: 2.3s;
}

.matrix-column:nth-child(26) {
    left: 62.5%;
    animation-delay: -3s;
    animation-duration: 3.5s;
}

.matrix-column:nth-child(27) {
    left: 65%;
    animation-delay: -3.8s;
    animation-duration: 4s;
}

.matrix-column:nth-child(28) {
    left: 67.5%;
    animation-delay: -2.5s;
    animation-duration: 2.8s;
}

.matrix-column:nth-child(29) {
    left: 70%;
    animation-delay: -3.2s;
    animation-duration: 3.6s;
}

.matrix-column:nth-child(30) {
    left: 72.5%;
    animation-delay: -2.7s;
    animation-duration: 3.2s;
}

.matrix-column:nth-child(31) {
    left: 75%;
    animation-delay: -1.8s;
    animation-duration: 2.7s;
}

.matrix-column:nth-child(32) {
    left: 77.5%;
    animation-delay: -3.6s;
    animation-duration: 4.1s;
}

.matrix-column:nth-child(33) {
    left: 80%;
    animation-delay: -2.1s;
    animation-duration: 3.1s;
}

.matrix-column:nth-child(34) {
    left: 82.5%;
    animation-delay: -3.4s;
    animation-duration: 3.7s;
}

.matrix-column:nth-child(35) {
    left: 85%;
    animation-delay: -2.8s;
    animation-duration: 2.9s;
}

.matrix-column:nth-child(36) {
    left: 87.5%;
    animation-delay: -3.7s;
    animation-duration: 4.2s;
}

.matrix-column:nth-child(37) {
    left: 90%;
    animation-delay: -2.3s;
    animation-duration: 3.3s;
}

.matrix-column:nth-child(38) {
    left: 92.5%;
    animation-delay: -1.9s;
    animation-duration: 2.5s;
}

.matrix-column:nth-child(39) {
    left: 95%;
    animation-delay: -3.5s;
    animation-duration: 3.8s;
}

.matrix-column:nth-child(40) {
    left: 97.5%;
    animation-delay: -2.6s;
    animation-duration: 3.4s;
}

@keyframes fall {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(200vh);
        opacity: 0;
    }
}

/* APPEARANCE SCREEN LIGHT THEME FIX */
body:not(.dark-mode) .settings-section-header {
    color: #334155 !important;
}

body:not(.dark-mode) .wallpaper-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

/* PROFILE UI TEMPLATE */
.profile-card {
    --main-color: #ffffff;
    --submain-color: #94a3b8;
    --bg-color: #1e293b;
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    background: var(--bg-color);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-card__img {
    height: 160px;
    width: 100%;
}

.profile-card__img svg {
    height: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
}

.profile-card__avatar {
    position: absolute;
    width: 114px;
    height: 114px;
    background: var(--bg-color);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 103px;
    /* 160 - 57 */
    border: 4px solid var(--bg-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.profile-card__avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-card__title {
    margin-top: 65px;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--main-color);
}

.profile-card__subtitle {
    margin-top: 5px;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--submain-color);
}

.profile-info-container {
    width: 100%;
    padding: 15px 20px;
    margin-top: 10px;
}

.profile-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    color: var(--submain-color);
    font-size: 0.9rem;
}

.profile-info-item i {
    width: 18px;
    color: var(--primary-color);
    text-align: center;
}

.profile-card__wrapper {
    display: flex;
    width: 100%;
    padding: 20px;
    gap: 12px;
}

.profile-card__btn {
    flex: 1;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--main-color);
    background: transparent;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}

.profile-card__btn-solid {
    background: var(--primary-color);
    color: #fff !important;
    border: none;
}

.profile-card__btn:active {
    transform: scale(0.95);
}

.app-version-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--submain-color);
    margin-top: 5px;
}