body, html {
    margin: 0; padding: 0;
    height: 100%; width: 100%;
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: white; overflow: hidden;
    background: #000;
}

/* Фоновый блок */
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/background.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(4px) brightness(0.6);
    /* Оставляем z-index: -1, чтобы ушел на задний план */
    
    transform: scale(1.1); /* Чтобы убрать белые края от блюра */
}

/* Контейнер с контентом */
.container {
    position: relative; /* Обязательно для работы z-index */
    z-index: 10;       /* Значение выше, чем у фона */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;     /* На всю высоту экрана */
    padding: 40px;
    box-sizing: border-box;
}

header h1 { font-size: 3rem; margin: 0; text-shadow: 0 0 10px rgba(0,255,255,0.5); }

.player-card {
    display: flex; align-items: center; background: rgba(255,255,255,0.1);
    padding: 20px; border-radius: 15px; border-left: 5px solid #00f2fe; width: fit-content;
}

#avatar { border-radius: 50%; width: 80px; height: 80px; margin-right: 20px; border: 2px solid #fff; }

.username { display: block; font-size: 1.5rem; font-weight: bold; color: #00f2fe; }

.status-container { width: 100%; }

.progress-bg {
    width: 100%; height: 10px; background: rgba(255,255,255,0.1);
    border-radius: 5px; margin: 10px 0; overflow: hidden;
}

#progress-bar {
    width: 0%; height: 100%;
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
    transition: width 0.3s ease;
}
