/**
 * Midnight Expansion - Dungeons Module Styles
 */

.dungeons-module {
    color: #f8fafc;
}

.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.seasonal-column {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.seasonal-column.blue-glow {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

.seasonal-column.gold-glow {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
}

.seasonal-column h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.seasonal-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seasonal-column li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.seasonal-column li:last-child {
    border-bottom: none;
}

/* Dungeon Selector */
.dungeon-selector-wrapper {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
}

.glass-select {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    min-width: 300px;
    transition: all 0.3s ease;
}

.glass-select:focus {
    border-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

/* Detail Card & Layout */
.dungeon-detail-card {
    min-height: 400px;
    padding: 2.5rem !important;
}

.dungeon-top-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.previews-area {
    display: flex;
    gap: 1.5rem;
}

.location-preview {
    width: 320px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dungeon-title-area h3 {
    font-size: 2.5rem;
    margin-top: 0;
    color: #10b981;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.dungeon-meta p {
    margin: 0.4rem 0;
    font-size: 1.05rem;
}

.mythic-specs {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: #94a3b8;
}

.mythic-specs strong {
    color: #10b981;
}

.dungeon-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.mode-pill {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.location-preview {
    width: 350px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.loc-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.loc-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Dungeon Main Content */
.map-and-bosses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

@media (min-width: 1200px) {
    .map-and-bosses {
        grid-template-columns: 450px 1fr;
    }
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #000;
}

.dungeon-map-img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-container:hover .dungeon-map-img {
    transform: scale(1.08);
}

.map-overlay-tip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    text-align: center;
    font-size: 0.8rem;
    color: #94a3b8;
    pointer-events: none;
}

/* Boss Details */
.boss-details-section h4 {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #10b981;
    padding-left: 1rem;
}

.boss-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.boss-detail-card {
    background: rgba(30, 41, 59, 0.4);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.boss-title {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.boss-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.boss-title h5 {
    margin: 0;
    font-size: 1.3rem;
    color: #10b981;
    line-height: 1.2;
}

.boss-desc {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.boss-mech {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.role-tips {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tip-row {
    font-size: 0.9rem;
    padding-left: 32px;
    position: relative;
    line-height: 1.4;
}

.role-icon {
    position: absolute;
    left: 0;
    font-size: 18px;
}

.role-icon.dps {
    color: #f87171;
}

.role-icon.heal {
    color: #4ade80;
}

.role-icon.tank {
    color: #60a5fa;
}

/* Loot Table */
.loot-section h4 {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #fbbf24;
    padding-left: 1rem;
}

.scroll-table-container {
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.loot-table {
    width: 100%;
    border-collapse: collapse;
}

.loot-table th {
    text-align: left;
    padding: 15px;
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    font-weight: 600;
}

.loot-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.loot-table tr:last-child td {
    border-bottom: none;
}

/* Bonus Section */
.bonus-section h4 {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #a855f7;
    padding-left: 1rem;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bonus-item {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bonus-item.housing {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    grid-column: span 2;
}

.decor-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}

.enlargeable {
    cursor: zoom-in;
}

@media (max-width: 992px) {
    .dungeon-top-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .location-preview {
        width: 100%;
        max-width: 500px;
    }

    .dungeon-modes {
        justify-content: center;
    }

    .mythic-specs {
        justify-content: center;
    }
}