.manga-characters-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px auto;
    padding: 20px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
}

.characters-title {
    width: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #660099;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.characters-title::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #660099;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
}

.character-item {
    position: relative;
    width: 180px;
    height: 260px;
    overflow: hidden;
    border-radius: 15px; /* Kenarlara yuvarlaklık ekledik */
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); /* Daha belirgin gölge */
    perspective: 1000px; /* 3D etkisi için perspektif ekledik */
}

.character-item:hover {
    transform: scale(1.1) rotateY(10deg); /* 3D döndürme etkisi */
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); /* Daha büyük gölge */
}

.character-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.character-item:hover img {
    transform: scale(1.15); /* Görselin büyümesi */
    filter: brightness(0.8); /* Resmin parlaklığının düşürülmesi */
}

.character-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Opak arka plan */
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom-left-radius: 15px; /* Yuvarlak köşeler */
    border-bottom-right-radius: 15px;
    opacity: 0.9;
    transition: background 0.3s ease, transform 0.3s ease;
}

.character-item:hover .character-name {
    background: #660099; /* Hover'da arka planın değişmesi */
    transform: translateY(-10px); /* Karakter isminin yukarı kayması */
}
