/* ================================================
   ARTIST PROFILE PAGE
   ================================================ */

/* ── BREADCRUMB ── */
.breadcrumb { display:flex; align-items:center; gap:0.5rem; font-size:0.9rem; color:var(--text-muted); }
.breadcrumb-link { color:var(--text-muted); transition:var(--transition-fast); }
.breadcrumb-link:hover { color:var(--text-main); }
.breadcrumb-sep { font-size:0.7rem; }
.breadcrumb-cur { color:var(--text-main); font-weight:600; }

/* ── PROFILE HERO ── */
.profile-hero {
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.profile-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 50%, rgba(138,43,226,0.25) 0%, transparent 50%),
        radial-gradient(circle at 75% 30%, rgba(0,210,255,0.15) 0%, transparent 50%);
    opacity: 0.6;
    z-index: 0;
    transition: background-image 0.3s ease;
}
.bg-upload-btn {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0.8rem; border-radius: 8px;
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.15);
    color: #ccc; font-size: 0.72rem; font-weight: 600;
    cursor: pointer; transition: all 0.15s;
    backdrop-filter: blur(4px);
}
.bg-upload-btn:hover { background: rgba(138,43,226,0.4); color: #fff; border-color: rgba(138,43,226,0.5); }
.profile-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

/* ── AVATAR ── */
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar-ring {
    padding: 3px;
    background: linear-gradient(135deg, #8a2be2, #00d2ff, #f820b0);
    border-radius: 50%;
    animation: avatar-spin 4s linear infinite;
}
@keyframes avatar-spin {
    0% { background: linear-gradient(135deg, #8a2be2, #00d2ff, #f820b0); }
    50% { background: linear-gradient(135deg, #f820b0, #8a2be2, #00d2ff); }
    100% { background: linear-gradient(135deg, #8a2be2, #00d2ff, #f820b0); }
}
.profile-avatar-big {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    display: block;
    object-fit: cover;
}
.avatar-upload-btn {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    border: 2px solid var(--bg-dark);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    white-space: nowrap;
    z-index: 2;
}
.avatar-upload-btn:hover { background: #7b21cc; transform: translateX(-50%) scale(1.05); }

/* ── IDENTITY ── */
.profile-identity { flex: 1; min-width: 200px; }
.profile-level-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0,210,255,0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(0,210,255,0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.profile-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #a0a5b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.profile-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-tag {
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}
.profile-tag:hover { background: rgba(138,43,226,0.15); border-color: rgba(138,43,226,0.4); cursor: default; }

/* ── LOCALE BADGES ── */
.profile-locale {
    display: flex; gap: 0.5rem; margin-bottom: 0.8rem; flex-wrap: wrap;
}
.locale-badge {
    padding: 0.25rem 0.7rem; border-radius: 16px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.78rem; color: #d1d5db;
    display: inline-flex; align-items: center; gap: 0.3rem;
}

/* ── QUICK STATS ── */
.profile-quick-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 1.2rem 2rem;
    flex-shrink: 0;
}
.quick-stat { text-align: center; }
.quick-stat-val {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}
.quick-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; }
.quick-stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* ── 3-COLUMN GRID ── */
.profile-grid {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 1.5rem;
    align-items: start;
}
.profile-panel {
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
}
.panel-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-main);
}
.panel-title i { color: var(--primary-color); }

/* ── ROADMAP TIMELINE ── */
.roadmap-timeline { display: flex; flex-direction: column; gap: 0; }
.roadmap-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
    position: relative;
}
.roadmap-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}
.roadmap-step.active-step::before { background: linear-gradient(to bottom, var(--primary-color), transparent); }
.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    z-index: 1;
}
.dot-done { background: rgba(0,255,136,0.15); border: 2px solid var(--accent-green); color: var(--accent-green); }
.dot-active { background: var(--grad-primary); border: 2px solid var(--primary-color); color: white; animation: pulse-step 2s infinite; }
.dot-locked { background: rgba(255,255,255,0.05); border: 2px solid var(--glass-border); color: var(--text-muted); }
@keyframes pulse-step { 0%,100% { box-shadow: 0 0 0 0 rgba(138,43,226,0.4); } 50% { box-shadow: 0 0 0 8px transparent; } }
.step-info { flex: 1; }
.step-name { font-size: 0.9rem; font-weight: 700; }
.step-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; line-height: 1.4; }
.step-progress { margin-top: 0.5rem; }

/* ── PROGRESS BARS ── */
.progress-bars-grid { display: flex; flex-direction: column; gap: 1.2rem; }
.prog-item {}
.prog-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.prog-label { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.prog-label i { font-size: 0.8rem; }
.prog-pct { font-size: 0.85rem; font-weight: 700; }
.prog-bar-track { width: 100%; height: 8px; background: rgba(255,255,255,0.07); border-radius: 4px; overflow: hidden; }
.prog-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fill-blue { background: linear-gradient(to right, #3a7bd5, #00d2ff); }
.fill-green { background: linear-gradient(to right, #00cf70, #00ff88); }
.fill-pink { background: linear-gradient(to right, #f820b0, #fa709a); }
.fill-purple { background: linear-gradient(to right, #4a00e0, #8a2be2); }
.fill-orange { background: linear-gradient(to right, #f6d365, #fda085); }

/* ── ACTIVITY FEED ── */
.activity-feed { display: flex; flex-direction: column; gap: 0.8rem; }
.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition-fast);
}
.activity-item:hover { background: rgba(255,255,255,0.06); }
.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.ai-edu { background: rgba(0,210,255,0.15); color: var(--accent-blue); }
.ai-prod { background: rgba(248,32,176,0.15); color: var(--accent-pink); }
.ai-create { background: rgba(246,211,101,0.15); color: #f6d365; }
.ai-visual { background: rgba(0,255,136,0.15); color: var(--accent-green); }
.activity-info { flex: 1; }
.activity-title { font-size: 0.88rem; font-weight: 600; }
.activity-meta { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.15rem; }
.activity-score {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-green);
}

/* ── ACHIEVEMENTS ── */
.achievements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.achievement-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--border-radius-sm);
    padding: 1rem 0.8rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.achievement-card.earned {
    border-color: rgba(138,43,226,0.3);
    background: rgba(138,43,226,0.08);
}
.achievement-card.earned::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(138,43,226,0.2), transparent 70%);
}
.achievement-card:hover { transform: translateY(-3px); }
.achievement-icon-wrap { font-size: 1.8rem; margin-bottom: 0.5rem; filter: grayscale(1); opacity: 0.4; position:relative; }
.achievement-card.earned .achievement-icon-wrap { filter: none; opacity: 1; }
.achievement-name { font-size: 0.78rem; font-weight: 700; position:relative; }
.achievement-desc { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; position:relative; }
.achievement-locked-tag {
    font-size: 0.65rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    margin-top: 0.3rem;
    display: inline-block;
    position:relative;
}

/* ── PORTFOLIO ── */
.portfolio-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.portfolio-header .panel-title { margin-bottom: 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.portfolio-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: rgba(138,43,226,0.4); }
.portfolio-thumb {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
}
.portfolio-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}
.portfolio-card:hover .portfolio-thumb-overlay { opacity: 1; }
.portfolio-info { padding: 0.8rem; }
.portfolio-title { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; }
.portfolio-meta { font-size: 0.75rem; color: var(--text-muted); }
.portfolio-add-card {
    background: transparent;
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 180px;
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition-fast);
}
.portfolio-add-card:hover { border-color: var(--primary-color); color: var(--primary-color); background: rgba(138,43,226,0.05); }
.portfolio-add-card i { font-size: 1.5rem; }

/* ── MODAL ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: none; /* Removed blur entirely as requested */
}
.modal-overlay.open { display: flex; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.modal-box {
    width: 520px;
    max-width: 95vw;
    border-radius: var(--border-radius-lg);
    padding: 0;
    overflow: hidden;
    background: #12141c;
    border: 1px solid rgba(255,255,255,0.08);
    position: absolute; /* Changed to absolute for dragging */
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    cursor: move; /* Indicate draggable */
    user-select: none;
}
.modal-header h3 { font-size: 1.1rem; }
.modal-body { 
    padding: 1.5rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
    max-height: 70vh; 
    overflow-y: auto; 
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--glass-border); display: flex; gap: 1rem; justify-content: flex-end; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.form-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: var(--font-body);
    width: 100%;
    transition: var(--transition-fast);
}
.form-input:focus { outline: none; border-color: rgba(138,43,226,0.6); background: rgba(138,43,226,0.05); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-select { appearance: none; cursor: pointer; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label i { margin-right: 0.3rem; opacity: 0.7; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ── AVATAR SELECTOR ── */
.avatar-tabs { display: flex; gap: 0.8rem; margin-bottom: 1.5rem; justify-content: center; }
.avatar-tab { 
    background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid transparent; 
    padding: 0.5rem 1.2rem; border-radius: 20px; cursor: pointer; transition: all 0.2s; font-size: 0.85rem; font-weight: 600; 
}
.avatar-tab:hover { background: rgba(255,255,255,0.1); color: white; }
.avatar-tab.active { background: rgba(138,43,226,0.15); color: #fff; border-color: rgba(138,43,226,0.5); }
.avatar-grid { 
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; 
    max-height: 40vh; overflow-y: auto; padding: 0.5rem; 
}
.avatar-grid::-webkit-scrollbar { width: 6px; }
.avatar-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.avatar-preset-item { 
    position: relative; cursor: pointer; border-radius: 50%; border: 3px solid transparent; 
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1); overflow: hidden; background: rgba(0,0,0,0.2);
}
.avatar-preset-item:hover { border-color: var(--primary-color); transform: scale(1.08); box-shadow: 0 4px 15px rgba(138,43,226,0.4); }
.avatar-preset-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 50%; }

.social-connect-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 320px;
    backdrop-filter: blur(10px);
}
.connect-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.social-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}
.social-btn-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.5rem;
    position: relative;
    cursor: pointer;
}
.social-btn-big span {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.7;
    text-transform: uppercase;
}
.social-btn-big:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
}
.social-btn-big.inactive {
    filter: grayscale(1);
    opacity: 0.3;
}
.social-btn-big.inactive:hover {
    filter: grayscale(0);
    opacity: 0.8;
}

.mini-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 20, 28, 0.4);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}
.mini-stat-item {
    text-align: center;
}
.mini-stat-num {
    font-size: 1.1rem;
    font-weight: 800;
    display: block;
}
.mini-stat-lab {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 0 1rem;
}
.input-icon {
    width: 25px;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
}
.form-input-group .form-input {
    border: none;
    background: transparent;
}
.form-input-group:focus-within {
    border-color: rgba(138,43,226,0.6);
    background: rgba(138,43,226,0.05);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(18,20,28,0.95);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 1rem 2rem;
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* Range Sliders */
.form-range {
    -webkit-appearance: none;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    outline: none;
    margin: 10px 0;
}
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(138,43,226,0.5);
    border: 2px solid white;
}

/* ── ANNOUNCEMENT BANNER ── */
.announcement-banner {
    position: relative;
    background: linear-gradient(90deg, #8a2be2, #00d2ff, #8a2be2);
    background-size: 200% auto;
    animation: gradientShift 4s linear infinite;
    padding: 10px 0;
    overflow: hidden;
    color: white;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}
.marquee-container {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}
.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
@keyframes marquee {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.announcement-banner:hover .marquee-text {
    animation-play-state: paused;
}
