/* Container-Setup */
.archiv-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.archiv-header {
    text-align: left; /* Passend zur PHP-Änderung */
    margin-bottom: 50px;
}

.archiv-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 75, 43, 0.3);
    margin-bottom: 10px;
}

.archiv-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* Grid-Layout */
.archiv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Card-Styling */
.archiv-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.archiv-card:hover {
    transform: translateY(-10px);
    border-color: #ff4b2b; /* Dein Akzent-Rot */
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Typografie innerhalb der Card */
.league-year {
    font-size: 0.9rem;
    color: #ff4b2b;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 10px;
    display: block;
    opacity: 0.8;
}

.archiv-card-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
}

/* Statistiken */
.archiv-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.archiv-stats i {
    color: #ff4b2b;
    margin-right: 5px;
}

/* Footer-Bereich */
.archiv-card-footer {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: #ff4b2b;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s;
}

.archiv-card:hover .archiv-card-footer {
    background: rgba(255, 75, 43, 0.1);
}

/* Logo-Animationen */
.league-logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.league-logo-preview img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease, filter 0.4s ease;
    /* Der störende schwarze Rahmen wurde entfernt */
}

.archiv-card:hover .league-logo-preview img {
    transform: scale(1.15) rotate(2deg);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
}

/* Responsivität */
@media (max-width: 768px) {
    .archiv-grid {
        grid-template-columns: 1fr;
    }
    .archiv-header h1 {
        font-size: 2rem;
    }
}