/*==================================================*/
/* Orbiting Circles Component Styling V2 */
/*==================================================*/
.orbit-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}

.orbit-container {
    position: relative;
    width: 540px;
    height: 540px;
    flex-shrink: 0;
}

/* Responsive Scaling */
@media (max-width: 1199px) {
    .orbit-container { transform: scale(0.9); }
}
@media (max-width: 991px) {
    .orbit-container { transform: scale(0.8); }
}
@media (max-width: 767px) {
    .orbit-container { transform: scale(0.82); margin: -12px 0; }
}
@media (max-width: 480px) {
    .orbit-container { transform: scale(0.68); margin: -34px 0; }
}
@media (max-width: 380px) {
    .orbit-container { transform: scale(0.6); margin: -48px 0;}
}

/* Central glowing core effect */
.orbit-core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(241, 85, 3, 0.4) 0%, rgba(241, 85, 3, 0) 70%);
    border-radius: 50%;
    animation: corePulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes corePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 110px;
    height: 110px;
    background: rgba(10, 12, 16, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(241, 85, 3, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 50px rgba(241, 85, 3, 0.4), inset 0 0 20px rgba(241, 85, 3, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.orbit-center:hover {
    transform: translate(-50%, -50%) scale(1.05); /* Safe because it's not animated by keyframes */
    box-shadow: 0 0 70px rgba(241, 85, 3, 0.6), inset 0 0 30px rgba(241, 85, 3, 0.4);
    border-color: rgba(241, 85, 3, 0.6);
}

.orbit-center-logo {
    width: 65%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.orbit-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Animating gradient borders */
.orbit-path-spin {
    transform-origin: center;
    animation: dashSpin linear infinite;
}

@keyframes dashSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-track {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.orbit-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--dw-surface-1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #aebcd3; /* DevWerk secondary text color */
    font-size: 24px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* React Component Animation Logic */
    animation: orbit var(--duration) linear infinite;
    animation-delay: calc(var(--delay) * 1s);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    pointer-events: auto; /* allow hover */
    cursor: pointer;
}

/* Hover effects for the inner icon */
.orbit-item > i {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease, text-shadow 0.3s ease;
}

.orbit-item:hover {
    border-color: #f15503;
    background: var(--dw-surface-2);
    box-shadow: 0 0 30px rgba(241, 85, 3, 0.6), inset 0 0 10px rgba(241, 85, 3, 0.4);
    z-index: 20;
}

.orbit-item:hover > i {
    color: #ffffff;
    transform: scale(1.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Star glow modifiers */
.orbit-item.star-glow {
    color: #eef3ff;
    border-color: rgba(241, 85, 3, 0.4);
    box-shadow: 0 0 20px rgba(241, 85, 3, 0.25);
}

.orbit-item.star-glow > i {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.orbit-track.reverse .orbit-item {
    animation: orbit-reverse var(--duration) linear infinite;
    animation-delay: calc(var(--delay) * 1s);
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateY(var(--radius)) rotate(0deg); }
    100% { transform: rotate(360deg) translateY(var(--radius)) rotate(-360deg); }
}

@keyframes orbit-reverse {
    0% { transform: rotate(0deg) translateY(var(--radius)) rotate(0deg); }
    100% { transform: rotate(-360deg) translateY(var(--radius)) rotate(360deg); }
}
