/* -- COSPLAY CAROUSEL -- */

.cosplay-carousel-container {
    width: 100%;
    margin: 20px auto;
}

.carousel-title {
    text-align: center;
    margin-bottom: 20px;
}

.carousel-title h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #18819f; /* Color base de la web */
}

.cosplay-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
}

.cosplay-carousel-wrapper i {
    position: absolute;
    top: 50%;
    height: 44px;
    width: 44px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.2rem;
    text-align: center;
    line-height: 44px;
    background: #18819f; /* Color base de la web */
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    z-index: 1;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.cosplay-carousel-wrapper i:hover {
    background: #166c7c; /* Sombra más oscura del color base */
}

.cosplay-carousel-wrapper i:active {
    transform: translateY(-50%) scale(0.95);
}

.cosplay-carousel-wrapper #left {
    left: 0;
}

.cosplay-carousel-wrapper #right {
    right: 0;
}

.cosplay-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(33.333% - 16px);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.cosplay-carousel::-webkit-scrollbar {
    display: none;
}

.cosplay-card {
    scroll-snap-align: start;
    background: linear-gradient(135deg, #18819f, #32aab0); /* Variación suave del color base */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cosplay-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cosplay-card img {
    width: 100%;
    object-fit: cover;
    border-bottom: 3px solid #18819f; /* Bordes coinciden con el color base */
}

.cosplay-info {
    padding: 16px;
    color: #fff;
    text-align: center;
}

.cosplay-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f1f1; /* Gris muy claro para mayor contraste */
}

.cosplay-info p {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.instagram-handle {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.instagram-handle:hover {
    color: #18819f; /* Color base para el hover */
}

@media screen and (max-width: 1024px) {
    .cosplay-carousel {
        grid-auto-columns: calc(50% - 12px);
    }
}

@media screen and (max-width: 600px) {
    .cosplay-carousel {
        grid-auto-columns: 100%;
    }
    
    .cosplay-carousel-wrapper {
        padding: 0 20px;
    }
}

/* -- COSPLAY CAROUSEL END -- */
