/* Profile View */
.profile-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    padding: 20px;
    gap: 16px;
    margin-bottom: 24px;
}

.avatar-container {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent-color), #818cf8);
    flex-shrink: 0;
    margin: 0;
}

#user-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-color);
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#user-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

#user-username {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.stat-item svg {
    color: var(--accent-color);
}

.stat-item.private-stat svg {
    color: var(--star-active);
}

.stat-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-divider {
    color: var(--glass-border);
    font-size: 14px;
}

.blur-value {
    filter: blur(8px);
    transition: 0.3s;
    user-select: none;
    pointer-events: none;
}

#count-stars {
    user-select: none;
}

/* Profile Top Actions */
.profile-actions-top {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.action-icon-btn {
    background: transparent !important;
    border: none !important;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
    /* Added for tooltip anchoring */
}

.coming-soon-hint {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--accent-color);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 100;
    margin-top: 4px;
}

.coming-soon-hint.show {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}

.action-icon-btn img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    /* Makes the icons white */
}

.action-icon-btn:active {
    transform: scale(0.92);
}

/* Shop View */
.shop-container {
    padding: 10px;
    animation: fadeIn 0.4s ease;
}

.shop-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.shop-back-btn {
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
}

.shop-header h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.shop-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.shop-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.shop-card:active {
    transform: scale(0.96);
    border-color: var(--accent-color);
}

.shop-card img {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
}

.shop-card-amount {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.shop-card-amount span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.shop-card-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
}

.shop-card-badge {
    position: absolute;
    top: -8px;
    background: var(--star-active);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 8px;
}