.fast-hiring-section {
    padding: 64px 24px;
    background: #fff;
}

.fast-hiring-panel {
    position: relative;
    width: min(100%, 1200px);
    height: clamp(430px, 49vw, 500px);
    min-height: 430px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid #d7cdf1;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.91) 62%, rgba(238, 228, 249, 0.92) 100%),
        repeating-linear-gradient(135deg, rgba(135, 113, 176, 0.08) 0, rgba(135, 113, 176, 0.08) 1px, transparent 1px, transparent 5px);
}

.fast-hiring-heading {
    position: relative;
    z-index: 2;
    padding: 28px 30px 0;
}

.fast-hiring-heading h2 {
    margin: 0;
    color: #252525;
    font-size: clamp(1.25rem, 2.3vw, 1.65rem);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.fast-hiring-heading p {
    margin: 16px 0 0;
    color: #55717e;
    font-size: clamp(0.95rem, 1.7vw, 1.15rem);
    line-height: 1.45;
}

.fast-hiring-stage {
    position: absolute;
    inset: 112px 0 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}

.fast-hiring-wheel {
    --wheel-radius: clamp(160px, 24vw, 290px);
    --wheel-center-y: clamp(300px, 36vw, 430px);
    --wheel-duration: 250s;
    position: absolute;
    top: 50px;
    left: 50%;
    width: 0;
    height: 0;
    transform: translateY(var(--wheel-center-y));
}

.fast-hiring-wheel--inner {
    --wheel-radius: clamp(160px, 24vw, 290px);
    --avatar-wheel-scale: 0.85;
}

.fast-hiring-wheel--middle {
     --wheel-radius: clamp(240px, 32vw, 390px);   /* was 260 / 34vw / 410 */
    --avatar-wheel-scale: 0.92;
}

.fast-hiring-wheel--outer {
    --wheel-radius: clamp(330px, 40vw, 490px);   /* was 360 / 44vw / 530 */
    --avatar-wheel-scale: 1;
}

.fast-hiring-track {
    position: absolute;
    top: 130px;
    left: 0;
    width: 0;
    height: 0;
    animation: fast-hiring-orbit var(--wheel-duration) linear infinite;
    will-change: transform;
}

/* Middle ring spins the opposite way (right to left across the top) */
.fast-hiring-wheel--middle .fast-hiring-track,
.fast-hiring-wheel--middle .fast-hiring-spin {
    animation-direction: reverse;
}

.fast-hiring-slot {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    transform: rotate(var(--angle));
}

.fast-hiring-position {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(var(--wheel-radius));
}

.fast-hiring-spin {
    position: absolute;
    top: 0;
    left: 0;
    animation: fast-hiring-counter-spin var(--wheel-duration) linear infinite;
    will-change: transform;
}

.fast-hiring-avatar {
    display: block;
    width: calc(var(--avatar-size) * var(--avatar-wheel-scale, 1));
    height: calc(var(--avatar-size) * var(--avatar-wheel-scale, 1));
    overflow: hidden;

    border-radius: 50%;
    background: #e7e8ed;
    box-shadow: 0 5px 16px rgba(42, 43, 60, 0.12);
    transform: translate(-50%, -50%);
}

.fast-hiring-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.fast-hiring-button {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 11px;
    background: #8050c8;
    box-shadow: 0 10px 19px rgba(79, 44, 127, 0.25);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transform: translate(-50%, 28px);
    opacity: 0;
    animation: fast-hiring-button-rise 650ms 650ms cubic-bezier(.2, .7, .25, 1) both;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.fast-hiring-button:hover,
.fast-hiring-button:focus-visible {
    background: #7041b8;
    box-shadow: 0 13px 23px rgba(79, 44, 127, 0.32);
    color: #fff;
}

.fast-hiring-button:focus-visible {
    outline: 3px solid rgba(128, 80, 200, 0.35);
    outline-offset: 4px;
}

@keyframes fast-hiring-orbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fast-hiring-counter-spin {
    from {
        transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle)));
    }
    to {
        transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle) - 360deg));
    }
}

@keyframes fast-hiring-button-rise {
    from {
        opacity: 0;
        transform: translate(-50%, 28px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 600px) {
    .fast-hiring-section {
        padding: 44px 16px;
    }

    .fast-hiring-panel {
        height: 430px;
        min-height: 430px;
    }

    .fast-hiring-heading {
        padding: 24px 20px 0;
    }

    .fast-hiring-heading p {
        max-width: 400px;
        margin-top: 10px;
    }

    .fast-hiring-stage {
        inset: 116px -10% 0;
    }

    .fast-hiring-avatar {
        width: calc(var(--avatar-size) * var(--avatar-wheel-scale, 1) * 0.82);
        height: calc(var(--avatar-size) * var(--avatar-wheel-scale, 1) * 0.82);
    }

    .fast-hiring-button {
        bottom: 20px;
        min-height: 52px;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fast-hiring-button {
        animation: none;
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .fast-hiring-track,
    .fast-hiring-spin {
        animation: none;
    }
}
