body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('img/dq_map.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.dq-box {
    background-color: rgba(5, 12, 10, 0.9);
    position: relative;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 4px solid transparent;
    background-clip: padding-box;
}

.dq-box::before {
    content: '';
    position: absolute;
    top: -4px; bottom: -4px; left: -4px; right: -4px;
    z-index: -1;
    border-radius: 12px;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 30%, #00ffd8 70%, #00ff87 100%);
    box-shadow: 0 0 15px rgba(0, 255, 216, 0.4);
}

.game-container {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.col-gauche, .col-droite {
    flex: 1;
    display: flex;
    flex-direction: column;
}

h2 {
    margin-top: 0;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 2px dashed #00ffd8;
    padding-bottom: 10px;
    color: #00ffd8;
    text-shadow: 0 0 5px rgba(0, 255, 216, 0.3);
}

.zone-slime {
    text-align: center;
    padding: 20px 0;
}

.slime-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.05s ease-in-out;
    filter: drop-shadow(0 10px 15px rgba(0, 255, 216, 0.2));
}
.slime-img:active { transform: scale(0.92); }

button {
    background-color: #031410;
    color: #00ff87;
    border: 2px solid #00ffd8;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
    text-transform: uppercase;
    transition: all 0.2s;
}

button:hover:not(:disabled) {
    background-color: #00ffd8;
    color: #031410;
    box-shadow: 0 0 10px rgba(0, 255, 216, 0.6);
}

button:disabled {
    border-color: #22443d;
    color: #22443d;
    background-color: #020a08;
    cursor: not-allowed;
}

.btn-prestige {
    background-color: #3a0007;
    border-color: #ff3366;
    color: #ff3366;
}
.btn-prestige:hover {
    background-color: #ff3366;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.6);
}

/* Grille du sac / boutique d'objets */
.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #22443d;
}
.item-info { flex: 2; }
.item-info em { font-size: 0.8rem; color: #aaa; display: block; }
.item-action { flex: 1; text-align: right; }

.active-buff {
    color: #ffcc00;
    font-size: 0.85rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.bestiaire-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.bestiaire-item { width: 90px; text-align: center; font-size: 0.75rem; }
.bestiaire-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #22443d;
    border-radius: 8px;
    padding: 5px;
}
.bestiaire-item.inconnu img { filter: brightness(0); }
.bestiaire-item.decouvert img { border-color: #00ff87; }
