.parallel-core-cards-container {
    text-align: center;
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px;
}


.parallel-menu, .set-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.parallel-btn, .set-btn {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.2s;
}

.parallel-btn:hover, .set-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.parallel-btn.active, .set-btn.active {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #ffffff;
    transform: scale(1.05);
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    overflow: visible;
}

@media (max-width: 768px) {
    .cards-grid {
        gap: 10px;
    }
    .card {
        width: 150px; /* Smaller cards on smaller screens */
    }
}


body .card:hover .card-image-wrapper img {
    transform: scale(1.2) translateY(20%);
    transition: transform 0.2s ease;
}


body .card:hover img {
    transform: scale(1.2);
    border: 1px solid #ffffff;
}

/* test */
body .card:hover {
    max-width:120%;
    overflow: visible;
}

body .card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    opacity: 1 !important;
    overflow: hidden;
}



body .card-image-wrapper:hover {
    transform-style: preserve-3d; /* Necessary for the tilt effect */
}


body .card {
    height: 300px;
    background-color: #000000;
    border: 1px solid #000000;
    padding: 5px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    width: 180px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;

}

body .card-image-wrapper {
    position: relative;
    perspective: 1000px;
    border: 1px solid #000000;
    border-radius: 10px;
    display: inline-block;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    opacity: 1 !important;
}



body .card-name h3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: white !important; /* Override Elementor's styles */
    margin: 2px 0;
    font-family: inherit !important; /* Match the default font used elsewhere */
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    padding: 12px 0;
    text-shadow: none; /* Remove unwanted shadows if present */
    transform: translateY(195px);
    transition: transform 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
    backdrop-filter: blur(5px);
    z-index: 999 !important;
}

body .card-funct {
    font-size: 12px;
    font-weight: 400;
    color: white;
    margin-top: 5px;
    white-space: normal;/* Allows <br> to render */
    line-height: 1.2;
    text-shadow: 1px 1px 1px black;
}

.card-funct .highlight {
    color: yellow;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}

.card:hover .card-name {
    transform: translateY(0);
    backdrop-filter: blur(10px);
    border-radius: 10px;
   
    z-index: 99;
}

body .gloss {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.6) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    will-change: opacity;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    overflow: hidden;
}

.card:hover .gloss {
    opacity: 0.7 !important;
    transform: scale(1.2) !important;
}

.card p {
    margin: 2px 0;
    font-size: 12px;
    color: white;
    line-height: 1.2;
}

.card-name p {
    margin: 2px 0;
    font-size: 12px;
    color: white;
    line-height: 1.2;
}