.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.team-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c41e3a, #d4a017);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.25);
    border-color: rgba(196, 30, 58, 0.5);
}

.team-card:hover::before {
    opacity: 1;
}

.team-badge-placeholder {
    width: 160px;
    height: 160px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-badge-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #d4a017;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px;
}

.team-venue {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-top: auto;
}

@media (max-width: 480px) {
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .team-card {
        padding: 20px;
    }
}