:root {
    /* Edmonton Oilers */
    --oil-blue: #041E42;
    --oil-orange: #ff4c00;

    /* Montreal Canadiens */
    --hab-red: #af1e2d;
    --hab-blue: #001e62;

    --surface: #ffffff;
    --surface-muted: #f5f5f7;
    --text-main: #111827;
    --text-muted: #6b7280;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text-main);
    background: radial-gradient(circle at top, var(--hab-red) 0, var(--oil-blue) 55%, #000 100%);
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: linear-gradient(90deg, var(--hab-red), var(--oil-blue));
    color: #fff;
}

.badge-league {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .9;
}

.brand-pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: .2rem .75rem;
    font-size: .8rem;
    backdrop-filter: blur(3px);
}

.main-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.38);
    padding: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .main-card {
        padding: 2.25rem;
    }
}

.nav-link.active {
    font-weight: 600;
}

.team-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    border: none;
}

.team-header {
    padding: 1rem 1.25rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team-header .team-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-header .team-sub {
    font-size: .8rem;
    opacity: .85;
}

.team-header.canadians {
    background: linear-gradient(135deg, var(--hab-red), var(--hab-blue));
}

.team-header.oilers {
    background: linear-gradient(135deg, var(--oil-blue), var(--oil-orange));
}

.team-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.role-title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-muted);
    margin-bottom: .25rem;
}

.player-pill {
    background: var(--surface-muted);
    border-radius: 999px;
    padding: .3rem .85rem;
    font-size: .9rem;
    margin: .15rem .35rem .15rem 0;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.player-pill .dot-def {
    width: .5rem;
    height: .5rem;
    border-radius: 999px;
    background: var(--hab-blue);
}

.player-pill .dot-fwd {
    width: .5rem;
    height: .5rem;
    border-radius: 999px;
    background: var(--oil-orange);
}

.team-meta {
    font-size: .8rem;
    color: var(--text-muted);
}

.btn-generate {
    border-radius: 999px;
    font-weight: 600;
    padding-inline: 1.6rem;
    border-width: 0;
    background: linear-gradient(135deg, var(--oil-orange), #ff9440);
}

.btn-generate:focus,
.btn-generate:hover {
    background: linear-gradient(135deg, #ff9440, var(--oil-orange));
}

.badge-count {
    font-size: .75rem;
    background: rgba(15, 23, 42, .06);
}

.hint-text {
    font-size: .8rem;
    color: var(--text-muted);
}
