/* ==========================================================================
   🏰 PARAGON-WOW — ENCYCLOPEDIA DE RAIDS & BOSSES (v11.0 HD PANORAMIC)
   ========================================================================== */

.raids-wrapper {
    max-width: 1360px;
    margin: 90px auto 60px;
    padding: 0 24px;
}

/* ==========================================================================
   🌟 HERO SECTION & STATS
   ========================================================================== */

.raids-hero {
    text-align: center;
    padding: 40px 20px 25px;
    margin-bottom: 25px;
    position: relative;
}

.raids-hero-icon {
    font-size: 3.4rem;
    color: var(--gold-bright);
    filter: drop-shadow(0 0 20px var(--gold-glow));
    margin-bottom: 12px;
    display: inline-block;
    animation: pulseIcon 4s infinite ease-in-out;
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px var(--gold-glow)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 30px var(--gold-glow-intense)); }
}

.raids-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 25px var(--gold-glow);
}

.raids-subtitle {
    font-family: var(--font-heading);
    color: #cbd5e1;
    font-size: 1.15rem;
    max-width: 820px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

/* QUICK STATS BAR */
.raid-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    max-width: 1050px;
    margin: 0 auto 35px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(22, 6, 6, 0.85) 0%, rgba(10, 2, 2, 0.90) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.stat-box:hover {
    transform: translateY(-3px);
    border-color: var(--gold-bright);
    box-shadow: 0 10px 25px rgba(226, 183, 20, 0.25);
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--gold-bright);
}

.stat-content h4 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2px;
}

.stat-content p {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FILTER TABS */
.raid-filter-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(22, 7, 7, 0.85);
    border: 1px solid var(--glass-border);
    color: #cbd5e1;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, rgba(226, 183, 20, 0.25) 0%, rgba(255, 140, 0, 0.3) 100%);
    border-color: var(--gold-bright);
    color: #ffffff;
    box-shadow: 0 0 18px var(--gold-glow);
    transform: translateY(-2px);
}

/* ==========================================================================
   🖼️ PANORAMIC RAID SHOWCASE CARDS
   ========================================================================== */

.raid-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.raid-banner-card {
    display: flex;
    background: linear-gradient(135deg, rgba(20, 6, 6, 0.92) 0%, rgba(10, 2, 2, 0.96) 100%);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(14px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.raid-banner-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 30px var(--gold-glow);
}

/* MEDIA & IMAGE CONTAINER */
.raid-media-wrapper {
    width: 46%;
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
}

.raid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.raid-banner-card:hover .raid-img {
    transform: scale(1.06);
}

.raid-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 65%, rgba(10, 2, 2, 0.95) 100%),
                linear-gradient(to top, rgba(10, 2, 2, 0.85) 0%, transparent 40%);
    pointer-events: none;
}

/* BADGES & CONTROLS OVER IMAGE */
.raid-badges-top {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.expansion-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.expansion-tag.wotlk {
    background: rgba(14, 116, 144, 0.85);
    color: #e0f2fe;
    border: 1px solid #38bdf8;
}

.expansion-tag.cataclysm {
    background: rgba(185, 28, 28, 0.85);
    color: #fee2e2;
    border: 1px solid #f87171;
}

.tier-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.75);
    color: var(--gold-bright);
    border: 1px solid rgba(226, 183, 20, 0.5);
    backdrop-filter: blur(6px);
}

/* 8K PANORAMIC EXPAND BUTTON */
.btn-zoom-panoramic {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(10, 2, 2, 0.85);
    border: 1px solid var(--gold-bright);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-family: var(--font-sans);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.btn-zoom-panoramic:hover {
    background: var(--gold-gradient);
    color: #000000;
    box-shadow: 0 0 15px var(--gold-glow-intense);
    transform: translateY(-2px);
}

/* ==========================================================================
   📝 RAID INFORMATION BODY
   ========================================================================== */

.raid-info {
    padding: 32px 36px;
    width: 54%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.raid-header-meta {
    margin-bottom: 14px;
}

.raid-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

.raid-location-badge i {
    color: var(--gold-bright);
}

.raid-title-text {
    font-family: var(--font-heading);
    color: var(--gold-bright);
    font-size: 1.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-shadow: 0 0 12px var(--gold-glow);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.raid-desc-text {
    color: #cbd5e1;
    line-height: 1.65;
    font-size: 0.96rem;
    margin-bottom: 22px;
}

/* PILLS & BADGES */
.raid-meta-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(226, 183, 20, 0.12);
    color: var(--gold-bright);
    border: 1px solid rgba(226, 183, 20, 0.35);
    backdrop-filter: blur(6px);
}

.meta-pill.difficulty {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.45);
}

.meta-pill.loot {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.45);
}

.meta-pill.ilvl {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.45);
}

/* BOSS ACCORDION & TOGGLE */
.raid-bosses-toggle-container {
    border-top: 1px solid rgba(226, 183, 20, 0.2);
    padding-top: 18px;
    margin-top: auto;
}

.btn-toggle-bosses {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #e2b714;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    width: 100%;
    justify-content: space-between;
}

.btn-toggle-bosses:hover {
    background: rgba(226, 183, 20, 0.12);
    border-color: var(--gold-bright);
    color: #ffffff;
}

.btn-toggle-bosses i.toggle-arrow {
    transition: transform 0.3s ease;
}

.btn-toggle-bosses.active i.toggle-arrow {
    transform: rotate(180deg);
}

/* BOSS LIST GRID */
.raid-boss-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(8, 2, 2, 0.6);
    border-radius: 10px;
    margin-top: 12px;
}

.raid-boss-list.open {
    max-height: 450px;
    overflow-y: auto;
    border: 1px solid rgba(226, 183, 20, 0.2);
    padding: 14px;
}

/* CUSTOM SCROLLBAR */
.raid-boss-list::-webkit-scrollbar {
    width: 5px;
}
.raid-boss-list::-webkit-scrollbar-track {
    background: rgba(10, 2, 2, 0.8);
}
.raid-boss-list::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

.boss-wing {
    margin-bottom: 12px;
}

.boss-wing:last-child {
    margin-bottom: 0;
}

.wing-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(226, 183, 20, 0.15);
    padding-bottom: 3px;
}

.wing-bosses {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.boss-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.boss-chip:hover {
    background: rgba(226, 183, 20, 0.2);
    border-color: var(--gold-bright);
    color: #ffffff;
}

.boss-chip.final-boss {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.5);
    color: #fca5a5;
    font-weight: 700;
}

/* ==========================================================================
   🔍 8K PANORAMIC LIGHTBOX MODAL
   ========================================================================== */

.panoramic-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(16px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.panoramic-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content-container {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-panoramic-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 14px;
    border: 2px solid var(--gold-bright);
    box-shadow: 0 0 40px var(--gold-glow);
    object-fit: contain;
}

.modal-caption {
    margin-top: 14px;
    text-align: center;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--gold-glow);
}

.modal-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(220, 38, 38, 0.85);
    border: 1px solid #f87171;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* ==========================================================================
   📱 RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .raid-banner-card {
        flex-direction: column;
    }
    .raid-media-wrapper,
    .raid-info {
        width: 100%;
    }
    .raid-media-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .raids-wrapper {
        margin-top: 80px;
        padding: 0 15px;
    }
    .raid-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .raid-title-text {
        font-size: 1.5rem;
    }
    .raid-info {
        padding: 22px;
    }
}

@media (max-width: 480px) {
    .raid-stats-grid {
        grid-template-columns: 1fr;
    }
    .raid-filter-nav {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}
