/* ── Page shell ─────────────────────────────────────── */
#teams-content {
    min-height: 100vh;
    width: 80vw;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 80px;
    gap: 32px;
}

/* ── Header ─────────────────────────────────────────── */
#teams-header {
    width: 100%;
    padding: 48px 0 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* ── Leaderboard link button ─────────────────────────── */
.leaderboard-link {
    height: 34px;
    padding: 0 18px;
    background: transparent;
    color: rgba(255,255,255,0.45);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    font-family: "Archimoto V01 Black", sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 150ms, border-color 150ms;
}

.leaderboard-link:hover { color: white; border-color: rgba(255,255,255,0.4); }

/* ── Team grid ───────────────────────────────────────── */
#team-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.team-card {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: background-color 150ms, border-color 150ms;
}

.team-card:hover { background-color: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
.team-card img   { height: 72px; width: 72px; object-fit: contain; }

.team-card-name { font-family: "Archimoto V01 Black", sans-serif; font-size: 13px; letter-spacing: 2px; color: white; text-align: center; }
.team-card-uni  { font-family: "Archimoto V01", sans-serif; font-size: 13px; color: rgba(255,255,255,0.35); text-align: center; }

/* ── Responsive ──────────────────────────────────────── */
@media screen and (max-width: 1024px) {
    #teams-content { width: 95%; }
}

@media screen and (max-width: 768px) {
    #teams-content { width: 100%; padding: 0 16px; box-sizing: border-box; }
    #page-header   { padding: 24px 0 20px; }
}

@media screen and (max-width: 480px) {
    #teams-content { padding-bottom: 100px; }
}
