.xp-help-btn {
    font-weight: 700;
    cursor: pointer;
}

.xp-help-popup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    max-width: 360px;
    z-index: 1200;
}

.xp-help-inner {
    background: rgb(60, 10, 101);
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.xp-help-close {
    float: right;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.small-muted {
    font-size: 13px;
    color: #666;
}


.profile-modules {
    display: grid;
    gap: 1.5rem;
}

.module {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00f0ff;
    padding: 1rem;
    border-radius: 0.75rem;
}

.level-progress-wrapper h3,
.module h3 {
    color: #00f0ff;
    margin-bottom: 0.5rem;
}

.level-progress-bar {
    height: 20px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
}

.level-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00f0ff, #00c2ff);
}

.shadow-neon {
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5),
        0 0 20px rgba(0, 255, 255, 0.4);
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #111;
    padding: 2rem;
    border: 1px solid #00f0ff;
    border-radius: 1rem;
    color: #eee;
    position: relative;
    width: 90%;
    max-width: 400px;
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: transparent;
    color: #00f0ff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    background: #00f0ff;
    color: #000;
    padding: 0.5rem;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    margin: 1rem 0;
}

.preview-box img {
    max-width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #00f0ff;
}

.btn-submit {
    background: transparent;
    color: #00f0ff;
    border: 1px solid #00f0ff;
    padding: 0.4rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #00f0ff;
    color: #000;
}

.activity-calendar {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00f0ff;
    border-radius: 1rem;
    padding: 1rem;
    color: #eee;
}

.activity-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #00f0ff;
    font-weight: bold;
    text-shadow: 0 0 6px #00f0ff;
}

.activity-calendar-header button {
    background: transparent;
    border: 1px solid #00f0ff;
    color: #00f0ff;
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.activity-calendar-header button:hover {
    background: #00f0ff;
    color: #000;
    box-shadow: 0 0 10px #00f0ff;
}

#currentMonthLabel {
    font-size: 1.2rem;
}

.activity-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.activity-day {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.7rem 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    font-size: 0.95rem;
    transition: 0.2s;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.activity-day:hover {
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    border-color: #00f0ff;
    box-shadow: 0 0 8px #00f0ff33;
}

.activity-day.active {
    background: linear-gradient(135deg, #00f0ff 0%, #00aaff 100%);
    color: #000;
    font-weight: bold;
    text-shadow: none;
    box-shadow: 0 0 10px #00f0ffaa;
    border: none;
}

.profile-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
    color: #eee;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #00f0ff;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.avatar-section {
    text-align: center;
    margin-bottom: 1rem;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #00f0ff;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.avatar-edit-btn {
    background: transparent;
    color: #00f0ff;
    border: 1px solid #00f0ff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

.avatar-edit-btn:hover {
    background: #00f0ff;
    color: #000;
}

.info-section {
    text-align: center;
}

.username {
    font-size: 1.6rem;
    color: #00f0ff;
    margin-bottom: 0.3rem;
}

.bio {
    color: #ccc;
    font-style: italic;
    margin-bottom: 1rem;
}

.meta {
    font-size: 0.9rem;
    color: #aaa;
}

.badge {
    display: inline-block;
    background: #00f0ff;
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-right: 0.3rem;
    margin-top: 0.3rem;
}

.actions-section .btn {
    margin-top: 1rem;
    background: transparent;
    color: #00f0ff;
    border: 1px solid #00f0ff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: 0.3s;
}

.actions-section .btn:hover {
    background: #00f0ff;
    color: #000;
}

.activity-level-1 { background-color: #0d9488; }
.activity-level-2 { background-color: #06b6d4; }
.activity-level-3 { background-color: #22d3ee; }
.activity-level-4 { background-color: #67e8f9; }