.captains-main-container {
    width: 95%;
    margin: 32px auto;
    font-family: 'Montserrat', sans-serif;
}
.captains-overlay {
    background: rgba(0,0,0,0.7);
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.managers-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
    text-align: left;
}
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}
.team-card {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    padding: 0 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    border-left: 6px solid #0d47a1;
    position: relative;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s ease forwards;
    overflow: hidden;
    min-height: 400px;
}
.card-content {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: none;
    }
}
.team-card:hover {
    box-shadow: 0 12px 36px rgba(13,71,161,0.22), 0 2px 12px rgba(0,0,0,0.13);
    transform: translateY(-6px) scale(1.025);
    transition: box-shadow 0.2s, transform 0.2s;
    border-left: 6px solid #1976d2;
}
.team-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    align-self: center;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1);
}
.team-logo:hover {
    transform: scale(1.15);
}
.team-name {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 1px;
}
.gm-info {
    font-size: 1.05rem;
    color: #d1ebf8;
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gm-info a, .gm-email-icon {
    color: #d1ebf8;
    font-size: 1.5em;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.15s, color 0.2s;
}
.gm-info a:hover {
    /* background: rgba(25,118,210,0.18); */
    color: #1976d2;
    transform: scale(1.18);
}
.arena-name {
    font-size: 1.01rem;
    color: #b0bec5;
    margin-bottom: 12px;
    font-weight: 400;
}
.ahl-footer {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border-radius: 0 0 12px 12px;
    padding: 12px 0 10px 0;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.ahl-affiliation {
    font-size: 1.05rem;
    color: #d1ebf8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.farm-logo {
    height: 36px;
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 6px;
    padding: 2px 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.18s cubic-bezier(.4,2,.6,1);
}
.farm-logo:hover {
    transform: scale(1.15);
}
.team-name, .gm-info, .arena-name, .ahl-footer {
    text-align: center;
    width: 100%;
}
.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    border-radius: 12px;
    pointer-events: none;
}
.team-card > .card-content, .team-card > .ahl-footer, .team-card > .team-banner {
    position: relative;
    z-index: 2;
}
.team-card { position: relative; }
.team-card { background-blend-mode: multiply; }
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: inherit;
    opacity: 0.18;
    z-index: 0;
    border-radius: 12px;
    pointer-events: none;
}
.team-banner {
    width: 100%;
    height: 80px;
    background-position: right center !important;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-color: #e3e3e3;
    border-radius: 12px 12px 0 0;
    margin: 0;
}
.arena-section {
    position: relative;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.arena-section .arena-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 1;
    border-radius: 8px;
}
.arena-section .arena-name {
    position: relative;
    z-index: 2;
    font-size: 1.01rem;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
.team-name a {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: inherit;
    letter-spacing: 1px;
    transition: color 0.18s, text-shadow 0.18s;
}
.team-name a:hover {
    color: #d1ebf8;
    text-shadow: 0 2px 8px rgba(13,71,161,0.18);
    text-decoration: underline;
}
.gm-hire-date {
    font-size: 0.98rem;
    color: #b0bec5;
    margin-top: 2px;
    font-weight: 400;
    text-align: center;
    width: 100%;
}
.gm-badge {
    display: inline-block;
    font-size: 1.05em;
    margin-top: 4px;
    color: #ffd700;
    font-weight: 700;
    letter-spacing: 0.5px;
}
@media (max-width: 700px) {
    .captains-overlay { padding: 16px 4px; }
    .teams-grid { gap: 12px; }
    .team-card { padding: 10px 0 0 0; }
    .card-content { padding: 0 2vw; }
    .team-logo { width: 48px; height: 48px; }
    .team-name { font-size: 1rem; }
    .gm-info a { font-size: 2em; padding: 16px; }
    .farm-logo { height: 44px; }
    .ahl-footer, .arena-section, .card-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
} 