/* Star Savior Character List Styles */

/* Role icons – gleicher Hintergrund wie monster-card-icon-item (Star Sailors Monster List) – nur in der Character List */
.character-list-container .character-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    z-index: 30;
    overflow: hidden;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-list-container .character-badge-background {
    display: none;
}

.character-list-container .character-badge-class {
    width: 20px;
    height: 20px;
    object-fit: contain;
    position: static;
    transform: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .character-list-container .character-badge {
        width: 24px;
        height: 24px;
        top: 0;
        left: 0;
    }
    
    .character-list-container .character-badge-class {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .character-list-container .character-badge {
        width: 24px;
        height: 24px;
        top: 0;
        left: 0;
    }
    
    .character-list-container .character-badge-class {
        width: 16px;
        height: 16px;
    }
}


/* Character List Styles */
.character-list-container {
    margin: 20px 0;
}

.character-list-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: rgb(230, 230, 230);
    font-size: 2rem;
    text-shadow: 1px 2px 1px rgb(0, 0, 0);
}

strong {
    color: rgb(230, 230, 230);
}

.character-grid-container {
    width: 100%;
    margin: 0 auto;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    padding: 20px;
    justify-items: center;
}

/* Responsive Design für verschiedene Bildschirmgrößen */
@media (max-width: 1200px) {
    .character-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .character-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .character-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 8px;
        padding: 8px;
    }
}

/* Bleach / Haikyu Character Card Styles - */
.Character-SR, .Character-SSR, .Character-UR, .Character-SP, .Character-R, .Character-N {
    width: 140px !important;
    height: 200px !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    /* background-color entfernt, da wir den Gradient nutzen */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.Character-SR {
    background: linear-gradient(160deg, #2d2f4d 0%, #7a5af8 65%); /* Custom Lila Gradient für SR */
    border: none;
}

.Character-SSR {
    background: linear-gradient(160deg, #6e4c42 0%, #e0c870 65%); /* Custom Gold Gradient für SSR */
    border: none;
}

.Character-UR {
    background: linear-gradient(160deg, #5a2d2d 0%, #ff6b6b 65%); /* Custom Rot Gradient für UR */
    border: none;
}

.Character-SP {
    background: linear-gradient(135deg, rgb(199, 229, 255) 0%, rgb(90, 166, 247) 50%, rgb(91, 110, 229) 100%); /* Custom Blau Gradient für SP */
    border: none;
}

.Character-R {
    background: linear-gradient(160deg, #2d3d4d 0%, #87ceeb 65%); /* Sky Blue für R */
    border: none;
}

.Character-N {
    background: linear-gradient(160deg, #3d3d3d 0%, #d3d3d3 65%); /* Gray für N */
    border: none;
}

.character-name-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    color: white;
    padding: 20px 4px 6px; /* More top padding for gradient fade */
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 25;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Character Image - mit Zuschneiden */
.character-image {
    position: absolute;
    width: 100%; /* 20% größer als Container */
    height: 100%; /* 20% größer als Container */
    object-fit: cover; /* Bild zuschneiden statt verzerren */
    z-index: 10;
    transition: all 0.6s;
    cursor: pointer;
    
    backface-visibility: hidden;
    perspective: 1000px;
    
}

.character-image:hover {
    transform: scale(1.08);
}

/* Type Icons entfernt - werden nicht mehr angezeigt */

/* Responsive Design für Filter */
@media (max-width: 768px) {
    /* 25% kleinere Character-Karten für Mobile */
    .Character-SR, .Character-SSR, .Character-UR, .Character-SP, .Character-R, .Character-N {
        width: 105px !important; /* 140px × 0.75 = 105px */
        height: 150px !important; /* 200px × 0.75 = 150px */
    }

    /* Angepasste Schriftgrößen für kleinere Mobile-Karten */
    .Character-SR .character-name-overlay,
    .Character-SSR .character-name-overlay,
    .Character-UR .character-name-overlay,
    .Character-SP .character-name-overlay,
    .Character-R .character-name-overlay,
    .Character-N .character-name-overlay {
        font-size: 0.825rem !important; /* 1.1rem × 0.75 = 0.825rem */
        padding: 9px 3px 6px !important; /* 12px 4px 8px × 0.75 */
        -webkit-text-stroke: 0.225px rgba(0, 0, 0, 0.6) !important; /* 0.3px × 0.75 = 0.225px */
    }

    /* Kleinere Type-Icons für Mobile entfernt - werden nicht mehr angezeigt */

    /* Hover-Effekte für kleinere Mobile-Karten anpassen */
    .Character-SR:hover, .Character-SSR:hover, .Character-UR:hover, .Character-SP:hover, .Character-R:hover, .Character-N:hover {
        transform: scale(1.05) !important;
    }

    /* Mobile Hover für Character Images */
    .Character-SR .character-image:hover, .Character-SSR .character-image:hover, .Character-UR .character-image:hover, .Character-SP .character-image:hover, .Character-R .character-image:hover, .Character-N .character-image:hover {
        filter: contrast(1.1) !important;
    }
}

/* Content container image styling */
.content-container img {
    max-width: 100%;
}



