/* =========================
   STRATEGIES — Boss Cards
========================= */

/* Page layout */
.strWrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 16px 56px;
}

.strHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.strHeader .brand a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}

.strHeader .sigil {
    width: 60px;
    height: 60px;
}

/* ===== TAB NAVIGATION ===== */
.strTabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
    overflow-x: auto;
}

.strTab {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color 120ms ease, border-color 120ms ease;
}

.strTab:hover {
    color: var(--text);
}

.strTab--active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ===== DUNGEON SECTION ===== */
.strSection {
    display: none;
}

.strSection--active {
    display: block;
}

.strDungeon {
    margin-bottom: 40px;
}

.strDungeon__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -.01em;
    background: linear-gradient(135deg, var(--text) 60%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.strDungeon__sub {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .7;
}

/* ===== BOSS CARD GRID ===== */
.strGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* ===== BOSS CARD ===== */
.bossCard {
    background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.bossCard:hover {
    border-color: rgba(185, 140, 255, .35);
    box-shadow: 0 8px 32px rgba(185, 140, 255, .08), 0 2px 8px rgba(0, 0, 0, .2);
    transform: translateY(-2px);
}

.bossCard__name {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.3;
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(135deg, rgba(185, 140, 255, .08), transparent);
    position: relative;
}

.bossCard__name::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent2));
    border-radius: 0 2px 2px 0;
}

/* ===== ABILITY ROW ===== */
.ability {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    transition: background 120ms ease;
}

.ability:last-child {
    border-bottom: none;
}

.ability:hover {
    background: rgba(255, 255, 255, .025);
}

.ability__icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Ability icon color variants */
.ability__icon--purple {
    background: rgba(185, 140, 255, .12);
    border: 1px solid rgba(185, 140, 255, .25);
    color: var(--accent);
}

.ability__icon--cyan {
    background: rgba(102, 247, 255, .10);
    border: 1px solid rgba(102, 247, 255, .20);
    color: var(--accent2);
}

.ability__icon--red {
    background: rgba(255, 100, 100, .10);
    border: 1px solid rgba(255, 100, 100, .20);
    color: #ff6b6b;
}

.ability__icon--gold {
    background: rgba(255, 179, 71, .10);
    border: 1px solid rgba(255, 179, 71, .20);
    color: #ffb347;
}

.ability__info {
    flex: 1;
    min-width: 0;
}

.ability__name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgba(255, 255, 255, .55);
    line-height: 1.3;
    margin-bottom: 3px;
}

.ability__action {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text);
    letter-spacing: .01em;
}

/* ===== RESPONSIVE ===== */

/* Mobile: single column (default) */
@media (max-width: 640px) {
    .strHeader {
        flex-direction: column;
        align-items: flex-start;
    }

    .bossCard__name {
        font-size: 14px;
        padding: 14px 14px 12px;
    }

    .ability {
        padding: 10px 14px;
        gap: 10px;
    }

    .ability__action {
        font-size: 12.5px;
    }
}

/* Tablet: 2 columns */
@media (min-width: 641px) {
    .strGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 2 columns wider, more breathing room */
@media (min-width: 1000px) {
    .strGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Ultrawide: 3 columns for dungeons with 3 bosses */
@media (min-width: 1400px) {
    .strGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}