/* ==========================================================================
   Platinum Members Carousel — Frontend
   ========================================================================== */

.pmc-carousel-wrap {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    text-align: center;
}

/* Heading */
.pmc-heading {
    font-size: 30px;
    font-weight: 800;
    color: #15253e;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.pmc-subheading {
    font-size: 15px;
    color: #6b7a90;
    margin: 0 0 32px 0;
}

/* Carousel container */
.pmc-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation arrows */
.pmc-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #00529b;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 82, 155, 0.10);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 2;
}

.pmc-nav:hover {
    background: #00529b;
    color: #fff;
    transform: scale(1.1);
}

.pmc-nav:active {
    transform: scale(0.95);
}

/* Track viewport */
.pmc-track-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
    padding: 16px 0;
}

.pmc-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Individual card */
.pmc-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    padding: 18px;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pmc-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
    filter: grayscale(15%);
}

.pmc-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 14px 36px rgba(0, 82, 155, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 82, 155, 0.15);
}

.pmc-card:hover img {
    filter: grayscale(0%);
}

.pmc-card.pmc-active {
    border-color: rgba(0, 82, 155, 0.12);
    box-shadow: 0 6px 28px rgba(0, 82, 155, 0.10);
}

.pmc-card.pmc-active img {
    filter: grayscale(0%);
}

/* Card name tooltip */
.pmc-card-name {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 82, 155, 0.88);
    padding: 2px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pmc-card:hover .pmc-card-name {
    opacity: 1;
}

/* Dots */
.pmc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.pmc-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    border: none;
    background: #c5cdd8;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pmc-dot:hover {
    background: #00529b;
    transform: scale(1.3);
}

.pmc-dot.pmc-dot-active {
    width: 22px;
    background: #00529b;
}

/* Responsive breakpoints */
@media (max-width: 900px) {
    .pmc-heading { font-size: 24px; }
}

@media (max-width: 600px) {
    .pmc-nav {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .pmc-heading { font-size: 20px; }
    .pmc-track { gap: 12px; }
}
