/* Neural world globe — circular, transparent edges, center glow on canvas */

.community-globe-premium {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.community-globe-premium__frame {
    position: relative;
    aspect-ratio: 1;
    min-height: 300px;
    border-radius: 50%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* Outer halo — fades to nothing, no square box */
.community-globe-premium__frame::before {
    content: '';
    position: absolute;
    inset: 2%;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(244, 168, 140, 0.1) 0%,
        rgba(201, 167, 216, 0.05) 42%,
        transparent 72%
    );
    pointer-events: none;
    z-index: 0;
    animation: community-globe-halo 8s ease-in-out infinite;
}

@keyframes community-globe-halo {
    0%, 100% { opacity: 0.6; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.04); }
}

.community-globe-premium__viz {
    position: relative;
    width: 92%;
    height: 92%;
    z-index: 2;
}

.community-globe-premium__canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    background: transparent;
}

.community-globe-premium__badge {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffe4d9;
    background: rgba(26, 18, 32, 0.65);
    border: 1px solid rgba(233, 183, 159, 0.28);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.community-globe-premium__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f4a88c;
    box-shadow: 0 0 12px rgba(244, 168, 140, 0.8);
    animation: community-badge-breathe 10s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.community-globe-premium__badge.is-idle .community-globe-premium__badge-dot {
    background: #8a7a85;
    box-shadow: none;
    animation: none;
}

.community-globe-premium__badge.is-idle {
    color: #b8a8b2;
    border-color: rgba(138, 122, 133, 0.35);
}

@keyframes community-badge-breathe {
    0% { opacity: 0.55; transform: scale(0.85); }
    40% { opacity: 1; transform: scale(1.25); }
    100% { opacity: 0.55; transform: scale(0.85); }
}

.community-globe-premium__footer {
    margin-top: 1.5rem;
    text-align: center;
}

.community-globe-premium__title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 400;
    color: #ffe4d9;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.community-globe-premium__subtitle {
    font-size: 0.9rem;
    color: #c9b3bd;
    margin-bottom: 1rem;
    line-height: 1.55;
    min-height: 2.6em;
}

.community-globe-premium__meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.15rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9a8794;
}

.community-globe-premium__meta strong {
    color: #f4a88c;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.community-globe-premium__fallback {
    color: #9a8794;
    font-size: 0.8rem;
    text-align: center;
    padding: 2rem;
}

.community-globe-premium--light .community-globe-premium__title {
    color: #2a1e26;
}

.community-globe-premium--light .community-globe-premium__subtitle {
    color: #6b5a64;
}

.community-globe-premium--inset .community-globe-premium__frame {
    min-height: 270px;
}

.community-globe-premium--prayer .community-globe-premium__frame::before {
    background: radial-gradient(
        circle at 50% 50%,
        rgba(201, 167, 216, 0.12) 0%,
        rgba(166, 180, 230, 0.05) 42%,
        transparent 72%
    );
}

.community-globe-premium--prayer .community-globe-premium__badge {
    color: #ece4f4;
    border-color: rgba(201, 167, 216, 0.35);
}

.community-globe-premium--prayer .community-globe-premium__badge-dot {
    background: #c9a7d8;
    box-shadow: 0 0 12px rgba(201, 167, 216, 0.75);
}

.community-globe-premium--prayer .community-globe-premium__meta strong {
    color: #c9a7d8;
}

@media (prefers-reduced-motion: reduce) {
    .community-globe-premium__frame::before,
    .community-globe-premium__badge-dot {
        animation: none !important;
    }
}
