/* ===== Multi-Account Premium Animation ===== */
.ma-wrap {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%) !important;
    border: 0.1rem solid rgba(2, 123, 255, 0.15) !important;
    overflow: hidden !important;
}

.ma-scene {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 44rem;
    perspective: 800px;
}

/* ===== Orbit Rings ===== */
.ma-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24rem;
    height: 24rem;
    border: 0.1rem solid rgba(2, 123, 255, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(60deg);
    animation: orbitSpin 20s linear infinite;
}

.ma-orbit-2 {
    width: 32rem;
    height: 32rem;
    border-color: rgba(2, 123, 255, 0.06);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes orbitSpin {
    to { transform: translate(-50%, -50%) rotateX(60deg) rotate(360deg); }
}

/* ===== Central Platform ===== */
.ma-platform {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.ma-platform-inner {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #027BFF, #0056D2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 4rem rgba(2, 123, 255, 0.3),
        0 0 8rem rgba(2, 123, 255, 0.1),
        inset 0 0 2rem rgba(255, 255, 255, 0.1);
    animation: platformGlow 3s ease-in-out infinite;
}

@keyframes platformGlow {
    0%, 100% {
        box-shadow: 0 0 3rem rgba(2, 123, 255, 0.25), 0 0 6rem rgba(2, 123, 255, 0.08);
    }
    50% {
        box-shadow: 0 0 5rem rgba(2, 123, 255, 0.4), 0 0 10rem rgba(2, 123, 255, 0.15);
    }
}

.ma-logo {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 2rem rgba(255, 255, 255, 0.3);
}

.ma-platform-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ===== Floating Chat Cards ===== */
.ma-card {
    position: absolute;
    width: 16rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(1.2rem);
    -webkit-backdrop-filter: blur(1.2rem);
    border: 0.1rem solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 0.8rem;
    z-index: 10;
    transform-origin: center;
}

.ma-card-1 {
    top: 3rem;
    left: 2rem;
    animation: cardFloat1 8s ease-in-out infinite;
}

.ma-card-2 {
    top: 4rem;
    right: 2rem;
    animation: cardFloat2 9s ease-in-out infinite 1s;
}

.ma-card-3 {
    bottom: 5rem;
    left: 3rem;
    animation: cardFloat3 7s ease-in-out infinite 2s;
}

.ma-card-4 {
    bottom: 3rem;
    right: 1.5rem;
    animation: cardFloat4 8.5s ease-in-out infinite 0.5s;
}

@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-0.8rem) rotate(0.5deg); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-1rem) rotate(-0.5deg); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translateY(0) rotate(0.5deg); }
    50% { transform: translateY(-0.6rem) rotate(-1deg); }
}

@keyframes cardFloat4 {
    0%, 100% { transform: translateY(0) rotate(-0.5deg); }
    50% { transform: translateY(-0.9rem) rotate(0.8deg); }
}

.ma-card-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 0.05rem solid rgba(255, 255, 255, 0.06);
}

.ma-card-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.ma-card-head span {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.ma-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ma-card-bubble {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.35rem 0.6rem;
    border-radius: 0.6rem 0.6rem 0.6rem 0.2rem;
    width: fit-content;
    max-width: 85%;
    line-height: 1.4;
}

.ma-card-bubble.reply {
    background: rgba(2, 123, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    border-radius: 0.6rem 0.6rem 0.2rem 0.6rem;
    align-self: flex-end;
}

/* ===== Particle Trails ===== */
.ma-trail {
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    z-index: 15;
    pointer-events: none;
}

.ma-trail-1 {
    background: #027BFF;
    box-shadow: 0 0 0.6rem #027BFF;
    animation: trail1 4s ease-in-out infinite;
}

.ma-trail-2 {
    background: #12B76A;
    box-shadow: 0 0 0.6rem #12B76A;
    animation: trail2 5s ease-in-out infinite 1.5s;
}

.ma-trail-3 {
    background: #7c3aed;
    box-shadow: 0 0 0.6rem #7c3aed;
    animation: trail3 4.5s ease-in-out infinite 3s;
}

@keyframes trail1 {
    0% { left: 12%; top: 15%; opacity: 0; }
    20% { opacity: 1; }
    50% { left: 48%; top: 48%; }
    80% { opacity: 0; }
    100% { left: 85%; top: 15%; opacity: 0; }
}

@keyframes trail2 {
    0% { left: 15%; top: 80%; opacity: 0; }
    20% { opacity: 1; }
    50% { left: 50%; top: 50%; }
    80% { opacity: 0; }
    100% { left: 80%; top: 80%; opacity: 0; }
}

@keyframes trail3 {
    0% { right: 10%; top: 20%; opacity: 0; }
    20% { opacity: 1; }
    50% { right: 45%; top: 48%; }
    80% { opacity: 0; }
    100% { right: 85%; top: 75%; opacity: 0; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .ma-scene { min-height: 28rem; }
    .ma-platform-inner { width: 4.5rem; height: 4.5rem; }
    .ma-logo { font-size: 1.8rem; }
    .ma-platform-label { font-size: 0.6rem; }
    .ma-orbit { width: 16rem; height: 16rem; }
    .ma-orbit-2 { width: 22rem; height: 22rem; }
    .ma-card { width: 12rem; padding: 0.5rem; }
    .ma-card-head span { font-size: 0.65rem; }
    .ma-card-bubble { font-size: 0.6rem; padding: 0.25rem 0.4rem; }
    .ma-card-1 { top: 1.5rem; left: 1rem; }
    .ma-card-2 { top: 2rem; right: 1rem; }
    .ma-card-3 { bottom: 3rem; left: 1.5rem; }
    .ma-card-4 { bottom: 1.5rem; right: 0.8rem; }
}
