/* Player Area and Level System Styles */

.player-level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 8px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.level-progress-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
    border: 1px solid var(--border);
}

.level-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    width: 0%;
    transition: width 0.5s ease;
    box-shadow: 0 0 15px rgba(124, 111, 247, 0.4);
}

.player-area-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    max-height: 80vh;
    overflow-y: auto;
}

.player-profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.player-profile-avatar {
    font-size: 3rem;
    background: var(--surface);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

.xp-label {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.task-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--muted);
    flex-shrink: 0;
}

.task-item.completed .task-status {
    background: var(--success);
    border-color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.task-item.completed .task-status::after {
    content: '✓';
    color: #000;
    font-weight: 900;
    font-size: 0.9rem;
}

.task-info {
    flex: 1;
}

.task-title {
    font-weight: 700;
    font-size: 1rem;
}

.task-reward {
    font-size: 0.8rem;
    color: #FFD700;
    font-weight: 700;
}

.challenge-progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.challenge-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    width: 0%;
    transition: width 0.4s ease;
}

.challenge-status-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
}
