/* Shared Elementor hero platform visual and floating activity cards. */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
    perspective: 1400px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 12% 8%;
    z-index: -1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nx-emerald, #06d6a0), var(--nx-cyan, #22d3ee));
    opacity: 0.12;
    filter: blur(60px);
    pointer-events: none;
}

.hero-platform-frame {
    overflow: hidden;
    background: var(--nx-bg, #0b1329);
    border: 1px solid var(--nx-border, rgba(255, 255, 255, 0.18));
    border-radius: var(--nx-border-radius, 24px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: rotateY(-4deg) rotateX(2deg);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-visual:hover .hero-platform-frame {
    transform: rotateY(0) rotateX(0) translateY(-4px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 16px 48px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-browser-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 14px;
    background: var(--nx-panel, #0b1329);
    border-bottom: 1px solid var(--nx-border, rgba(255, 255, 255, 0.1));
}

.hero-browser-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.hero-browser-address {
    flex: 1;
    max-width: 230px;
    height: 18px;
    margin-left: 8px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--nx-text, #fff) 6%, transparent);
}

.hero-platform-art {
    display: block;
    width: 100%;
    height: auto;
}

.hero-float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--nx-text, #ffffff);
    font-family: var(--nx-font-family, "Outfit", Inter, sans-serif);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    background: var(--nx-panel, rgba(11, 19, 41, 0.9));
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    backdrop-filter: blur(16px) saturate(145%);
    border: 1px solid var(--nx-border, rgba(255, 255, 255, 0.18));
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: nxtoriginHeroFloatCard 5s ease-in-out infinite;
    pointer-events: none;
}

.hero-float-card::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--nx-emerald, #06d6a0);
    box-shadow: 0 0 12px rgba(6, 214, 160, 0.35);
}

.hero-float-card-live {
    top: 12%;
    right: -3%;
}

.hero-float-card-attendees {
    bottom: 10%;
    left: -4%;
    animation-delay: -2.5s;
}

@keyframes nxtoriginHeroFloatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 767px) {
    .hero-platform-frame {
        transform: none;
    }

    .hero-float-card {
        padding: 8px 10px;
        font-size: 0.64rem;
    }

    .hero-float-card-live {
        top: 8%;
        right: 2%;
    }

    .hero-float-card-attendees {
        bottom: 7%;
        left: 2%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float-card {
        animation: none;
    }

    .hero-platform-frame,
    .hero-visual:hover .hero-platform-frame {
        transform: none;
        transition: none;
    }
}
