body {
    background-color: #121212;
    color: white;
    font-family: sans-serif;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(345px, 1fr));
    gap: 20px;
}

.section-card {
    background-color: #1e1e2e;
    border-radius: 8px;
    padding: 15px;
    border-bottom: 3px solid #333;
    display: flex;
    flex-direction: column;
}

.section-card-wide {
    grid-column: span 2;
}

.section-header {
    font-weight: bold;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 14px;
}

.card-body {
    display: flex;
    align-items: center;
    gap: 15px;
}

.items-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.item-sprite {
    width: 50px;
    height: 50px;
    image-rendering: pixelated;
    cursor: pointer;
    filter: grayscale(100%) brightness(30%);
    transition: 0.2s;
}

.item-sprite.obtained {
    filter: grayscale(0%) brightness(100%);
}

#progress-bar-container {
    width: 100%;
    max-width: 800px;
    margin: 10px auto;
    height: 12px;
    background-color: #2a2a2a;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #333;
}

#progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #c8a951;
    transition: width 0.4s ease;
}

#progress-label {
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 20px;
}

#tooltip {
    position: fixed;
    background: rgba(10, 10, 20, 0.98);
    color: white;
    padding: 12px;
    border: 1px solid #c8a951;
    border-radius: 8px;
    display: none;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    min-width: 180px;
}

.top-controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

#search-bar {
    padding: 8px;
    background: #1a1a2e;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
}

#reset-btn {
    background: #2a1111;
    color: #ff8888;
    border: 1px solid #442222;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}

.page-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.nav-btn {
    text-decoration: none;
    padding: 10px 20px;
    background: #222;
    color: white;
    border-radius: 8px;
    font-weight: bold;
}