/* ==========================================
   WORKING PAGE STYLES
   ========================================== */

.working-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.working-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px;
    background:
        radial-gradient(circle at 30% 20%, rgba(241, 56, 17, 0.28), transparent 28%),
        radial-gradient(circle at 72% 70%, rgba(47, 128, 255, 0.18), transparent 32%),
        linear-gradient(135deg, #0d0d0d 0%, var(--brand-black) 52%, #35120c 100%);
    position: relative;
}

.working-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.working-content {
    width: min(720px, 100%);
    text-align: center;
    position: relative;
    z-index: 1;
}

.working-animation {
    width: 220px;
    height: 220px;
    margin: 0 auto 34px;
    position: relative;
    display: grid;
    place-items: center;
}

.working-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 106, 69, 0.34);
    border-radius: 50%;
    animation: workingSpin 7s linear infinite;
}

.working-orbit::before,
.working-orbit::after {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(47, 128, 255, 0.24);
    border-radius: 50%;
}

.working-orbit::after {
    inset: 56px;
    border-color: rgba(255, 255, 255, 0.18);
}

.working-orbit span {
    width: 14px;
    height: 14px;
    position: absolute;
    border-radius: 50%;
    background: var(--brand-red-light);
    box-shadow: 0 0 22px rgba(255, 106, 69, 0.88);
}

.working-orbit span:nth-child(1) {
    top: -7px;
    left: calc(50% - 7px);
}

.working-orbit span:nth-child(2) {
    right: 21px;
    bottom: 34px;
    background: var(--tech-blue);
    box-shadow: 0 0 22px rgba(47, 128, 255, 0.78);
}

.working-orbit span:nth-child(3) {
    left: 19px;
    bottom: 48px;
    width: 10px;
    height: 10px;
}

.working-core {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 106, 69, 0.12) 48%, rgba(47, 128, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.42),
        0 0 34px rgba(241, 56, 17, 0.3),
        inset 0 0 28px rgba(255, 255, 255, 0.08);
    animation: workingPulse 2.4s ease-in-out infinite;
}

.working-logo {
    width: 82px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 16px rgba(255, 106, 69, 0.72));
}

.working-brand {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--brand-red-light);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
}

.working-content h1 {
    color: #ffffff;
    font-size: clamp(42px, 8vw, 76px);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
}

.working-content p {
    max-width: 560px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.7;
}

@keyframes workingSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes workingPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@media (max-width: 560px) {
    .working-animation {
        width: 170px;
        height: 170px;
        margin-bottom: 28px;
    }

    .working-core {
        width: 104px;
        height: 104px;
    }

    .working-logo {
        width: 68px;
    }

    .working-content h1 {
        font-size: 42px;
    }

    .working-content p {
        font-size: 16px;
    }
}
