/* ── Partner Animation – Frontend ───────────────────── */

.pa-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 8.5rem 0;
}

/* ── Marquee track ─────────────────────────────────── */
.pa-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

/* ── Logo card ────────────────────────────────────── */
.pa-card {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.5s ease, box-shadow 0.5s ease, transform 0.3s ease;
}

.pa-card:hover {
    transform: scale(1.08);
}

.pa-card img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    transition: filter 0.5s ease;
}

/* ── Dark state ───────────────────────────────────── */
.pa-card--dark {
    background: rgba(20, 5, 60, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.pa-card--dark img {
    filter: brightness(0) invert(1);
}

/* ── Light state ──────────────────────────────────── */
.pa-card--light {
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.pa-card--light img {
    filter: none;
}

/* ── Plain card (simple mode) ───────────────────── */
.pa-card--plain {
    background: transparent;
    border: none;
    box-shadow: none;
}

.pa-card--plain img {
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.4s ease;
}

.pa-card--plain:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Simple container — less vertical padding */
.pa-container--simple {
    padding: 2.5rem 0;
}

/* ── Checkmark badge ───────────────────────────── */
.pa-card__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: #8fea08;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #ffffff;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.pa-card--light .pa-card__badge {
    opacity: 1;
    transform: scale(1);
}

.pa-card__badge svg {
    width: 13px;
    height: 13px;
}

/* ── Static center element (shield image + orbiting ring) */
.pa-center-wrap {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    width: 250px;
    height: 275px;
}

/* Shield image */
.pa-shield {
    position: absolute;
    inset: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.pa-shield img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 36px rgba(76, 0, 255, 0.4));
}
/* Orbiting rings */
.pa-orbit {
    position: absolute;
    inset: -25px;
    animation: pa-orbit-spin 5s linear infinite;
    z-index: 1;
}

.pa-orbit-ring {
    position: absolute;
    inset: 0;
    border: 3.5px solid transparent;
    border-radius: 50%;
    border-top-color: rgba(80, 255, 100, 0.8);
    border-right-color: rgba(80, 255, 100, 0.25);
    filter: drop-shadow(0 0 12px rgba(80, 255, 100, 0.6));
}

.pa-orbit-ring--2 {
    inset: 15px;
    animation: pa-orbit-spin-reverse 7s linear infinite;
    border-top-color: rgba(80, 255, 100, 0.5);
    border-right-color: rgba(80, 255, 100, 0.1);
    border-left-color: rgba(80, 255, 100, 0.15);
    filter: drop-shadow(0 0 10px rgba(80, 255, 100, 0.4));
}

.pa-orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(80, 255, 100, 1);
    border-radius: 50%;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px 5px rgba(80, 255, 100, 0.8);
}

.pa-orbit-dot--2 {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(80, 255, 100, 0.8);
    border-radius: 50%;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px 3px rgba(80, 255, 100, 0.6);
}

@keyframes pa-orbit-spin {
    to { transform: rotate(360deg); }
}

@keyframes pa-orbit-spin-reverse {
    to { transform: rotate(-360deg); }
}

/* ── Play / Pause button ───────────────────────────── */
.pa-play-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.25rem;
    z-index: 20;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    color: rgba(0, 0, 0, 0.3);
}

.pa-play-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.6);
}

.pa-play-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
    .pa-container {
        padding: 5rem 0;
    }
    .pa-card {
        width: 80px;
        height: 80px;
        border-radius: 14px;
    }
    .pa-card img {
        width: 44px;
        height: 44px;
    }
    .pa-center-wrap {
        width: 180px;
        height: 200px;
    }
    .pa-track {
        gap: 14px;
    }
}
