/* Dungeon-specific styles */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* ===== SEARCH BOX STYLES ===== */
.search-box {
    margin-bottom: 2rem;
    position: relative;
}

.search-box::after {
    content: "🔍";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #577B8D;
}

#dungeonSearch {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #344C64;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(52, 76, 100, 0.3);
    color: #e0e0e0;
}

#dungeonSearch:focus {
    border-color: #57A6A1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 166, 161, 0.2);
}

#dungeonSearch::placeholder {
    color: #577B8D;
}

/* ===== BRACKETS & DUNGEON STYLES ===== */
.brackets-container {
    display: grid;
    flex-direction: column;
    gap: 2rem;
}

.bracket {
    background: rgba(52, 76, 100, 0.6);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(87, 123, 141, 0.3);
}

.bracket-header {
    background: linear-gradient(to right, #344C64, #240750);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bracket-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.bracket-count {
    background-color: #57A6A1;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.bracket-content {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 1rem;
}

.bracket-image {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(36, 7, 80, 0.3);
}

.bracket-image-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(87, 123, 141, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #577B8D;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    border: 2px dashed #577B8D;
}

.dungeons-list {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.dungeon-item {
    background: rgba(36, 7, 80, 0.4);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid #344C64;
    cursor: pointer;
}

.dungeon-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #57A6A1;
    background: rgba(36, 7, 80, 0.6);
}

.dungeon-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
}

.dungeon-level {
    color: #57A6A1;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .bracket-content {
        grid-template-columns: 1fr;
    }
    
    .bracket-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .dungeons-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .bracket-title {
        font-size: 1.3rem;
    }
    
    .bracket-image-placeholder {
        width: 150px;
        height: 150px;
    }
}