.brawlers-page{
    max-width: 1140px;
    margin: 0 auto;
}

.brawlers-hero{
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 0 !important;
}

.brawlers-hero-top{
    background: linear-gradient(180deg, #1e3a8a 0%, #020617 100%);
    padding: 28px 18px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.brawlers-hero-title{
    margin: 0 0 10px;
    font-size: 2.4rem;
    line-height: 1.05;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #000;
}
body.light-mode .brawlers-hero-title{
    color: #111827;
    text-shadow: none;
}
.brawlers-hero-text{
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.02rem;
}

.brawlers-hero-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:18px;
}

.section-heading{
    margin: 0 0 14px;
    font-size: 1.75rem;
    line-height: 1.1;
    color: inherit;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.brawlers-summary-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:16px;
}

.brawlers-summary-card{
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background: rgba(255,255,255,.02);
    padding:18px 16px;
    text-align:center;
}

.brawlers-summary-value{
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 6px;
}

.brawlers-summary-label{
    font-size: .92rem;
    opacity: .82;
}

.brawlers-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:18px;
}

.brawler-card{
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background: rgba(255,255,255,.02);
    overflow:hidden;
    height:100%;
}

.brawler-card-media{
    background: linear-gradient(180deg, rgba(125,211,252,.18) 0%, rgba(255,255,255,.02) 100%);
    padding: 20px 20px 10px;
    text-align:center;
}

.brawler-card-image{
    width: 110px;
    height: 110px;
    object-fit: contain;
    display:block;
    margin:0 auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.22));
}

.brawler-card-body{
    padding: 16px;
}

.brawler-card-title{
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 10px;
}

.brawler-card-meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom: 12px;
}

.brawler-card-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 12px;
    border-radius:999px;
    font-size:.76rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
    background: rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.10);
}

.brawler-card-pill.role{
    background: rgba(250,204,21,.12);
    border-color: rgba(250,204,21,.3);
    color: #fde68a;
}

.brawler-card-pill.rarity{
    background: rgba(125,211,252,.12);
    border-color: rgba(125,211,252,.3);
    color: #bae6fd;
}

.brawler-card-text{
    font-size: .97rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.brawlers-empty-note{
    border:1px dashed rgba(255,255,255,.14);
    border-radius:16px;
    background: rgba(255,255,255,.02);
    padding:18px;
}

.brawlers-tools-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:16px;
}

.brawlers-tool-card{
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background: rgba(255,255,255,.02);
    padding:18px 16px;
    height:100%;
}

.brawlers-tool-title{
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.brawlers-tool-text{
    font-size: .96rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

body.light-mode .brawlers-hero-top{
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom-color: #e5e7eb;
}

body.light-mode .brawlers-summary-card,
body.light-mode .brawler-card,
body.light-mode .brawlers-tool-card,
body.light-mode .brawlers-empty-note{
    background:#fff;
    border-color:#e5e7eb;
}

body.light-mode .brawler-card-media{
    background: linear-gradient(180deg, rgba(186,230,253,.28) 0%, rgba(255,255,255,1) 100%);
}

body.light-mode .brawler-card-pill{
    background:#f9fafb;
    border-color:#e5e7eb;
    color:#111827;
}

body.light-mode .brawler-card-pill.role{
    background: rgba(250,204,21,.12);
    border-color: rgba(250,204,21,.3);
    color: #a16207;
}

body.light-mode .brawler-card-pill.rarity{
    background: rgba(125,211,252,.16);
    border-color: rgba(125,211,252,.32);
    color: #0369a1;
}

@media (max-width: 991.98px){
    .brawlers-summary-grid,
    .brawlers-grid,
    .brawlers-tools-grid{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px){
    .brawlers-hero-title{
        font-size: 1.85rem;
    }

    .section-heading{
        font-size: 1.4rem;
    }

    .brawlers-summary-grid,
    .brawlers-grid,
    .brawlers-tools-grid{
        grid-template-columns: 1fr;
    }
}

