/* ============================================================
   World Boss Timer — Styles
   ============================================================ */

.world-bosses {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.world-bosses__title {
    text-align: center;
    font-size: 2rem;
    color: var(--gold, #c4a24e);
    margin: 0 0 0.25rem;
}

.world-bosses__subtitle {
    text-align: center;
    color: var(--text-muted, #7a7870);
    margin: 0 0 2rem;
    font-size: 0.95rem;
}

/* ── Hero Section (Current/Next Boss) ────────────────────── */

.wb-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--panel-bg, #13151a);
    border: 1px solid var(--border-primary, #2a2a35);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.wb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(232, 194, 82, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.wb-hero__icon-wrap {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--border-primary, #2a2a35);
    overflow: hidden;
    background: #0d0d12;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wb-hero--active .wb-hero__icon-wrap {
    border-color: #e8c252;
    box-shadow: 0 0 20px rgba(232, 194, 82, 0.3);
}

.wb-hero__icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wb-hero__info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.wb-hero__status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}

.wb-hero__status--active {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.wb-hero__status--pending {
    background: rgba(232, 194, 82, 0.15);
    color: #e8c252;
    border: 1px solid rgba(232, 194, 82, 0.25);
}

.wb-hero__status--waiting {
    background: rgba(122, 120, 112, 0.15);
    color: var(--text-muted, #7a7870);
    border: 1px solid rgba(122, 120, 112, 0.2);
}

.wb-hero__name {
    font-size: 1.5rem;
    color: var(--text-primary, #e0ddd5);
    margin: 0 0 0.25rem;
}

.wb-hero__timer {
    font-size: 2.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #e8c252;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.wb-hero--active .wb-hero__timer {
    color: #4caf50;
}

.wb-hero__progress-wrap {
    width: 100%;
    height: 4px;
    background: var(--border-primary, #2a2a35);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.4rem;
}

.wb-hero__progress-bar {
    height: 100%;
    background: #e8c252;
    border-radius: 2px;
    transition: width 1s linear;
    width: 0%;
}

.wb-hero--active .wb-hero__progress-bar {
    background: #4caf50;
}

.wb-hero__meta {
    font-size: 0.8rem;
    color: var(--text-muted, #7a7870);
}

/* ── Notify Button ───────────────────────────────────────── */

.wb-notify {
    text-align: center;
    margin-bottom: 2rem;
}

.wb-notify__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    background: transparent;
    color: var(--text-muted, #7a7870);
    border: 1px solid var(--border-primary, #2a2a35);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.wb-notify__btn:hover {
    border-color: #e8c252;
    color: #e8c252;
}

.wb-notify__btn--enabled {
    border-color: #4caf50;
    color: #4caf50;
}

/* ── Upcoming Schedule ───────────────────────────────────── */

.wb-schedule {
    margin-bottom: 2.5rem;
}

.wb-schedule__heading,
.wb-bosses__heading {
    font-size: 1.1rem;
    color: var(--text-primary, #e0ddd5);
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-primary, #2a2a35);
}

.wb-schedule__list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wb-schedule__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: var(--panel-bg, #13151a);
    border: 1px solid var(--border-primary, #2a2a35);
    border-radius: 8px;
    font-size: 0.85rem;
}

.wb-schedule__item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.wb-schedule__item-name {
    flex: 1;
    color: var(--text-primary, #e0ddd5);
    font-weight: 500;
}

.wb-schedule__item-time {
    color: var(--text-muted, #7a7870);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.wb-schedule__item-countdown {
    color: #e8c252;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    min-width: 60px;
    text-align: right;
}

/* ── Boss Info Cards ─────────────────────────────────────── */

.wb-bosses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.wb-boss-card {
    background: var(--panel-bg, #13151a);
    border: 1px solid var(--border-primary, #2a2a35);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    transition: border-color 0.2s;
}

.wb-boss-card:hover {
    border-color: #e8c252;
}

.wb-boss-card__icon {
    display: block;
    margin: 0 auto 0.75rem;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    border: 2px solid var(--border-primary, #2a2a35);
}

.wb-boss-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #e0ddd5);
    margin: 0 0 0.25rem;
}

.wb-boss-card__desc {
    font-size: 0.78rem;
    color: var(--text-muted, #7a7870);
    line-height: 1.4;
}

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 600px) {
    .wb-hero {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 1rem;
    }

    .wb-hero__icon-wrap {
        width: 80px;
        height: 80px;
    }

    .wb-hero__timer {
        font-size: 1.8rem;
    }

    .wb-bosses__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wb-schedule__item-time {
        display: none;
    }
}
