/* ===================================
   PIXEL - Utility Classes
   =================================== */

/* Text Utilities */
.px-gradient-text {
    background: linear-gradient(135deg, var(--px-accent) 0%, var(--px-blue) 50%, var(--px-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.px-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--px-accent);
    margin-bottom: 16px;
    display: block;
}

.px-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

/* Animations / Effects */
.px-ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #0c1221 0%, var(--px-bg) 70%);
    pointer-events: none;
}

.px-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--px-accent);
    filter: blur(180px);
    opacity: 0.08;
    border-radius: 50%;
    top: -10%;
    left: -10%;
    animation: px-moveBlob 25s infinite alternate;
}

.px-blob:nth-child(2) {
    background: var(--px-blue);
    top: auto;
    bottom: -10%;
    left: auto;
    right: -10%;
    animation-delay: -10s;
}

@keyframes px-moveBlob {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(20%, 20%) scale(1.1);
    }
}

.px-noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAwIDIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIvPjwvc3ZnPg==');
}

.px-grid-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
    z-index: 0;
    pointer-events: none;
}

/* Toast */
#px-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--px-text);
    color: var(--px-bg);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    z-index: 3000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#px-toast.px-show {
    transform: translateX(-50%) translateY(0);
}