body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

#container {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    align-items: flex-end;
}

.addiction-bar {
    width: 250px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(120%);
    opacity: 0;
}

.addiction-bar.show {
    transform: translateX(0);
    opacity: 1;
}

.label-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
}

.label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.percentage {
    color: #00d4ff;
    font-size: 13px;
    font-weight: 700;
}

.progress-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00d4ff 0%, #0072ff 100%);
    border-radius: 4px;
    transition: width 0.8s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Specific colors for different drugs can be added via JS */
.bar-weed .progress-fill {
    background: linear-gradient(90deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}
.bar-weed .percentage { color: #2ecc71; }

.bar-coke .progress-fill {
    background: linear-gradient(90deg, #f5f5f5 0%, #bdc3c7 100%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.bar-coke .percentage { color: #f5f5f5; }
